Guides
How to get good PDFs out of HTML, with code you can copy.
- 01
Factur-X and ZUGFeRD e-invoices from JSON
Create EN 16931 e-invoices (PDF/A-3 with the XML embedded) in one API call, with VAT categories, profiles and how to validate the result.
6 min read
- 02
HTML to PDF in Node.js
Convert HTML to PDF from Node.js with Playwright or an HTTP API, serve it from Express, and avoid the usual production problems.
7 min read
- 03
Generate invoices as PDF from JSON
Keep one HTML invoice template, send JSON per order, and get a correct, printable PDF back. Examples in curl and Python.
6 min read
- 04
Headers, footers and page numbers in HTML-to-PDF
Add running headers, “Page X of Y” footers and repeating table headers to PDFs generated from HTML with Chromium.
5 min read