Skip to content

A python script to aid in the creation of employee tax returns. The organization, based in Kenya, commissioned its creation so as to save its accountants from manual and repetitive work.

Notifications You must be signed in to change notification settings

Kirera-Wainaina/mea-tax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mea-tax

About the project

This project came about as result of manual and repetitive work. An accountant friend of mine was tasked with creating tax files for employees in the organization.

It all starts from a base file that contains all the records of the employees. It has the salaries and chargeable taxes per month, their identification information such as names, pins and id. This base file is reference in the code as 'records.xlsx'. I can't share it for confidential reasons.

How it works

I used python to make the script. It has a package, Openpyxl, which is great for manipulating excel documents.

Using Openpyxl, I retrieved the employee data from records.xlsx. I then created each employee's file from a template. I then added the data into the file.

When this is done, I used headless Libreoffice to convert the xlsx files to pdf format.

All of this is in main.py.

Other Information

Prior versions of this program did not incorporate tests. As an engineer, it is important to test your code. Turns out it is an important antidote to anxiety. You are certain your code will do what it is supposed to do. Check out the test file for the tests.

'Ancora imparo'

About

A python script to aid in the creation of employee tax returns. The organization, based in Kenya, commissioned its creation so as to save its accountants from manual and repetitive work.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages