Skip to content
Preview of the EU reverse-charge invoice template

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.

PDFA4 portraitLocale en-IEHTML + JinjaHeader & footer

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.

PathTypeExample
invoiceobject
invoice.numberstring"SLS-2026-0412"
invoice.issue_datedate"2026-09-04"
invoice.due_datedate"2026-10-04"
invoice.currencystring"EUR"
invoice.buyer_referencestring"PO 4500-2291"
invoice.payment_termsstring"Payment within 30 days of the invoice date by …"
invoice.deliveryobject
invoice.delivery.datedate"2026-08-31"
invoice.sellerobject
invoice.seller.namestring"Saltmarsh Language Services Ltd"
invoice.seller.trading_namestring"Saltmarsh Language Services"
invoice.seller.vat_idstring"IE1234567T"
invoice.seller.legal_registrationobject
invoice.seller.legal_registration.idstring"123456"
invoice.seller.legal_infostring"Registered in Ireland, company no. 123456"
invoice.seller.electronic_addressobject
invoice.seller.electronic_address.idstring"accounts@saltmarsh.example.com"
invoice.seller.electronic_address.schemestring"EM"
invoice.seller.addressobject
invoice.seller.address.line1string"Unit 7, Claddagh Quay Business Park"
invoice.seller.address.citystring"Galway"
invoice.seller.address.postcodestring"H91 X2Y3"
invoice.seller.address.countrystring"IE"
invoice.seller.contactobject
invoice.seller.contact.namestring"Accounts"
invoice.seller.contact.emailstring"accounts@saltmarsh.example.com"
invoice.buyerobject
invoice.buyer.namestring"Lindgrün Gartenmöbel GmbH"
invoice.buyer.vat_idstring"DE123456789"
invoice.buyer.electronic_addressobject
invoice.buyer.electronic_address.idstring"rechnungen@lindgruen.example.com"
invoice.buyer.electronic_address.schemestring"EM"
invoice.buyer.addressobject
invoice.buyer.address.line1string"Hafenstraße 12"
invoice.buyer.address.citystring"Hamburg"
invoice.buyer.address.postcodestring"20457"
invoice.buyer.address.countrystring"DE"
invoice.buyer.contactobject
invoice.buyer.contact.namestring"Katrin Vogelsang, Marketing & E-Commerce"
invoice.paymentobject
invoice.payment.means_codestring"58"
invoice.payment.remittance_informationstring"SLS-2026-0412"
invoice.payment.credit_transfersarray<object> · 1
invoice.payment.credit_transfers[].account_idstring"IE74EXMP99000012345678"
invoice.payment.credit_transfers[].account_namestring"Saltmarsh Language Services Ltd"
invoice.payment.credit_transfers[].bicstring"EXMPIE2D"
invoice.vat_exemptionsobject
invoice.vat_exemptions.AEobject
invoice.vat_exemptions.AE.reasonstring"Reverse charge (Article 196, Council Directive…"
invoice.vat_exemptions.AE.reason_codestring"VATEX-EU-AE"
invoice.linesarray<object> · 6
invoice.lines[].quantitystring"18400"
invoice.lines[].unitstring"D68"
invoice.lines[].priceobject
invoice.lines[].price.netstring"0.12"
invoice.lines[].taxobject
invoice.lines[].tax.categorystring"AE"
invoice.lines[].tax.ratestring"0"
invoice.lines[].itemobject
invoice.lines[].item.namestring"Product catalogue translation, German to Engli…"
invoice.lines[].item.descriptionstring"Autumn/winter range, 412 product pages"
invoice.notesarray<object> · 2
invoice.notes[].textstring"Supply of services to a business customer esta…"
invoice.notes[].subject_code?string"TXD"
servicesstring"Translation · Localisation · Typesetting"
websitestring"saltmarsh.example.com"
bank_namestring"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"
  }
}'