docs

Invoice

A one-page A4 invoice: seller block in the header, a bill-to block, invoice metadata, line items with currency:"EUR" and percent:1 columns, a subtotal from totals, then VAT and total due. The VAT/total block and the notes are anchored under the table, so they move down as the list of line items grows, onto the next page if needed. The PAID stamp only appears when invoice.paid is true (visibleIf).

liuska render -t examples/invoice/template.json -d examples/invoice/data.json -o invoice.pdf

To generate one invoice per record, use liuska batch -t examples/invoice/template.json -d invoices.ndjson -o out/ --name "{{invoice.number}}.pdf".