An A4 invoice that ends with a payment slip: bank details, a SEPA transfer QR code that banking apps scan, and a pay-online QR code for your card payment link.
| Category | Invoices |
|---|---|
| Page size | A4 (210 × 297 mm) |
| Orientation | Portrait |
| Template engine | Handlebars (HTML + print CSS, Chromium renderer) |
| Built-in helpers | qr, epc (SEPA GiroCode) (inline SVG, no external scripts) |
| Gallery JSON | GET /v1/templates/gallery/invoice-payment (public, no key needed) |
| Sample PDF | Download invoice-payment.pdf (129 KB) |
Copy invoice-payment to your Shotmint key (free) and render PDFs with your own JSON data (1 credit per PDF). Get a free key with curl -X POST https://shotmint.creasework.com/v1/keys/free — 25 free renders every month, no signup, no card.
# 1. Copy the template to your key and publish v1 (free)
TPL=$(curl -s -X POST https://shotmint.creasework.com/v1/templates \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"gallery":"invoice-payment","publish":true}' | node -e "console.log(JSON.parse(require('fs').readFileSync(0,'utf8')).id)")
# 2. Render a PDF with your JSON data (1 credit)
curl -X POST https://shotmint.creasework.com/v1/pdf \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d "{\"template_id\":\"$TPL\"}" -o invoice-payment.pdf
Pass your own template_data JSON object in step 2 (omit it to render with the built-in sample data). Inspect every field in GET /v1/templates/gallery/invoice-payment.
// 1. Copy & publish from the gallery
create_template_draft({ "gallery": "invoice-payment", "publish": true })
// 2. Render with your JSON payload
render_pdf({ "template_id": "<returned id>", "template_data": { ... } })
Connect to https://shotmint.creasework.com/mcp (streamable HTTP) and call get_template_contract or list_gallery_templates without a key. MCP setup guide · Authoring contract (JSON).
Copy any invoice design to your API key in one call, pass your order JSON to POST /v1/pdf, and get a print-ready PDF back. Free key in one call: POST https://shotmint.creasework.com/v1/keys/free. Prepaid packs: €5 for 2,000 renders, €19 for 10,000, €59 for 50,000 — credits never expire, no subscription.