Templates / Receipt, invoice and document
Receipt template
A one-page PDF receipt with lines, total and a reference. 794 × 1123 px, as a PDF.
Try it
Loading the template…
Fields
| Name | Type | Shows now |
|---|---|---|
shop | Text | Example Coffee Co. |
shop_info | Text | 1 High Street, York YO1 · VAT GB123456789 |
ref | Text | No. 004218 |
date | Text | 31 Oct 2026, 09:42 |
items | Text | Flat white Almond croissant Oat milk Filter coffee, large |
prices | Text | £3.40 £3.10 £0.40 £2.90 |
total | Text | £9.80 |
paid | Text | Paid by card ending 4242 |
thanks | Text | Thank you. See you soon. |
Use it with the API
Press "Use this template". After you sign in, the editor opens a copy in your workspace.
Publish it. Its id replaces
YOUR_TEMPLATE_IDbelow.Send your values:
curl -X POST https://mintrender.com/v1/render \ -H "Authorization: Bearer $MINTRENDER_KEY" \ -H "Content-Type: application/json" \ -d '{ "template": "YOUR_TEMPLATE_ID", "data": { "shop": "Example Coffee Co.", "shop_info": "1 High Street, York YO1 · VAT GB123456789", "ref": "No. 004218", "date": "31 Oct 2026, 09:42", "items": "Flat white\nAlmond croissant\nOat milk\nFilter coffee, large", "prices": "£3.40\n£3.10\n£0.40\n£2.90", "total": "£9.80", "paid": "Paid by card ending 4242", "thanks": "Thank you. See you soon." }, "format": "pdf"}'Signed link
Put a link like this in an image tag or an og:image tag. Your server signs it with the link key of your workspace. We make the image the first time someone opens the link. How to sign links.
https://img.mintrender.com/YOUR_TEMPLATE_ID/main.pdf?shop=Example%20Coffee%20Co.&shop_info=1%20High%20Street%2C%20York%20YO1%20%C2%B7%20VAT%20GB123456789&ref=No.%20004218&s=SIGNATUREn8n and Make
Download the n8n workflow: in n8n, paste it on the canvas, then add your API key as a header credential (Authorization: Bearer mr_live_…).
In Make, add the HTTP module "Make a request": method POST, URL https://mintrender.com/v1/render, a header Authorization with Bearer and your key, body type Raw, content type JSON, and this body:
{ "template": "YOUR_TEMPLATE_ID", "data": { "shop": "Example Coffee Co.", "shop_info": "1 High Street, York YO1 · VAT GB123456789", "ref": "No. 004218", "date": "31 Oct 2026, 09:42", "items": "Flat white\nAlmond croissant\nOat milk\nFilter coffee, large", "prices": "£3.40\n£3.10\n£0.40\n£2.90", "total": "£9.80", "paid": "Paid by card ending 4242", "thanks": "Thank you. See you soon." }, "format": "pdf"}