MintRender

Templates / Receipt, invoice and document

Receipt template

A one-page PDF receipt with lines, total and a reference. 794 × 1123 px, as a PDF.

Loading the template…

Fields

NameTypeShows now
shopTextExample Coffee Co.
shop_infoText1 High Street, York YO1 · VAT GB123456789
refTextNo. 004218
dateText31 Oct 2026, 09:42
itemsTextFlat white Almond croissant Oat milk Filter coffee, large
pricesText£3.40 £3.10 £0.40 £2.90
totalText£9.80
paidTextPaid by card ending 4242
thanksTextThank you. See you soon.

Use it with the API

  1. Press "Use this template". After you sign in, the editor opens a copy in your workspace.

  2. Publish it. Its id replaces YOUR_TEMPLATE_ID below.

  3. 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=SIGNATURE

n8n 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"}