# Factur-X Is Here: Generate Electronic Invoices With PDFMonkey


Hey everyone!

Drumroll, please: **Factur-X is now generally available on PDFMonkey**. 🥁

You can generate compliant electronic invoices from the templates you already know, with no XML to write and no extra tool to plug in.

## TL;DR

- **Apply a compliance format** to any template, send your data as usual, get a **PDF/A-3** with the XML embedded.
- Your data is **validated against the format and its business rules** before the document is created, and the output is checked again after generation.
- Every invoice keeps the **proof of its own conformance check** in its metadata.
- We provide an **invoice template** to start from, for the Builder and the code editor, in English and French.
- Available on **every paid plan and the 30-day trial**.
- **XRechnung** is coming soon.

## What Is Factur-X?

A Factur-X invoice is a PDF people can read, print and archive, with a structured **XML file embedded** in it, so accounting software and e-invoicing platforms can process it automatically. One file, two audiences.

It’s the Franco-German hybrid standard (known as **ZUGFeRD** in Germany) and one of the formats behind the French e-invoicing reform.

You keep full control of how the invoice **looks**: it’s a regular PDFMonkey template. We take care of producing and embedding the **compliant XML**.

## How It Works

1. **Pick a compliance format.** In your template’s settings, choose _Factur-X EN 16931_ and publish.
2. **Design your invoice.** Same Builder, same code editor. The **Debug** menu has an _Inspect generated XML_ option to check what will be embedded.
3. **Send your data as JSON.** Create documents through the [API](/docs/api/documents/), the dashboard or an [integration](/docs/integrations/), exactly as you do today.

The only difference is the shape of your `payload`, which follows the data structure of the format. The sample payload loaded in your test data when you pick the format shows every field:

```json5
{
  "document": {
    "document_template_id": "your-template-id",
    "payload": {
      "invoiceNumber": "INV-2026-0042",
      "issueDate": "20260215",
      "currency": "EUR",
      "seller": { /* name, SIREN, VAT ID, address… */ },
      "buyer": { /* name, address… */ },
      "lineItems": [ /* … */ ],
      "taxBreakdowns": [ /* … */ ],
      "totals": { "grandTotal": 3000.0, "duePayable": 3000.0 }
    },
    "status": "pending"
  }
}
```

That payload is abridged: the [full structure is in the guide](/docs/generating-documents/electronic-invoicing/).

The same payload feeds both the visual PDF and the embedded XML, so the two always stay in sync.

## Validated at Every Step

An invoice that looks right but carries wrong XML is worse than no invoice. So PDFMonkey checks your data in layers:

- **When you create the document**, your payload is checked against the format’s structure, then against its business rules: totals that add up, consistent VAT breakdowns, exemptions with a reason, and more. If something is off, the API answers `422` and names the field or the official rule code. No document is created.
- **During generation**, the XML is checked against the official schema, then the final PDF is checked to be a proper hybrid invoice (PDF/A-3 structure, attachment metadata).

After embedding, the result of that last check is written in the document’s **metadata**, under `_facturx_validation`, whether it passed or not:

```json
{
  "_facturx_validation": {
    "conforms": true,
    "profile": "EN 16931",
    "failures": [],
    "verified_at": "2026-11-25T10:30:45Z"
  }
}
```

Every invoice you generate carries the proof of its own conformance check. That’s a handy audit trail.

## Start From an Invoice Template

You don’t have to start from a blank page. We provide an **invoice template** to start from, for both the **Builder** and the **code editor**, in **English and French**.

## Plans and Format

Factur-X is available on **every paid plan** and during the **[30-day trial](/docs/getting-started/the-30-day-trial/)**. It isn’t included in the Free plan.

The supported format today is **Factur-X EN 16931, version 1.08** (compatible with ZUGFeRD 2.4).

## What’s Next: XRechnung

Sending invoices to Germany? **XRechnung**, the German flavor of the European e-invoicing standard, is next on our list and **coming soon**.

The workflow will be the same: apply a format to your template, send your data, get a validated invoice.

## FAQ

<div class="not-prose my-8 border-t border-taupe-900/20">
    <details class="group border-b border-taupe-900/20" open>
      <summary class="flex cursor-pointer list-none items-baseline gap-4 py-5 font-display text-xl/tight after:ml-auto after:shrink-0 after:font-mono after:text-2xl after:leading-none after:text-teal-800 after:content-['+'] group-open:after:content-['–'] hover:text-teal-800 [&::-webkit-details-marker]:hidden">
        <i class="shrink-0 font-mono text-xs font-semibold tracking-widest text-taupe-900/75 uppercase not-italic">Q1</i>Do I need to write any XML to generate a Factur-X invoice?
      </summary>
      <div class="grid gap-3 pb-5.5 text-base/relaxed text-taupe-900/80 sm:pl-11 [&_a]:font-semibold [&_a]:underline [&_a]:decoration-pink-500 [&_a]:decoration-2 [&_a]:underline-offset-4 [&_code]:bg-teal-100 [&_code]:px-1"><p>No. You send your invoice data as JSON, like for any other PDFMonkey document. PDFMonkey generates the XML from your payload and embeds it in the PDF for you.</p>
      </div>
    </details>
    <details class="group border-b border-taupe-900/20" >
      <summary class="flex cursor-pointer list-none items-baseline gap-4 py-5 font-display text-xl/tight after:ml-auto after:shrink-0 after:font-mono after:text-2xl after:leading-none after:text-teal-800 after:content-['+'] group-open:after:content-['–'] hover:text-teal-800 [&::-webkit-details-marker]:hidden">
        <i class="shrink-0 font-mono text-xs font-semibold tracking-widest text-taupe-900/75 uppercase not-italic">Q2</i>Which Factur-X profile does PDFMonkey support?
      </summary>
      <div class="grid gap-3 pb-5.5 text-base/relaxed text-taupe-900/80 sm:pl-11 [&_a]:font-semibold [&_a]:underline [&_a]:decoration-pink-500 [&_a]:decoration-2 [&_a]:underline-offset-4 [&_code]:bg-teal-100 [&_code]:px-1"><p>The EN 16931 profile, in version 1.08 (compatible with ZUGFeRD 2.4). For French sellers, the additional rules of the French e-invoicing reform are checked as well.</p>
      </div>
    </details>
    <details class="group border-b border-taupe-900/20" >
      <summary class="flex cursor-pointer list-none items-baseline gap-4 py-5 font-display text-xl/tight after:ml-auto after:shrink-0 after:font-mono after:text-2xl after:leading-none after:text-teal-800 after:content-['+'] group-open:after:content-['–'] hover:text-teal-800 [&::-webkit-details-marker]:hidden">
        <i class="shrink-0 font-mono text-xs font-semibold tracking-widest text-taupe-900/75 uppercase not-italic">Q3</i>Which plans include Factur-X?
      </summary>
      <div class="grid gap-3 pb-5.5 text-base/relaxed text-taupe-900/80 sm:pl-11 [&_a]:font-semibold [&_a]:underline [&_a]:decoration-pink-500 [&_a]:decoration-2 [&_a]:underline-offset-4 [&_code]:bg-teal-100 [&_code]:px-1"><p>Every paid plan, and the 30-day trial. It isn’t available on the Free plan: documents built from a template with a compliance format fail to generate there.</p>
      </div>
    </details>
    <details class="group border-b border-taupe-900/20" >
      <summary class="flex cursor-pointer list-none items-baseline gap-4 py-5 font-display text-xl/tight after:ml-auto after:shrink-0 after:font-mono after:text-2xl after:leading-none after:text-teal-800 after:content-['+'] group-open:after:content-['–'] hover:text-teal-800 [&::-webkit-details-marker]:hidden">
        <i class="shrink-0 font-mono text-xs font-semibold tracking-widest text-taupe-900/75 uppercase not-italic">Q4</i>What happens if my invoice data is invalid?
      </summary>
      <div class="grid gap-3 pb-5.5 text-base/relaxed text-taupe-900/80 sm:pl-11 [&_a]:font-semibold [&_a]:underline [&_a]:decoration-pink-500 [&_a]:decoration-2 [&_a]:underline-offset-4 [&_code]:bg-teal-100 [&_code]:px-1"><p>Structure and business-rule problems are caught when you create the document: the API answers <code>422 Unprocessable Entity</code> and names the offending field or rule code, and no document is created. Problems found later, during XML generation or embedding, move the document to the <code>failure</code> status with a <code>failure_cause</code>.</p>
      </div>
    </details>
    <details class="group border-b border-taupe-900/20" >
      <summary class="flex cursor-pointer list-none items-baseline gap-4 py-5 font-display text-xl/tight after:ml-auto after:shrink-0 after:font-mono after:text-2xl after:leading-none after:text-teal-800 after:content-['+'] group-open:after:content-['–'] hover:text-teal-800 [&::-webkit-details-marker]:hidden">
        <i class="shrink-0 font-mono text-xs font-semibold tracking-widest text-taupe-900/75 uppercase not-italic">Q5</i>Can I use an existing template?
      </summary>
      <div class="grid gap-3 pb-5.5 text-base/relaxed text-taupe-900/80 sm:pl-11 [&_a]:font-semibold [&_a]:underline [&_a]:decoration-pink-500 [&_a]:decoration-2 [&_a]:underline-offset-4 [&_code]:bg-teal-100 [&_code]:px-1"><p>Yes. Apply a compliance format in the template settings and publish. Your test data is replaced with a sample payload matching the format, so make a copy first if you want to keep it.</p>
      </div>
    </details>
    <details class="group border-b border-taupe-900/20" >
      <summary class="flex cursor-pointer list-none items-baseline gap-4 py-5 font-display text-xl/tight after:ml-auto after:shrink-0 after:font-mono after:text-2xl after:leading-none after:text-teal-800 after:content-['+'] group-open:after:content-['–'] hover:text-teal-800 [&::-webkit-details-marker]:hidden">
        <i class="shrink-0 font-mono text-xs font-semibold tracking-widest text-taupe-900/75 uppercase not-italic">Q6</i>Does Factur-X work with image output formats?
      </summary>
      <div class="grid gap-3 pb-5.5 text-base/relaxed text-taupe-900/80 sm:pl-11 [&_a]:font-semibold [&_a]:underline [&_a]:decoration-pink-500 [&_a]:decoration-2 [&_a]:underline-offset-4 [&_code]:bg-teal-100 [&_code]:px-1"><p>No. The XML is embedded in the PDF file itself, so electronic invoicing requires PDF output.</p>
      </div>
    </details>
</div>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","acceptedAnswer":{"@type":"Answer","text":"No. You send your invoice data as JSON, like for any other PDFMonkey document. PDFMonkey generates the XML from your payload and embeds it in the PDF for you."},"name":"Do I need to write any XML to generate a Factur-X invoice?"},{"@type":"Question","acceptedAnswer":{"@type":"Answer","text":"The EN 16931 profile, in version 1.08 (compatible with ZUGFeRD 2.4). For French sellers, the additional rules of the French e-invoicing reform are checked as well."},"name":"Which Factur-X profile does PDFMonkey support?"},{"@type":"Question","acceptedAnswer":{"@type":"Answer","text":"Every paid plan, and the 30-day trial. It isn’t available on the Free plan: documents built from a template with a compliance format fail to generate there."},"name":"Which plans include Factur-X?"},{"@type":"Question","acceptedAnswer":{"@type":"Answer","text":"Structure and business-rule problems are caught when you create the document: the API answers 422 Unprocessable Entity and names the offending field or rule code, and no document is created. Problems found later, during XML generation or embedding, move the document to the failure status with a failure_cause."},"name":"What happens if my invoice data is invalid?"},{"@type":"Question","acceptedAnswer":{"@type":"Answer","text":"Yes. Apply a compliance format in the template settings and publish. Your test data is replaced with a sample payload matching the format, so make a copy first if you want to keep it."},"name":"Can I use an existing template?"},{"@type":"Question","acceptedAnswer":{"@type":"Answer","text":"No. The XML is embedded in the PDF file itself, so electronic invoicing requires PDF output."},"name":"Does Factur-X work with image output formats?"}]}</script>


---

Ready to try it? The [Factur-X guide](/docs/generating-documents/electronic-invoicing/) walks you through it, and don’t hesitate to [reach out](mailto:tinymonkey@pdfmonkey.io) if you have questions.

By the way, you may have noticed we gave [pdfmonkey.io](/) a makeover: new homepage, dark mode and all. Come take a peek!

The PDFMonkey Team 🐒
