Saltar al contenido
Volver al blog
FormatsPublicado 26 de mayo de 20265 min de lectura

Factur-X and ZUGFeRD: hybrid PDF e-invoices explained

Factur-X and ZUGFeRD combine a human-readable PDF with embedded EN 16931 XML. Learn how the hybrid format works and when to use it.

Factur-X (France) and ZUGFeRD (Germany) are essentially the same hybrid e-invoice standard. The idea is elegant: take a normal-looking PDF invoice and embed a structured EN 16931 XML file inside it. People see a familiar document; software reads the data automatically.

How the hybrid works

The carrier is a PDF/A-3 file — an archival PDF that can contain attachments. Inside it, an EN 16931 CII (Cross Industry Invoice) XML is embedded. Compliant receivers extract and process the XML; everyone else simply reads the PDF.

  • Human-readable PDF and machine-readable XML in a single file.
  • XML uses the EN 16931 CII syntax.
  • Multiple conformance levels (e.g. MINIMUM up to EN 16931 / COMFORT).

When to choose it

Hybrid invoices are ideal when some of your recipients still expect a visual document while others want structured data — common in mixed B2B environments and in the French and German markets. Pure UBL formats like Peppol BIS are better when both sides are fully electronic.

Producing the XML with MyInvoice

Select the facturx-en16931 profile and MyInvoice returns the EN 16931 CII XML. Add output=pdf and you get the finished hybrid back instead: a Factur-X PDF/A-3 with the XML already embedded, rendered on a neutral layout or on your own invoice PDF passed as base_pdf. Because the XML is validated against EN 16931, the structured part of your hybrid is compliant from the start.