XRechnung vs. ZUGFeRD: the difference, explained simply
Published on 7 min read
Anyone looking into e-invoicing in Germany runs into two names straight away: XRechnung and ZUGFeRD. Both meet the legal requirements, both are built on the same European standard, and yet they feel very different in day-to-day use. The difference comes down to what a person sees when they open the file.
The common ground: EN 16931
Since 2025, the German VAT Act has defined the e-invoice as an invoice in a structured format that complies with the European standard EN 16931 (section 14(1) UStG, German). Every business already has to be able to receive one; issuing them becomes mandatory in 2027 or 2028. The standard defines which details an invoice contains and how they are described in machine-readable form: invoice number, date, line items, VAT rates, bank details and so on.
The Federal Ministry of Finance names both formats in its FAQ on e-invoicing (German): XRechnung and ZUGFeRD from version 2.0.1 meet the requirements, except for the ZUGFeRD profiles MINIMUM and BASIC-WL.
XRechnung: data only
An XRechnung is an XML file and nothing else. It is maintained by the Coordination Office for IT Standards (KoSIT) on behalf of the federal and state governments and is the German implementation of EN 16931 (XRechnung at xeinkauf.de, German).
The current version is 3.0. According to KoSIT it stays in force until at least 31 July 2027; version 4.0 has been published as a preview and is expected to be finalised in spring 2027.
Strengths: unambiguous, lean, and any accounting software can process it directly. It is the standard for invoices to federal authorities (e-invoicing to the federal government, German).
Weakness: without software, it is unreadable. Open an XRechnung in a normal mail client and you see source code. You need a viewer. The tax administration now runs its own e-invoice viewer on ELSTER, and our XRechnung viewer also displays the invoice in readable form.
ZUGFeRD: PDF and data in one file
ZUGFeRD is a hybrid format: a PDF/A-3 with an XML file embedded in it. It is published by FeRD, the German e-invoicing forum (ferd-net.de, German). The current version is ZUGFeRD 2.5.2 from August 2026. In France the same format is called Factur-X.
Strength: anyone can open and read the invoice as usual. For recipients without accounting software, that is convenient.
Important: since the mandate took effect, the data part of a ZUGFeRD invoice is what counts, not the image. If the PDF and the XML differ, the XML data prevails. The BMF therefore recommends displaying the XML part yourself rather than relying on the PDF (FAQ, question 12a).
ZUGFeRD profiles
ZUGFeRD comes in several profiles that carry different amounts of detail. Not every profile is an e-invoice under the law:
| Profile | E-invoice under the VAT Act? | Use |
|---|---|---|
| MINIMUM | no | header data only, a booking aid |
| BASIC WL | no | without line items |
| BASIC | yes | simple invoices with line items |
| EN 16931 (formerly COMFORT) | yes | the normal case in B2B |
| EXTENDED | yes | industry-specific extra details |
| XRECHNUNG | yes | XRechnung-compliant data inside the PDF |
If you receive a ZUGFeRD file in the MINIMUM or BASIC WL profile, for tax purposes it is an other invoice, just like a plain PDF.
What about UBL and CII?
Behind both formats are two XML languages (syntaxes) that EN 16931 allows: UBL and UN/CEFACT CII. ZUGFeRD always uses CII. An XRechnung can use either. As a recipient, this does not matter as long as your software reads both.
Which format do you need?
When receiving, you have no choice. You have to accept both formats. A supplier may send you an XRechnung even if you would prefer a PDF.
When issuing, it depends on the recipient:
- Public authorities: XRechnung, usually with the authority's routing ID (Leitweg-ID). This requirement does not come from the VAT Act but from the federal e-invoicing ordinance (ERechV) (German) and the rules of the federal states.
- Businesses: both formats are allowed. ZUGFeRD is often easier for smaller customers without accounting software, XRechnung for customers with automated processing. You do not need a routing ID for B2B (FAQ, question 6).
- Other formats such as EDIFACT are allowed if both sides agree and the mandatory details can be fully extracted.
Check rather than hope
You cannot tell by looking whether a file really complies with the standard. Validation checks the structure and the business rules, for example whether totals add up or mandatory fields are missing. It is not a precondition for deducting input VAT, but the BMF considers it sensible (FAQ, question 7). You can use our XRechnung validator and ZUGFeRD validator free of charge. Before every change, their checks are compared against KoSIT's official validation tool (status).
For the deadlines, see Germany's e-invoicing mandate in 2027 and 2028.
Sources
- Section 14 UStG: issuing invoices (German)
- Federal Ministry of Finance: FAQ on e-invoicing, questions 6, 7 and 12a (German)
- KoSIT: XRechnung and mapping of mandatory VAT details to EN 16931 (German)
- FeRD: ZUGFeRD and mandatory details in e-invoices (German)
- Federal Procurement Office: e-invoicing to the federal government (German)
- Federal e-invoicing ordinance (ERechV) (German)
This article is not tax advice. Last reviewed: 23 November 2026.
Check your e-invoice for free
Upload an XRechnung or ZUGFeRD file and see within seconds whether it is formally sound. No account, no sign-in.
More articles
· 9 min read
The BMF letter of 15 October 2026: what changes for e-invoicing in Germany
The third BMF letter on e-invoicing covers final invoices, construction, discounts, gross prices and corrections. The key points for businesses.
· 8 min read
Germany's e-invoicing mandate in 2027 and 2028: which deadline applies to you
Every German business has had to accept e-invoices since 2025. Issuing them becomes mandatory in 2027 and 2028. Deadlines, exemptions and what to do now.
· 7 min read
Receiving, validating and archiving e-invoices without accounting software
Every German business has had to receive e-invoices since 2025. What you need, what to check and how to store XRechnung and ZUGFeRD files correctly.
· 7 min read
ViDA: what the EU reform means for e-invoicing and VAT reporting from 2030
ViDA brings EU-wide e-invoices and digital reporting to tax authorities. The timeline, what applies from 2030 and what it means for businesses in Germany.