ZUGFeRD vs XRechnung: which e-invoice format to send, and to whom
By the getPDF team · Published 12 October 2026
The short answer
ZUGFeRD is a normal PDF invoice with the invoice data attached inside as XML; XRechnung is the XML alone, with no page. For invoices between German businesses both count as e-invoices (ZUGFeRD in the BASIC, EN 16931, EXTENDED or XRECHNUNG profile), so send what your customer’s software takes, and ZUGFeRD is the easier default because people can still read it. For federal authorities, send XRechnung.
The difference in 1 table
| ZUGFeRD | XRechnung | |
|---|---|---|
| What the file is | A PDF/A-3 invoice page with the XML attached inside | An XML file, data only |
| File extension | .xml | |
| Double-click shows | The invoice, in any PDF viewer | Code, or an error; there is no page |
| Who can read it without software | Anyone | Nobody comfortably; a viewer or accounting software renders it |
| Standard behind it | EN 16931, published by FeRD (German) with FNFE-MPE (French, as Factur-X) | EN 16931 plus German rules, published by KoSIT |
| Current version | ZUGFeRD 2.4 (Factur-X 1.08), from 15 January 2026 | 3.0, with 3.0.2 the current bug-fix release |
| Counts as a German e-invoice | In BASIC, EN 16931, EXTENDED and XRECHNUNG profiles; not MINIMUM or BASIC WL | Yes |
| Federal authorities | Only the XRECHNUNG profile, as the XML alone | The expected format |
| Risk when someone handles the file | Tools that write a new PDF can leave the XML out; the copy looks the same | Hard to break by accident; easy to mistake for a broken file |
| What to archive | The PDF as received | The .xml as received |
Sources: FeRD on ZUGFeRD 2.4, KoSIT (xeinkauf.de) on XRechnung, the Federal Ministry of Finance’s application letters for which profiles count, and e-rechnung-bund.de for federal authorities; all checked on 12 October 2026. This page explains the formats; it is not legal or tax advice.
Legally, either one will do between businesses
The German duty to issue e-invoices (from 1 January 2027 above 800,000 euro prior-year turnover, from 1 January 2028 for everyone; the deadlines guide has the details) asks for a structured format that follows the European standard EN 16931. XRechnung does. ZUGFeRD does in its BASIC, EN 16931, EXTENDED and XRECHNUNG profiles. MINIMUM and BASIC WL carry too little (no line items) and do not count, according to the Federal Ministry of Finance’s application letters.
So for a domestic business customer the law does not pick a winner. Your customer does. An accounting system that imports XRechnung but not ZUGFeRD, or the other way round, settles the question for that customer, whatever any comparison says. Most German accounting packages read both.
When XRechnung is not a choice
Public authorities are the exception. Suppliers to the federal administration have had to send electronic invoices since 27 November 2020, and the federal invoice platform expects XRechnung in its current version. A ZUGFeRD passes only in the XRECHNUNG profile, as the XML alone, without the visual PDF part (e-rechnung-bund.de FAQ, checked on 12 October 2026). Every invoice must carry the Leitweg-ID, a routing code the authority gives you with the order, in the buyer reference field.
The federal states and municipalities run their own platforms and rules. If the order comes from a public body, the order itself usually names the format and the Leitweg-ID; follow that.
Why ZUGFeRD is the small business default
Because nothing else in your process has to change. A ZUGFeRD is the PDF invoice you already send, with the data inside:
- Your customer’s bookkeeper opens it on a phone and sees an invoice.
- A customer whose software cannot read XML yet still has a perfectly readable invoice.
- Printing, forwarding to a manager for approval and attaching to a project folder all keep working.
The cost is fragility. The XML is an attachment, and tools that write a new PDF can leave it out without changing anything you can see. We measured getPDF’s own tools: Merge PDF, Split PDF, Extract pages and Organise pages leave the attached XML out, and their result names it and says to keep the original; Compress PDF, Rotate PDF, Delete pages, Flatten PDF and the editor keep it (the full table is in the ZUGFeRD guide). Printing to PDF always drops it. An XRechnung has the opposite problem: hard to damage, but people forward it as “a broken attachment”.
Receiving both: tell them apart in 5 seconds
- Look at the extension. .xml is an XRechnung (or another XML e-invoice). .pdf is a ZUGFeRD or a plain PDF.
- For a PDF, drop it on Inspect. A ZUGFeRD says “Has 1 attached file: factur-x.xml” (older ones: zugferd-invoice.xml; the XRECHNUNG profile: xrechnung.xml). A plain PDF shows “Attachments: none”. The file is read in your browser; nothing is uploaded.
- For an .xml, do not use a PDF tool. Inspect reads PDFs only and leaves an .xml out (“Left out 1 file this tool does not take”). What an XRechnung is has the 3 ways to read one today.
Try it here, nothing is uploaded
Inspect tells you that a PDF carries an XML and its name. It does not tell you the profile, whether the XML is valid, or whether its numbers match the page. A ZUGFeRD in the MINIMUM profile looks the same in Inspect as one in EN 16931.
Which one to send: a short decision
| Your customer | Send |
|---|---|
| A federal authority | XRechnung, with the Leitweg-ID |
| A state or municipal body | What the order says; usually XRechnung |
| A German business that names a format | That format |
| A German business that does not care | ZUGFeRD in the EN 16931 profile: readable by people, counts as an e-invoice |
| A private customer | Anything readable; the duty does not apply, and a plain PDF is fine |
| A business in another EU country | Their country’s rules; the EU-wide step comes on 1 July 2030 |
The honest part
- Ask before the first invoice. The sentence “we can send XRechnung or ZUGFeRD, which do you prefer?” saves more trouble than any comparison table, ours included.
- Your software decides what you can send. getPDF cannot create either format yet; a maker is planned. Today the options are your invoicing or accounting software, most of which writes both, or your tax advisor’s platform. A plain PDF does not become a ZUGFeRD by attaching an XML you wrote by hand; the file also needs the PDF/A-3 structure and the metadata that names the attachment.
- getPDF does not read either format’s data yet. Inspect names the XML inside a ZUGFeRD; a reader that shows the values on your device, with nothing uploaded, is planned. How to cope meanwhile is in receive e-invoices without new software.
Questions
Is ZUGFeRD or XRechnung better for a small business?
For invoices to other businesses, both satisfy the German rules, so the deciding question is what your customer's software takes. ZUGFeRD is the easier default because people can read the PDF page without any software. For federal authorities, XRechnung is the expected format.
Can I send a ZUGFeRD to a public authority?
Federal authorities expect XRechnung. Their platform accepts a ZUGFeRD only in the XRECHNUNG profile and only as the XML on its own, without the PDF (e-rechnung-bund.de, checked on 12 October 2026). States and cities set their own rules, so check the order.
Do ZUGFeRD and XRechnung carry the same data?
Largely yes. Both follow the European standard EN 16931, and XRechnung adds German rules on top, such as the buyer reference that routes an invoice to the right office. A ZUGFeRD in the XRECHNUNG profile carries an XRechnung inside the PDF.
How do I tell which one I received?
By the file: an XRechnung ends in .xml and shows code when opened; a ZUGFeRD ends in .pdf. Drop the PDF on Inspect: a ZUGFeRD lists an attached file such as factur-x.xml, a plain PDF lists none.
The tools for this job
Keep reading
- What a ZUGFeRD invoice is: a PDF with the invoice inside it as XMLA ZUGFeRD invoice is a normal PDF with the invoice data embedded as XML.
- What an XRechnung is, and why it will not open like a PDFAn XRechnung is pure XML, not a PDF, so double-clicking shows code.
- Receive e-invoices as a small business, without buying softwareSince 2025 every German business must accept e-invoices.
- The German e-invoice deadlines in one timeline, 2025 to 2030German businesses must receive e-invoices since 2025 and issue them from 2027 or 2028.
- E-invoices and business PDFs: what small businesses must knowE-invoices become mandatory in Germany from 2027.