Invoices & PDF documents
Generate invoices and PDFs from a template
Turn structured data into pixel-perfect invoices, receipts and reports — line items, totals and branding rendered server-side, every time, without a headless browser to babysit.
100 renders / month free · no card · overage billed, never blockedNorthwind Co.INVOICE #2049
Design retainer$1,200
Render credits$340
Support$160
Total due$1,700.00
How it works
1
Lay out the document
Define the header, line-item table and totals as a template with repeatable rows.
2
Send the line items
POST the customer, items and amounts as JSON — the engine handles pagination and layout.
3
Get a PDF back
Receive a print-ready PDF in seconds, cached and ready to attach, store or download.
One API call
curl https://api.mostlyrender.com/v1/renders \
-H "Authorization: Bearer mr_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"templateId":"tpl_invoice","modifications":{"customer":"Northwind Co.","number":"2049","total":"$1,700.00"}}'Questions
Why not run Puppeteer myself for PDFs?
You can — until you're maintaining fonts, a browser farm, retries and a queue. MostlyRender is that pipeline as an API, with predictable latency and a cache.
Do multi-page documents work?
Yes — repeatable rows and page breaks are handled by the template, so long invoices and reports paginate cleanly.