
XRechnung or ZUGFeRD? E-invoicing formats explained simply
XRechnung is a pure XML file that only machines can read – the standard for invoices to public authorities. ZUGFeRD is a PDF with an embedded XML file that can be read by both people and machines. Both are considered e-invoices from the ZUGFeRD profile EN 16931 onward; the MINIMUM and BASIC WL profiles are not.
XRechnung or ZUGFeRD? XRechnung is a pure XML file: It contains all invoice data in a structured format, but is not readable for people without a viewer. It is the standard for invoices to authorities. ZUGFeRD is a PDF with an embedded XML file: people see a normal invoice, programs read the data from the attachment. Both count as e-invoices – with ZUGFeRD, however, only from profile EN 16931.
Criterion | XRechnung | ZUGFeRD |
|---|---|---|
Structure | pure XML file | PDF/A-3 with embedded XML file |
Human-readable | only with a viewer | yes, like a normal PDF |
Typical use | Invoices to public-sector clients, B2B | B2B, customers with and without automation |
Standard | EN 16931 (German version) | EN 16931, from profile EN 16931 onward |
Same format abroad | Peppol formats are related | Identical in France as Factur-X |
The ZUGFeRD profiles
Profile | Considered an e-invoice? |
|---|---|
MINIMUM | no |
BASIC WL | no |
BASIC | yes (subset of the standard) |
EN 16931 (formerly COMFORT) | yes |
EXTENDED | yes |
XRECHNUNG | yes |
Pay attention in the invoicing software to which profileit generates. For the mandatory requirement from 2027, EN 16931 or higher is the safe route.
Which format should you use?
- Invoices to public authorities: XRechnung, usually with Leitweg-ID and via the invoice receipt platform.
- Invoices to companies: ZUGFeRD from EN 16931 is often the simplest choice, because recipients without software can also read the invoice. XRechnung is equally permitted.
- Agreements with customers: Other formats are possible if both sides agree and the data complies with the standard.
Receipt: process both formats
Since 2025, companies must be able to receive e-invoices – in both formats. An XRechnung as an XML file can hardly be checked without software. How to organize incoming invoices simply and in compliance with GoBD is shown in Receiving and processing e-invoices. When you must issue them is explained in E-invoicing requirement 2027.
Frequently asked questions
What is the difference between XRechnung and ZUGFeRD?
XRechnung is a pure XML file. ZUGFeRD is a PDF with an embedded XML file; it is therefore readable by both people and software.
Is ZUGFeRD an e-invoice?
Yes, starting with the EN 16931 profile (as well as BASIC, EXTENDED and XRECHNUNG). The MINIMUM and BASIC WL profiles are not considered e-invoices.
Do I need XRechnung for public authorities?
As a rule, yes. Public contracting authorities usually expect XRechnung, often with a Leitweg-ID via an invoice receipt platform.
How do I open an XRechnung?
With a viewer, accounting software, or a DMS that can display XRechnung. A normal text editor only shows the XML data.
Is ZUGFeRD the same as Factur-X?
Yes. ZUGFeRD from version 2 onward and the French Factur-X are technically identical.
As of: November 2026. The German Value Added Tax Act and the letters issued by the Federal Ministry of Finance are authoritative. This article does not constitute tax advice.

Muhamed Alahmed
With over 10 years’ experience in IT, I develop solutions that not only work from a technical perspective, but also create real added value and open up new possibilities.
More about bettersorted →More articles

E-invoicing requirement 2027: Who must issue e-invoices from January
E-invoicing requirement 2027: From January, firms over €800,000 revenue must issue e-invoices; all companies by 2028. Deadlines, exceptions, checklist.

Receiving and processing e-invoices: obligations, deadlines and automation
E-invoices in German B2B: mandatory receipt since 2025, XRechnung and ZUGFeRD explained – and how to automate receiving, checking and filing.

Automate incoming invoices: from mailbox to posting without manual entry
Automatically capture, check, approve, and post invoices: process in 5 stages, e-invoicing deadlines through 2028, and a calculation example for SMEs.
Stay up to date on AI topics
Short updates on AI automation, funding programs and new posts — no spam, unsubscribe anytime.