InvoicePDFs
Notes on getting invoices right
Tax rules, numbering, PDF rendering, and the bugs we found in our own money engine — written up in full, with the arithmetic.
Building an HTML invoice template that prints right
Print CSS is not web CSS. The page rules, repeating headers and page-break control that decide whether a multi-page invoice looks professional.
An invoice JSON schema: the fields you actually need
What belongs in an invoice payload, which fields are legally required, and the one data-type decision that quietly corrupts totals if you get it wrong.
Validate invoice data before you send the invoice
Catching a bad quantity at write time costs nothing. Catching it at render time costs a customer conversation. How a validation endpoint fits your pipeline.
Mapping QuickBooks invoice JSON to your own PDF
The QuickBooks Online invoice object, field by field, and how to turn it into a document that matches your own branding rather than Intuit's.
Generating your own branded PDF from a Stripe invoice
Stripe hosts an invoice PDF you cannot restyle. Here is how to map the invoice object to your own template, and the amount fields to watch.