Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

A script that will generate a PDF from Toggl.com API. Easy to automate from CRON or use from the Command Line Interface. Following Flask App Factory Pattern and 12 Factor App best practices. All configuration can be accomplished through Environment Variables.

License

Notifications You must be signed in to change notification settings

jbcurtin/toggl-invoice-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invoice Generator using Toggl.com API

A script that will generate a PDF from Toggl.com API. Easy to automate from CRON or use from the Command Line Interface. Following Flask App Factory Pattern and 12 Factor App best practices. All configuration can be accomplished through Environment Variables.

Having a script to automate generation of bills helps reduce time and improve efficiency in communication. Using this tool, you'll be able to send bills once a month without much thought as long as you continue to enter your hours diligently throughout the month.

Quickstart

pip3 install toggl-invoice-generator
toggl-invoice-generator -g
source dev.sh
toggl-invoice-generator -o month

Functionality Breakdown

Logical Type ENVVar Names
Service Provider SERVICE_PROVIDER, SERVICE_PROVIDER_EMAIL, SERVICE_PROVIDER_PHONE, SERVICE_PROVIDER_ADDRESS, SERVICE_PROVIDER_ADDRESS_TWO, SERVICE_PROVIDER_CITY, SERVICE_PROVIDER_STATE, SERVICE_PROVIDER_POSTAL
Recipient RECIPIENT, RECIPIENT_EMAIL, RECIPIENT_PHONE, RECIPIENT_ADDRESS, RECIPIENT_ADDRESS_TWO, RECIPIENT_CITY, RECIPIENT_STATE, RECIPIENT_POSTAL
Misc FULFILLMENT_DELAY, INVOICE_NUMBER

About

A script that will generate a PDF from Toggl.com API. Easy to automate from CRON or use from the Command Line Interface. Following Flask App Factory Pattern and 12 Factor App best practices. All configuration can be accomplished through Environment Variables.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published