
210 × 297 mm
Invoices
Bold brand invoice
A confident, colourful A4 invoice for studios and product companies: a brand-coloured hero with the amount due, brand colours you set from data, itemised EN 16931 lines, VAT, a pay-by-link QR code and the same data embedded as ZUGFeRD / Factur-X EN 16931 XML.
Opens Dynamic Document API with this template preloaded in a free workspace.
Generating this from your own data? See the Invoice PDF API.
Template language features
- Loops
- Conditionals
- Macros
- Filters
- Currency formatting
- Date formatting
- Number formatting
- QR code
- Repeating table headers
- Header & footer
- Page numbers
Filters such as format_currency and qrcode are described in the template language reference.
Variables
Derived from the sample data: 5 top-level fields, 70 paths in total. Send the same shape as data.
| Path | Type | Example |
|---|---|---|
| invoice | object | |
| invoice.number | string | "FQ-2026-0419" |
| invoice.issue_date | date | "2026-09-18" |
| invoice.due_date | date | "2026-10-18" |
| invoice.currency | string | "EUR" |
| invoice.buyer_reference | string | "LNF-APP-2026" |
| invoice.order_reference | string | "PO-40277" |
| invoice.payment_terms | string | "Net 30 days" |
| invoice.delivery | object | |
| invoice.delivery.date | date | "2026-09-16" |
| invoice.seller | object | |
| invoice.seller.name | string | "Ferrow & Quay Studio Ltd" |
| invoice.seller.trading_name | string | "Ferrow & Quay" |
| invoice.seller.vat_id | string | "IE1234567FA" |
| invoice.seller.legal_registration | object | |
| invoice.seller.legal_registration.id | string | "700419" |
| invoice.seller.electronic_address | object | |
| invoice.seller.electronic_address.id | string | "accounts@ferrowquay.example.com" |
| invoice.seller.electronic_address.scheme | string | "EM" |
| invoice.seller.address | object | |
| invoice.seller.address.line1 | string | "Studio 3, The Ropeworks" |
| invoice.seller.address.line2 | string | "14 Marsh Quay Lane" |
| invoice.seller.address.city | string | "Cork" |
| invoice.seller.address.postcode | string | "T12 X7Q4" |
| invoice.seller.address.country | string | "IE" |
| invoice.seller.contact | object | |
| invoice.seller.contact.name | string | "Studio accounts" |
| invoice.seller.contact.email | string | "accounts@ferrowquay.example.com" |
| invoice.buyer | object | |
| invoice.buyer.name | string | "Lanternfield Health DAC" |
| invoice.buyer.vat_id | string | "IE7654321KA" |
| invoice.buyer.electronic_address | object | |
| invoice.buyer.electronic_address.id | string | "payables@lanternfield.example.com" |
| invoice.buyer.electronic_address.scheme | string | "EM" |
| invoice.buyer.address | object | |
| invoice.buyer.address.line1 | string | "Level 4, Weavers Hall" |
| invoice.buyer.address.line2 | string | "61 Canal Terrace" |
| invoice.buyer.address.city | string | "Dublin" |
| invoice.buyer.address.postcode | string | "D08 R2Y6" |
| invoice.buyer.address.country | string | "IE" |
| invoice.buyer.contact | object | |
| invoice.buyer.contact.name | string | "Niamh Corrigan" |
| invoice.payment | object | |
| invoice.payment.means_code | string | "58" |
| invoice.payment.remittance_information | string | "FQ-2026-0419" |
| invoice.payment.credit_transfers | array<object> · 1 | |
| invoice.payment.credit_transfers[].account_id | string | "IE00EXMP99000012345678" |
| invoice.payment.credit_transfers[].account_name | string | "Ferrow & Quay Studio Ltd" |
| invoice.payment.credit_transfers[].bic | string | "EXMPIE2D" |
| invoice.lines | array<object> · 6 | |
| invoice.lines[].quantity | string | "5" |
| invoice.lines[].unit | string | "DAY" |
| invoice.lines[].price | object | |
| invoice.lines[].price.net | string | "1150.00" |
| invoice.lines[].tax | object | |
| invoice.lines[].tax.category | string | "S" |
| invoice.lines[].tax.rate | string | "23" |
| invoice.lines[].item | object | |
| invoice.lines[].item.name | string | "Product design sprint" |
| invoice.lines[].item.description | string | "Workshops, journey maps and a tested concept" |
| invoice.notes | array<object> · 2 | |
| invoice.notes[].text | string | "Thank you for building the Lanternfield patien…" |
| brand | object | |
| brand.tagline | string | "Product design & engineering" |
| brand.primary | string | "#2b1a3d" |
| brand.accent | string | "#ff8a5c" |
| brand.accent_text | string | "#2b1a3d" |
| website | string | "ferrowquay.example.com" |
| bank_name | string | "Harbourline Bank" |
| payment_link | string | "https://pay.example.com/i/FQ-2026-0419" |
Render it with the API
After adding the template to your workspace, render it by ID and pass your data. Arrays are shortened here.
curl -X POST https://api-eu.dynamicdocumentapi.com/v1/renders \
-H "Authorization: Bearer $DYNAMIC_DOCUMENT_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
},
"data": {
"invoice": {
"number": "FQ-2026-0419",
"issue_date": "2026-09-18",
"due_date": "2026-10-18",
"currency": "EUR",
"buyer_reference": "LNF-APP-2026",
"order_reference": "PO-40277",
"payment_terms": "Net 30 days",
"delivery": {
"date": "2026-09-16"
},
"seller": {
"name": "Ferrow & Quay Studio Ltd",
"trading_name": "Ferrow & Quay",
"vat_id": "IE1234567FA",
"legal_registration": {
"id": "700419"
},
"electronic_address": {
"id": "accounts@ferrowquay.example.com",
"scheme": "EM"
},
"address": {
"line1": "Studio 3, The Ropeworks",
"line2": "14 Marsh Quay Lane",
"city": "Cork",
"postcode": "T12 X7Q4",
"country": "IE"
},
"contact": {
"name": "Studio accounts",
"email": "accounts@ferrowquay.example.com"
}
},
"buyer": {
"name": "Lanternfield Health DAC",
"vat_id": "IE7654321KA",
"electronic_address": {
"id": "payables@lanternfield.example.com",
"scheme": "EM"
},
"address": {
"line1": "Level 4, Weavers Hall",
"line2": "61 Canal Terrace",
"city": "Dublin",
"postcode": "D08 R2Y6",
"country": "IE"
},
"contact": {
"name": "Niamh Corrigan"
}
},
"payment": {
"means_code": "58",
"remittance_information": "FQ-2026-0419",
"credit_transfers": [
{
"account_id": "IE00EXMP99000012345678",
"account_name": "Ferrow & Quay Studio Ltd",
"bic": "EXMPIE2D"
}
]
},
"lines": [
{
"quantity": "5",
"unit": "DAY",
"price": {
"net": "1150.00"
},
"tax": {
"category": "S",
"rate": "23"
},
"item": {
"name": "Product design sprint",
"description": "Workshops, journey maps and a tested concept"
}
},
{
"quantity": "24",
"unit": "C62",
"price": {
"net": "265.00"
},
"tax": {
"category": "S",
"rate": "23"
},
"item": {
"name": "App UI screens",
"description": "High-fidelity iOS and Android, light and dark"
}
}
],
"notes": [
{
"text": "Thank you for building the Lanternfield patient app with us."
},
{
"text": "Questions about this invoice? Write to accounts@ferrowquay.example.com."
}
]
},
"brand": {
"tagline": "Product design & engineering",
"primary": "#2b1a3d",
"accent": "#ff8a5c",
"accent_text": "#2b1a3d"
},
"website": "ferrowquay.example.com",
"bank_name": "Harbourline Bank",
"payment_link": "https://pay.example.com/i/FQ-2026-0419"
},
"output": {
"format": "pdf",
"filename": "invoice-bold-brand.pdf"
}
}'const response = await fetch("https://api-eu.dynamicdocumentapi.com/v1/renders", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.DYNAMIC_DOCUMENT_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
},
"data": {
"invoice": {
"number": "FQ-2026-0419",
"issue_date": "2026-09-18",
"due_date": "2026-10-18",
"currency": "EUR",
"buyer_reference": "LNF-APP-2026",
"order_reference": "PO-40277",
"payment_terms": "Net 30 days",
"delivery": {
"date": "2026-09-16"
},
"seller": {
"name": "Ferrow & Quay Studio Ltd",
"trading_name": "Ferrow & Quay",
"vat_id": "IE1234567FA",
"legal_registration": {
"id": "700419"
},
"electronic_address": {
"id": "accounts@ferrowquay.example.com",
"scheme": "EM"
},
"address": {
"line1": "Studio 3, The Ropeworks",
"line2": "14 Marsh Quay Lane",
"city": "Cork",
"postcode": "T12 X7Q4",
"country": "IE"
},
"contact": {
"name": "Studio accounts",
"email": "accounts@ferrowquay.example.com"
}
},
"buyer": {
"name": "Lanternfield Health DAC",
"vat_id": "IE7654321KA",
"electronic_address": {
"id": "payables@lanternfield.example.com",
"scheme": "EM"
},
"address": {
"line1": "Level 4, Weavers Hall",
"line2": "61 Canal Terrace",
"city": "Dublin",
"postcode": "D08 R2Y6",
"country": "IE"
},
"contact": {
"name": "Niamh Corrigan"
}
},
"payment": {
"means_code": "58",
"remittance_information": "FQ-2026-0419",
"credit_transfers": [
{
"account_id": "IE00EXMP99000012345678",
"account_name": "Ferrow & Quay Studio Ltd",
"bic": "EXMPIE2D"
}
]
},
"lines": [
{
"quantity": "5",
"unit": "DAY",
"price": {
"net": "1150.00"
},
"tax": {
"category": "S",
"rate": "23"
},
"item": {
"name": "Product design sprint",
"description": "Workshops, journey maps and a tested concept"
}
},
{
"quantity": "24",
"unit": "C62",
"price": {
"net": "265.00"
},
"tax": {
"category": "S",
"rate": "23"
},
"item": {
"name": "App UI screens",
"description": "High-fidelity iOS and Android, light and dark"
}
}
],
"notes": [
{
"text": "Thank you for building the Lanternfield patient app with us."
},
{
"text": "Questions about this invoice? Write to accounts@ferrowquay.example.com."
}
]
},
"brand": {
"tagline": "Product design & engineering",
"primary": "#2b1a3d",
"accent": "#ff8a5c",
"accent_text": "#2b1a3d"
},
"website": "ferrowquay.example.com",
"bank_name": "Harbourline Bank",
"payment_link": "https://pay.example.com/i/FQ-2026-0419"
},
"output": {
"format": "pdf",
"filename": "invoice-bold-brand.pdf"
}
}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const result = await response.json();
console.log(result);import os
import uuid
import requests
response = requests.post(
"https://api-eu.dynamicdocumentapi.com/v1/renders",
headers={
"Authorization": f"Bearer {os.environ['DYNAMIC_DOCUMENT_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C",
},
"data": {
"invoice": {
"number": "FQ-2026-0419",
"issue_date": "2026-09-18",
"due_date": "2026-10-18",
"currency": "EUR",
"buyer_reference": "LNF-APP-2026",
"order_reference": "PO-40277",
"payment_terms": "Net 30 days",
"delivery": {
"date": "2026-09-16",
},
"seller": {
"name": "Ferrow & Quay Studio Ltd",
"trading_name": "Ferrow & Quay",
"vat_id": "IE1234567FA",
"legal_registration": {
"id": "700419",
},
"electronic_address": {
"id": "accounts@ferrowquay.example.com",
"scheme": "EM",
},
"address": {
"line1": "Studio 3, The Ropeworks",
"line2": "14 Marsh Quay Lane",
"city": "Cork",
"postcode": "T12 X7Q4",
"country": "IE",
},
"contact": {
"name": "Studio accounts",
"email": "accounts@ferrowquay.example.com",
},
},
"buyer": {
"name": "Lanternfield Health DAC",
"vat_id": "IE7654321KA",
"electronic_address": {
"id": "payables@lanternfield.example.com",
"scheme": "EM",
},
"address": {
"line1": "Level 4, Weavers Hall",
"line2": "61 Canal Terrace",
"city": "Dublin",
"postcode": "D08 R2Y6",
"country": "IE",
},
"contact": {
"name": "Niamh Corrigan",
},
},
"payment": {
"means_code": "58",
"remittance_information": "FQ-2026-0419",
"credit_transfers": [
{
"account_id": "IE00EXMP99000012345678",
"account_name": "Ferrow & Quay Studio Ltd",
"bic": "EXMPIE2D",
},
],
},
"lines": [
{
"quantity": "5",
"unit": "DAY",
"price": {
"net": "1150.00",
},
"tax": {
"category": "S",
"rate": "23",
},
"item": {
"name": "Product design sprint",
"description": "Workshops, journey maps and a tested concept",
},
},
{
"quantity": "24",
"unit": "C62",
"price": {
"net": "265.00",
},
"tax": {
"category": "S",
"rate": "23",
},
"item": {
"name": "App UI screens",
"description": "High-fidelity iOS and Android, light and dark",
},
},
],
"notes": [
{
"text": "Thank you for building the Lanternfield patient app with us.",
},
{
"text": "Questions about this invoice? Write to accounts@ferrowquay.example.com.",
},
],
},
"brand": {
"tagline": "Product design & engineering",
"primary": "#2b1a3d",
"accent": "#ff8a5c",
"accent_text": "#2b1a3d",
},
"website": "ferrowquay.example.com",
"bank_name": "Harbourline Bank",
"payment_link": "https://pay.example.com/i/FQ-2026-0419",
},
"output": {
"format": "pdf",
"filename": "invoice-bold-brand.pdf",
},
},
timeout=90,
)
response.raise_for_status()
print(response.json())More invoices templates

E-Rechnung (ZUGFeRD / XRechnung)
A4A German A4 invoice rendered straight from the EN 16931 invoice model, so the same data produces the visible invoice and the embedded Factur-X / ZUGFeRD or XRechnung XML (output.einvoice.invoice_path = "invoice"). It prints the engine's computed amounts, lists VAT per rate, the Leitweg-ID and the bank details.

EU reverse-charge invoice
A4An A4 invoice for cross-border B2B services within the EU, rendered from the EN 16931 invoice model: both VAT IDs, the date of supply, VAT category AE (reverse charge) with its exemption reason and notice, the total in words, bank transfer details and the same data embedded as ZUGFeRD / Factur-X EN 16931 XML.

Freelancer invoice
A4A friendly A4 invoice for freelancers, easy to edit visually: a wordmark heading, bill-to and project details, service lines, VAT totals, bank details with a pay-by-link QR code, a personal thank-you note and page numbers. Embeds ZUGFeRD / Factur-X EN 16931 XML.