Loading DocuJSON
Loading templates
built-in · Invoice · Letter portrait
Professional invoices in seconds
five designs, one json body
base · Fraunces + Inter Tightuse this design →
the docujson house design: serif titles, clean tables, KPI cards, navy accents.
what's inside
the sections of the document, in reading order.
the json body
5 keysevery key the document reads. send this shape, get the pdf.
invoiceNumberstringUnique invoice IDcompanyobjectYour company detailsoptionalclientobjectClient detailsitemsarrayLine itemstotalnumberFinal totaloptionalbuilt-in logic
This template's structure does the work: computed totals. Send the JSON; the engine lays it out in any of the five designs.
configurable outputs · pro
proSet these once per template, in the workspace, no code. Every request then lays out by the rules you chose: the same data, a different document.
what this template can change
Tax label
Tax mode
Changes the maths: tax on top of the subtotal, folded into it, or left out.
Payment instructions
on every template
the same data, three ways
generate it from your code
This template is built in: call it with templateId "invoice-basic".
curl -X POST https://api.docujson.com/v1/generate \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "templateId": "invoice-basic", "data": { ... } }'also: the `generate_pdf` tool on mcp.docujson.com, from Claude, Cursor or your own agent.
questions, answered
your basic invoice, from json, in one call.
free to start. you land on this template when you sign up.
use this template →