Shotmint›PDF templates›Invoices›Classic invoice
Classic invoice rendered PDF preview
210 × 297 mm · 1 page · Portrait · 108 KB sample PDF — rendered with Shotmint Chromium

Classic invoice

A clean A4 invoice: seller and client blocks, line items with a detail line, taxes, discount, payment details and a paid / due badge.

Invoices A4 Portrait Multi-pageTaxesBadgePage numbers

About this template

  • Line items repeat their header on every page; the footer names the invoice and counts pages
  • Any number of tax lines, an optional discount and purchase-order number
  • Paid or due badge from one true/false field
  • Accent colour from brand.color

Template specifications

CategoryInvoices
Page sizeA4 (210 × 297 mm)
OrientationPortrait
Template engineHandlebars (HTML + print CSS, Chromium renderer)
Gallery JSONGET /v1/templates/gallery/invoice-classic (public, no key needed)
Sample PDFDownload invoice-classic.pdf (108 KB)

How to use this template

Copy invoice-classic 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.

REST API (cURL)

# 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-classic","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-classic.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-classic.

AI agents & MCP (Claude, Cursor, custom agents)

// 1. Copy & publish from the gallery
create_template_draft({ "gallery": "invoice-classic", "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).

More PDF templates

Automate your invoices with the Shotmint PDF API

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.