Every app that charges money eventually needs to send an invoice. The usual path is: pick a PDF library, design a layout, fight with page breaks, then maintain it forever. This post shows a shorter route: describe the invoice as JSON, get a PDF back.
Source: [Dev.to](https://dev.to/stanlisma/generate-an-invoice-pdf-from-json-in-nodejs-no-templates-no-puppeteer-setup-572k)