XRechnung vs ZUGFeRD — which e-invoice format do you need?
Published
Also available in: Deutsch, 日本語
Since 1 January 2025, every business in Germany must be able to receive electronic invoices from other businesses. Sending them becomes mandatory step by step until 2028. Two names come up immediately: XRechnung and ZUGFeRD. Both are "real" e-invoices under the law, but they look different, and the customer often decides which one you send.
This article explains what each format is, how they relate to the European standard EN 16931, which one to choose for which customer, and what the deadlines mean for a small business.
What counts as an e-invoice
Under the German rules (introduced by the Wachstumschancengesetz), an e-invoice is an invoice in a structured electronic format that follows the European standard EN 16931 and can be processed automatically. A PDF, a scan or a Word file is not an e-invoice — it is an "other invoice", even if it was sent by email.
Both XRechnung and ZUGFeRD (from version 2 on, in the right profile) meet EN 16931. The difference is in how the data is packaged.
XRechnung: pure data
XRechnung is the German national specification (a "CIUS") of EN 16931. An XRechnung is only an XML file — there is no human-readable page inside it. Software displays it.
- Two syntaxes carry the same content: UN/CEFACT CII and OASIS UBL.
- The public sector requires it: invoices to federal authorities, and to most states and municipalities, must be XRechnung.
- Public buyers identify themselves with a Leitweg-ID, which goes into the invoice's buyer reference (field BT-10). An XRechnung without it is rejected by the XRechnung rules.
ZUGFeRD: a PDF with the data inside
ZUGFeRD (identical to the French-German Factur-X since version 2.1) is a hybrid invoice: a PDF/A-3 that people can read, with an XML file in CII syntax embedded in it. A person opens the PDF; accounting software reads the XML.
ZUGFeRD has several profiles, and only some are e-invoices in the legal sense:
| Profile | E-invoice under EN 16931? |
|---|---|
| MINIMUM, BASIC WL | No — too little data |
| BASIC, EN 16931 (formerly COMFORT) | Yes |
| EXTENDED | Yes (adds fields beyond EN 16931) |
| XRECHNUNG | Yes — an XRechnung inside a PDF |
If you send ZUGFeRD, use the EN 16931 profile unless your customer asks otherwise.
Which one should you send?
- To a public authority: XRechnung (CII or UBL — check what the portal accepts), with the Leitweg-ID.
- To a business that has not told you anything: ZUGFeRD in the EN 16931 profile is the safe choice. People can read it, software can process it, and it is an e-invoice under the law.
- To a business that asks for XRechnung: send XRechnung. Many larger companies process XML only.
Every business must be able to receive both, so on the receiving side you need a tool that can open and check either.
The deadlines for sending
| From | What applies |
|---|---|
| 1 Jan 2025 | All businesses must be able to receive e-invoices. |
| until 31 Dec 2026 | Paper and PDF invoices may still be issued (PDF with the recipient's consent). |
| until 31 Dec 2027 | The same for businesses with a previous-year turnover up to €800,000. |
| 1 Jan 2028 | All B2B invoices in Germany must be e-invoices. |
Invoices up to €250 (small-amount invoices) and tickets are exempt. If you are close to a deadline, start with the format your largest customers ask for.
How to check an invoice before you send it
An e-invoice is validated in two layers: the XML schema (is the file well-formed and are the fields in the right place?) and the business rules (schematron: EN 16931 rules such as "the totals must add up", plus the XRechnung or Factur-X rules on top). A file can be perfectly readable and still fail rule BR-DE-15 because the buyer reference is missing.
You can check a file for free, without an account, with the e-invoice checker: upload an XRechnung (CII or UBL) or a ZUGFeRD/Factur-X PDF and see each failed rule. The file is checked in memory and not stored.
Issuing e-invoices without a specialist tool
ARCH-Insight's Finance app issues ZUGFeRD 2.3 / Factur-X (EN 16931) as a PDF/A-3b with the XML inside, and XRechnung 3.0 as CII or UBL, with a Leitweg-ID for public buyers. Every invoice is validated against the official XSD and the EN 16931, Factur-X and XRechnung schematron before it is issued — one that fails is not issued, and you see the rule that failed. Numbers come from a gap-free series you define, and a correction is a credit note against the original.
Send invoices that are right the first time.
Start free with one account. Your company details can come later.
ARCH-Insight