Skip to content
PDFMonkey
Start free
Pricing Docs Log in

Product Updates

Factur-X Is Here: Generate Electronic Invoices With PDFMonkey

Simon Courtois 5 min read

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, the dashboard or an integration, 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:

{
  "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.

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:

{
  "_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. 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 #

Q1Do I need to write any XML to generate a Factur-X invoice?

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.

Q2Which Factur-X profile does PDFMonkey support?

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.

Q3Which plans include Factur-X?

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.

Q4What happens if my invoice data is invalid?

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.

Q5Can I use an existing template?

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.

Q6Does Factur-X work with image output formats?

No. The XML is embedded in the PDF file itself, so electronic invoicing requires PDF output.


Ready to try it? The Factur-X guide walks you through it, and don’t hesitate to reach out 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 🐒

Simon Courtois · LinkedIn

Simon is CTO and co-founder of PDFMonkey. He looks after the platform and makes sure the product stays true to what we care about.

Build one template and send it some data.

That is the whole evaluation. If it works for one invoice it works for the next four hundred, and you will know inside an afternoon.

Create an account Read the docs first

Free plan · 20 documents a month · 30 days of Pro to begin with