maaslalani / invoice

Command line invoice generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invoice Templating

raguay opened this issue · comments

Some customers want their invoices in a specific way (some showing taxes while others don't want taxes shown-not even the column for it even though it says 0 or is blank). Therefore, by specifying a template for the invoice and using a template engine to fill in the template and then convert the template to PDF. The idea way would allow HTML template file on the command line with the -template flag, fill in the various fields, and then convert the HTML to PDF.

I use this approach to generate reports from JSON data files.