maaslalani / invoice

Command line invoice generator
MIT License
1.83k stars 79 forks source link

Invoice Templating #15

Open raguay opened 1 year ago

raguay commented 1 year ago

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.

fhirter commented 1 month ago

This would also be nice to be able to create invoices for other languages than english