
210 × 297 mm
Invoices
EU reverse-charge invoice
An 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.
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
- 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: 4 top-level fields, 68 paths in total. Send the same shape as data.
| Path | Type | Example |
|---|---|---|
| invoice | object | |
| invoice.number | string | "SLS-2026-0412" |
| invoice.issue_date | date | "2026-09-04" |
| invoice.due_date | date | "2026-10-04" |
| invoice.currency | string | "EUR" |
| invoice.buyer_reference | string | "PO 4500-2291" |
| invoice.payment_terms | string | "Payment within 30 days of the invoice date by …" |
| invoice.delivery | object | |
| invoice.delivery.date | date | "2026-08-31" |
| invoice.seller | object | |
| invoice.seller.name | string | "Saltmarsh Language Services Ltd" |
| invoice.seller.trading_name | string | "Saltmarsh Language Services" |
| invoice.seller.vat_id | string | "IE1234567T" |
| invoice.seller.legal_registration | object | |
| invoice.seller.legal_registration.id | string | "123456" |
| invoice.seller.legal_info | string | "Registered in Ireland, company no. 123456" |
| invoice.seller.electronic_address | object | |
| invoice.seller.electronic_address.id | string | "accounts@saltmarsh.example.com" |
| invoice.seller.electronic_address.scheme | string | "EM" |
| invoice.seller.address | object | |
| invoice.seller.address.line1 | string | "Unit 7, Claddagh Quay Business Park" |
| invoice.seller.address.city | string | "Galway" |
| invoice.seller.address.postcode | string | "H91 X2Y3" |
| invoice.seller.address.country | string | "IE" |
| invoice.seller.contact | object | |
| invoice.seller.contact.name | string | "Accounts" |
| invoice.seller.contact.email | string | "accounts@saltmarsh.example.com" |
| invoice.buyer | object | |
| invoice.buyer.name | string | "Lindgrün Gartenmöbel GmbH" |
| invoice.buyer.vat_id | string | "DE123456789" |
| invoice.buyer.electronic_address | object | |
| invoice.buyer.electronic_address.id | string | "rechnungen@lindgruen.example.com" |
| invoice.buyer.electronic_address.scheme | string | "EM" |
| invoice.buyer.address | object | |
| invoice.buyer.address.line1 | string | "Hafenstraße 12" |
| invoice.buyer.address.city | string | "Hamburg" |
| invoice.buyer.address.postcode | string | "20457" |
| invoice.buyer.address.country | string | "DE" |
| invoice.buyer.contact | object | |
| invoice.buyer.contact.name | string | "Katrin Vogelsang, Marketing & E-Commerce" |
| invoice.payment | object | |
| invoice.payment.means_code | string | "58" |
| invoice.payment.remittance_information | string | "SLS-2026-0412" |
| invoice.payment.credit_transfers | array<object> · 1 | |
| invoice.payment.credit_transfers[].account_id | string | "IE74EXMP99000012345678" |
| invoice.payment.credit_transfers[].account_name | string | "Saltmarsh Language Services Ltd" |
| invoice.payment.credit_transfers[].bic | string | "EXMPIE2D" |
| invoice.vat_exemptions | object | |
| invoice.vat_exemptions.AE | object | |
| invoice.vat_exemptions.AE.reason | string | "Reverse charge (Article 196, Council Directive…" |
| invoice.vat_exemptions.AE.reason_code | string | "VATEX-EU-AE" |
| invoice.lines | array<object> · 6 | |
| invoice.lines[].quantity | string | "18400" |
| invoice.lines[].unit | string | "D68" |
| invoice.lines[].price | object | |
| invoice.lines[].price.net | string | "0.12" |
| invoice.lines[].tax | object | |
| invoice.lines[].tax.category | string | "AE" |
| invoice.lines[].tax.rate | string | "0" |
| invoice.lines[].item | object | |
| invoice.lines[].item.name | string | "Product catalogue translation, German to Engli…" |
| invoice.lines[].item.description | string | "Autumn/winter range, 412 product pages" |
| invoice.notes | array<object> · 2 | |
| invoice.notes[].text | string | "Supply of services to a business customer esta…" |
| invoice.notes[].subject_code? | string | "TXD" |
| services | string | "Translation · Localisation · Typesetting" |
| website | string | "saltmarsh.example.com" |
| bank_name | string | "Corrib Mutual Bank" |
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": "SLS-2026-0412",
"issue_date": "2026-09-04",
"due_date": "2026-10-04",
"currency": "EUR",
"buyer_reference": "PO 4500-2291",
"payment_terms": "Payment within 30 days of the invoice date by SEPA credit transfer. Bank charges on international transfers are paid by the sender.",
"delivery": {
"date": "2026-08-31"
},
"seller": {
"name": "Saltmarsh Language Services Ltd",
"trading_name": "Saltmarsh Language Services",
"vat_id": "IE1234567T",
"legal_registration": {
"id": "123456"
},
"legal_info": "Registered in Ireland, company no. 123456",
"electronic_address": {
"id": "accounts@saltmarsh.example.com",
"scheme": "EM"
},
"address": {
"line1": "Unit 7, Claddagh Quay Business Park",
"city": "Galway",
"postcode": "H91 X2Y3",
"country": "IE"
},
"contact": {
"name": "Accounts",
"email": "accounts@saltmarsh.example.com"
}
},
"buyer": {
"name": "Lindgrün Gartenmöbel GmbH",
"vat_id": "DE123456789",
"electronic_address": {
"id": "rechnungen@lindgruen.example.com",
"scheme": "EM"
},
"address": {
"line1": "Hafenstraße 12",
"city": "Hamburg",
"postcode": "20457",
"country": "DE"
},
"contact": {
"name": "Katrin Vogelsang, Marketing & E-Commerce"
}
},
"payment": {
"means_code": "58",
"remittance_information": "SLS-2026-0412",
"credit_transfers": [
{
"account_id": "IE74EXMP99000012345678",
"account_name": "Saltmarsh Language Services Ltd",
"bic": "EXMPIE2D"
}
]
},
"vat_exemptions": {
"AE": {
"reason": "Reverse charge (Article 196, Council Directive 2006/112/EC)",
"reason_code": "VATEX-EU-AE"
}
},
"lines": [
{
"quantity": "18400",
"unit": "D68",
"price": {
"net": "0.12"
},
"tax": {
"category": "AE",
"rate": "0"
},
"item": {
"name": "Product catalogue translation, German to English",
"description": "Autumn/winter range, 412 product pages"
}
},
{
"quantity": "3250",
"unit": "D68",
"price": {
"net": "0.14"
},
"tax": {
"category": "AE",
"rate": "0"
},
"item": {
"name": "Web shop interface localisation, German to English",
"description": "Checkout, customer account area and transactional e-mails"
}
}
],
"notes": [
{
"text": "Supply of services to a business customer established in another EU Member State. No Irish VAT has been charged: the customer is responsible for accounting for VAT under the reverse-charge rules in their own country.",
"subject_code": "TXD"
},
{
"text": "Thank you for choosing Saltmarsh for the autumn/winter launch."
}
]
},
"services": "Translation · Localisation · Typesetting",
"website": "saltmarsh.example.com",
"bank_name": "Corrib Mutual Bank"
},
"output": {
"format": "pdf",
"filename": "invoice-eu-reverse-charge.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": "SLS-2026-0412",
"issue_date": "2026-09-04",
"due_date": "2026-10-04",
"currency": "EUR",
"buyer_reference": "PO 4500-2291",
"payment_terms": "Payment within 30 days of the invoice date by SEPA credit transfer. Bank charges on international transfers are paid by the sender.",
"delivery": {
"date": "2026-08-31"
},
"seller": {
"name": "Saltmarsh Language Services Ltd",
"trading_name": "Saltmarsh Language Services",
"vat_id": "IE1234567T",
"legal_registration": {
"id": "123456"
},
"legal_info": "Registered in Ireland, company no. 123456",
"electronic_address": {
"id": "accounts@saltmarsh.example.com",
"scheme": "EM"
},
"address": {
"line1": "Unit 7, Claddagh Quay Business Park",
"city": "Galway",
"postcode": "H91 X2Y3",
"country": "IE"
},
"contact": {
"name": "Accounts",
"email": "accounts@saltmarsh.example.com"
}
},
"buyer": {
"name": "Lindgrün Gartenmöbel GmbH",
"vat_id": "DE123456789",
"electronic_address": {
"id": "rechnungen@lindgruen.example.com",
"scheme": "EM"
},
"address": {
"line1": "Hafenstraße 12",
"city": "Hamburg",
"postcode": "20457",
"country": "DE"
},
"contact": {
"name": "Katrin Vogelsang, Marketing & E-Commerce"
}
},
"payment": {
"means_code": "58",
"remittance_information": "SLS-2026-0412",
"credit_transfers": [
{
"account_id": "IE74EXMP99000012345678",
"account_name": "Saltmarsh Language Services Ltd",
"bic": "EXMPIE2D"
}
]
},
"vat_exemptions": {
"AE": {
"reason": "Reverse charge (Article 196, Council Directive 2006/112/EC)",
"reason_code": "VATEX-EU-AE"
}
},
"lines": [
{
"quantity": "18400",
"unit": "D68",
"price": {
"net": "0.12"
},
"tax": {
"category": "AE",
"rate": "0"
},
"item": {
"name": "Product catalogue translation, German to English",
"description": "Autumn/winter range, 412 product pages"
}
},
{
"quantity": "3250",
"unit": "D68",
"price": {
"net": "0.14"
},
"tax": {
"category": "AE",
"rate": "0"
},
"item": {
"name": "Web shop interface localisation, German to English",
"description": "Checkout, customer account area and transactional e-mails"
}
}
],
"notes": [
{
"text": "Supply of services to a business customer established in another EU Member State. No Irish VAT has been charged: the customer is responsible for accounting for VAT under the reverse-charge rules in their own country.",
"subject_code": "TXD"
},
{
"text": "Thank you for choosing Saltmarsh for the autumn/winter launch."
}
]
},
"services": "Translation · Localisation · Typesetting",
"website": "saltmarsh.example.com",
"bank_name": "Corrib Mutual Bank"
},
"output": {
"format": "pdf",
"filename": "invoice-eu-reverse-charge.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": "SLS-2026-0412",
"issue_date": "2026-09-04",
"due_date": "2026-10-04",
"currency": "EUR",
"buyer_reference": "PO 4500-2291",
"payment_terms": "Payment within 30 days of the invoice date by SEPA credit transfer. Bank charges on international transfers are paid by the sender.",
"delivery": {
"date": "2026-08-31",
},
"seller": {
"name": "Saltmarsh Language Services Ltd",
"trading_name": "Saltmarsh Language Services",
"vat_id": "IE1234567T",
"legal_registration": {
"id": "123456",
},
"legal_info": "Registered in Ireland, company no. 123456",
"electronic_address": {
"id": "accounts@saltmarsh.example.com",
"scheme": "EM",
},
"address": {
"line1": "Unit 7, Claddagh Quay Business Park",
"city": "Galway",
"postcode": "H91 X2Y3",
"country": "IE",
},
"contact": {
"name": "Accounts",
"email": "accounts@saltmarsh.example.com",
},
},
"buyer": {
"name": "Lindgrün Gartenmöbel GmbH",
"vat_id": "DE123456789",
"electronic_address": {
"id": "rechnungen@lindgruen.example.com",
"scheme": "EM",
},
"address": {
"line1": "Hafenstraße 12",
"city": "Hamburg",
"postcode": "20457",
"country": "DE",
},
"contact": {
"name": "Katrin Vogelsang, Marketing & E-Commerce",
},
},
"payment": {
"means_code": "58",
"remittance_information": "SLS-2026-0412",
"credit_transfers": [
{
"account_id": "IE74EXMP99000012345678",
"account_name": "Saltmarsh Language Services Ltd",
"bic": "EXMPIE2D",
},
],
},
"vat_exemptions": {
"AE": {
"reason": "Reverse charge (Article 196, Council Directive 2006/112/EC)",
"reason_code": "VATEX-EU-AE",
},
},
"lines": [
{
"quantity": "18400",
"unit": "D68",
"price": {
"net": "0.12",
},
"tax": {
"category": "AE",
"rate": "0",
},
"item": {
"name": "Product catalogue translation, German to English",
"description": "Autumn/winter range, 412 product pages",
},
},
{
"quantity": "3250",
"unit": "D68",
"price": {
"net": "0.14",
},
"tax": {
"category": "AE",
"rate": "0",
},
"item": {
"name": "Web shop interface localisation, German to English",
"description": "Checkout, customer account area and transactional e-mails",
},
},
],
"notes": [
{
"text": "Supply of services to a business customer established in another EU Member State. No Irish VAT has been charged: the customer is responsible for accounting for VAT under the reverse-charge rules in their own country.",
"subject_code": "TXD",
},
{
"text": "Thank you for choosing Saltmarsh for the autumn/winter launch.",
},
],
},
"services": "Translation · Localisation · Typesetting",
"website": "saltmarsh.example.com",
"bank_name": "Corrib Mutual Bank",
},
"output": {
"format": "pdf",
"filename": "invoice-eu-reverse-charge.pdf",
},
},
timeout=90,
)
response.raise_for_status()
print(response.json())More invoices templates

Bold brand invoice
A4A 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.

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.

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.