fastbill-timesheet is a Python script to create monthly pdf timesheets based on your fastbill time tracking.
Use the package manager pip to install requirements (requests, reportlab).
pip install -r requirements.txt
export API_USER=[fastbill email] API_KEY=[api-key]
python fastbill_timesheet.py [internal_project_id] [year-month]
export API_USER=your@email.com API_KEY=yourapikeynotyourpasswordcheckfastbillsettings
# last month
python fastbill_timesheet.py 123456
# specific month
python fastbill_timesheet.py 123456 2022-02
Use the fastbill api or go into the fastbill webfrontend, open your browser inspector and select your project.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Erwan Martin / ZeWaren - How to write a table into a PDF using Python and Reportlab