Skip to content

ilopez5/invoice-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generic badge

Invoice Generator

For ZipBooks Users

This is a quick way to generate an invoice using ZipBooks API. It of course requires usage of ZipBooks for logging hours, and depends pdflatex as well as my Python progress bar spout. The invoice template included is can be found here (with appropriate credit given).

Usage:

Put your ZipBooks credentials in a file of your choice and specify a directory in which you intend on storing your invoices. This is necessary so that the script can count how many invoices exist and determine the new invoice number. Additionally, modify invoice.tex to have your payer and payee information.

Credentials File Syntax

Like most .env files, syntax looks like so:

ZIP_EMAIL=<zipbooks-email>
ZIP_PASSWORD=<zipbooks-password>

The name of the variable is not important, as only the right side of the '=' sign is parsed.

Example

python3 invoice.py <filename>.env <archive-directory>

asciicast

About

A ZipBooks Invoice Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published