XRechnung or ZUGFeRD in Germany: Which suits your customer?

The choice between XRechnung and ZUGFeRD mainly depends on which suitable export your customer accepts: XRechnung provides XML data, while hybrid ZUGFeRD also includes a PDF view. Both can meet the requirements for an e-invoice under § 14 UStG. The recipient’s requirements determine the choice; check the actual file before sending it.
XRechnung or ZUGFeRD: how do the formats differ?
XRechnung contains invoice data as XML; hybrid ZUGFeRD adds a PDF view, but the format name alone does not guarantee a valid e-invoice. The Koordinierungsstelle für IT-Standards (KoSIT) describes XRechnung as an XML data set. The federal e-invoice FAQ explains hybrid ZUGFeRD as PDF/A-3 with embedded XML invoice data.
| Feature | XRechnung | Hybrid ZUGFeRD |
|---|---|---|
| Readable view | Through a viewer | PDF view included |
| Structured XML data | Yes | Yes, embedded |
| Automated processing | Possible | Possible |
| Acceptance | Check the export and recipient | Check the export and recipient |
The Nuremberg tax office explains how visualisation programs render XML in a readable form. Under § 14 Abs. 1 UStG, the European standard EN 16931 is one route to an e-invoice; agreed alternative formats must also meet data-extraction requirements. A suitable name therefore does not replace checking the file. A readable view helps you check the information; whether the file is technically suitable is a separate question.
The overview of invoices puts the topic in context. ZUGFeRD explains the hybrid structure; the comparison of electronic invoice formats covers other formats.
Which format suits your business customer?
Choose a suitable export your business customer accepts; if they accept both, the PDF view in hybrid ZUGFeRD can make a manual check easier. The KoSIT FAQ makes clear that XRechnung is not mandatory for B2B. KoSIT recommends agreeing on the format and transmission method.
This decision aid describes a practical process, not an additional legal format requirement:
| Your customer’s requirement | A sensible choice |
|---|---|
| They require a specific suitable format or profile | Use the requested export |
| They accept both and want a PDF view | Choose suitable hybrid ZUGFeRD |
| Their invoice intake requires XRechnung XML | Send a suitable XRechnung |
| There is no clear requirement | Ask about the format, profile, reference and channel |
For example, customer A accepts both formats and wants to view invoices as PDFs. Suitable hybrid ZUGFeRD fits that need. Customer B requires XRechnung XML through its portal. Choose that export and transmission method. ZUGFeRD can also be processed automatically using its XML data.
Whether you work as a Freiberufler (a person practising an independent liberal profession covered by § 18 EStG, with no Gewerbe to register) or run a Gewerbe (a registered trade) does not determine the format name under § 14 UStG. Your VAT status and the duty to issue an invoice are separate questions.
If your customer only writes “e-invoice”, ask before exporting. A brief discussion of their actual requirements helps you choose the right file. The answer “We accept ZUGFeRD”, for example, still leaves open which export and transmission method their invoice intake expects.
What do public contracting authorities require?
At federal level, XRechnung is generally the standard; other standards that comply with the applicable norm are possible, but you still need to check the recipient and platform requirements. § 4 Abs. 1 ERechV sets this out. Under § 4 Abs. 3 ERechV, e-invoices with formal errors are rejected through automated processing.
So check the contract and recipient portal. The federal FAQ points to the contract or invoice recipient for submission details. Clarify the transmission method there too. For federal invoices, § 5 Abs. 1 ERechV requires a Leitweg-ID (the public recipient’s routing reference); ask the recipient which reference you need.
For its example of the ZUGFeRD XRECHNUNG reference profile, the federal FAQ requires only a structured XML file without a PDF view. This does not amount to general acceptance of hybrid PDFs.
Check the applicable rules separately for Länder and municipalities: according to the federal FAQ, the Länder implement the European directive independently.
What should you check before sending?
Check the export, recipient reference, validation, agreement between PDF and XML, and transmission method against the finished file:
- Export: Are the version and profile correct? FeRD lists suitable ZUGFeRD from 2.0.1, excluding MINIMUM and BASIC WL. The article on ZUGFeRD profiles explains the details.
- Reference: Is the buyer reference or Leitweg-ID required by the recipient entered?
- Validation: Read the validation report. KoSIT says technical conformity does not replace checking the business meaning; also check the service supplied and the amounts.
- PDF and XML: FeRD recommends comparing both before sending. The structured invoice data is authoritative.
- Transmission method: Use the channel agreed with the recipient.
Issuing and receiving remain separate: § 34a UStDV allows an “other invoice” under the Kleinunternehmerregelung (the small-business VAT exemption). The Nuremberg tax office says the receiving duty still applies; public contracts may have their own submission requirements, according to the federal FAQ. The articles on e-invoice duties and creating an e-invoice explain the next steps.
Frequently asked questions
What is the difference between XRechnung and ZUGFeRD?
XRechnung contains invoice data as XML. Hybrid ZUGFeRD combines embedded XML invoice data with a PDF/A-3 view. Both support automated processing. Viewers can display XML for visual inspection. The format name alone does not guarantee a valid e-invoice: the actual file, applicable requirements and recipient acceptance are decisive.
Which format should I use for B2B invoices?
Choose a suitable export your business customer accepts. KoSIT recommends agreeing on the format and transmission method; XRechnung is not mandatory for B2B. If your customer accepts both formats and wants a PDF view, hybrid ZUGFeRD may be practical. If its invoice intake requires XRechnung, follow that requirement. Clarify any open questions about profiles, references and delivery first.
Do German public authorities accept ZUGFeRD?
There is no single answer for all public authorities. At federal level, § 4 ERechV allows standards other than XRechnung if they comply with the European standard. For its example of the XRECHNUNG reference profile, the federal FAQ requires pure XML without a PDF view. Check the contract and recipient portal; Länder and municipalities need to be checked separately.
Is one format more compliant than the other?
Neither format is more compliant just because of its name. Both can meet the requirements for an e-invoice if the specific export is suitable. Check the version, profile and technical validation as well as the content's accuracy. With hybrid ZUGFeRD, the PDF and XML must match; also check the recipient's acceptance conditions.