Formats
XRechnung vs ZUGFeRD: Differences, Use Cases and Which Format You Need
XRechnung vs ZUGFeRD: pure XML or hybrid PDF, valid profiles, public-sector rules and what foreign suppliers need. As of 3 December 2026.
Summary
XRechnung and ZUGFeRD are the two e-invoice formats in common use in Germany: an XRechnung is a pure XML file, a ZUGFeRD invoice is a PDF/A-3 file with an embedded XML invoice, and both meet § 14 of the German VAT Act (Umsatzsteuergesetz, UStG), ZUGFeRD from version 2.0.1 except the profiles MINIMUM and BASIC WL (as of 3 December 2026).
The two formats are published by different bodies and are free of charge.
The VAT Act prescribes neither format. It requires an E-Rechnung (e-invoice) in a structured electronic format, and which one two businesses use is a civil-law matter. Public bodies set their own rules, and those rules are the main reason to choose. This page sits within the wider picture of German e-invoicing.
The page first sets out how the files are built, which versions are current and who needs a viewer. It then asks whether both formats are valid, what federal bodies and the Länder (federal states) accept, and what a foreign supplier should decide.
The last section covers daily work: receiving, creating, checking and software. Every statement names its legal basis or source; see how we check facts. The table gives the answer at a glance.
| Attribute | XRechnung | ZUGFeRD |
|---|---|---|
| Build | Pure XML, no PDF | PDF/A-3 with embedded XML |
| Syntax | UBL 2.1 or CII | CII only |
| Publisher | KoSIT | FeRD |
| Current version | 3.0.2 | 2.5.2 |
| Next version | Pre-release 4.0.0 of 15 September 2026 | None listed by FeRD |
| Readability | Viewer needed | PDF part readable, XML leads |
| E-Rechnung under § 14 UStG | Yes | From 2.0.1, except MINIMUM and BASIC WL |
| Federal portal | Yes | Only profile XRECHNUNG as pure XML |
| Between businesses | Allowed, not prescribed | Allowed |
| Cost | Free of charge | Free of charge |
| More | Full guide to XRechnung | Full guide to ZUGFeRD |
Status as of 3 December 2026.
What is the difference between XRechnung and ZUGFeRD?
The difference lies in the container and the syntax: an XRechnung consists of structured data only, in UBL or CII, while a ZUGFeRD file joins a PDF/A-3 document to exactly one embedded XML invoice in CII; both follow the data model of the European standard EN 16931 where the ZUGFeRD profile is EN 16931 or XRECHNUNG. The three subsections below cover the build, the syntax with its versions, and readability.
Pure XML or a hybrid PDF: how the files are built
An XRechnung is a purely structured format with no PDF (section 14.1(13) of the VAT Application Decree, Umsatzsteuer-Anwendungserlass, UStAE), while a ZUGFeRD invoice is a hybrid: a PDF/A-3 document (ISO 19005-3:2012) with an embedded XML file. The person sees the page, and the software reads the XML.
Both forms are allowed, because an E-Rechnung may be "purely structured or hybrid" (section 14.1(12) UStAE). The standard allows only one invoice XML per PDF. A plain PDF without a structured part is a sonstige Rechnung ("other invoice": paper or a non-structured electronic invoice). The overview of German e-invoice formats places both.
Syntax, publisher and versions
An XRechnung is transmitted in one of two syntaxes, UBL 2.1 or UN/CEFACT CII, while ZUGFeRD uses CII only. These are exactly the two syntaxes that Implementing Decision (EU) 2017/1870 lists for EN 16931.
KoSIT (the Coordination Office for IT Standards in Bremen, acting for the IT Planning Council) publishes XRechnung. FeRD (Forum elektronische Rechnung Deutschland, part of the AWV) publishes ZUGFeRD, which is technically identical with Factur-X. The BMF (Federal Ministry of Finance) publishes neither.
XRechnung 3.0.2 is the current version (specification of 20 June 2024), and version 3.0 is valid until at least 31 July 2027, with no fixed end date.
A pre-release of XRechnung 4.0.0 appeared on 15 September 2026, with the final version expected in spring 2027. ZUGFeRD 2.5.2 (information package of 4 August 2026) is current. Read the European standard behind both formats for the data model.
| Format | Version | Date and status (as of 3 December 2026) |
|---|---|---|
| XRechnung | 3.0.2 | Specification of 20 June 2024; 3.0 in force since 1 February 2024 and valid until at least 31 July 2027; bundle "3.0.2 Summer 2026 Bugfix" of 31 August 2026, no normative release in summer 2026 |
| XRechnung | 4.0.0 | Pre-release of 15 September 2026, not for production; final version expected in spring 2027 |
| ZUGFeRD | 2.5.2 | Information package of 4 August 2026; current, no later release on the FeRD standards page |
| ZUGFeRD | 2.0.1 | Released 15 October 2019; first version that counts as an E-Rechnung |
Readability: who needs a viewer
An XRechnung has no picture of the invoice, so a business needs additional software to display the XML file, a so-called viewer (BMF FAQ on the E-Rechnung, question 12a), while the PDF part of a ZUGFeRD file opens in any PDF reader.
The picture is a convenience and the XML is the invoice, as the section on the leading part below explains. Technical PDF/A errors in the picture part are only a warning, according to the FeRD FAQ.
Are both formats valid e-invoices in Germany?
Yes: the BMF FAQ (question 7, as of October 2026) names the formats customary in Germany, XRechnung and ZUGFeRD from version 2.0.1 with the exception of the profiles MINIMUM and BASIC WL, as meeting the VAT requirements for an e-invoice, as does section 14.1(14) UStAE. The three subsections cover the statute, the profiles and the leading part.
What the VAT Act says about formats
§ 14(1) sentence 6 UStG allows either the European standard EN 16931 with one of its syntaxes (no. 1) or a format agreed between issuer and recipient from which the data can be extracted correctly and completely (no. 2, with sentence 7). Neither XRechnung nor ZUGFeRD is named.
Formats under EN 16931 are "always admissible" (para. 24 of the BMF letter of 15 October 2024 as amended on 15 October 2025).
All mandatory details must sit in the structured part, since a link to an external target satisfies neither § 14(1) sentence 3 UStG nor § 31(1) of the VAT Implementing Regulation (UStDV), as para. 35 of the same letter says.
Three BMF letters, of 15 October 2024, 15 October 2025 and 15 October 2026, carry the detail. All three are collected under the BMF letters on the e-invoice.
Which ZUGFeRD profiles count
ZUGFeRD has five data profiles and one reference profile, and two of the five, MINIMUM and BASIC WL, are not an E-Rechnung under § 14 UStG but a bookkeeping aid (section 14.1(14) UStAE). The table shows each profile.
| Profile | E-Rechnung under § 14 UStG | Note |
|---|---|---|
| MINIMUM | No | Bookkeeping aid |
| BASIC WL | No | No invoice lines |
| BASIC | Yes, from 2.0.1 | Subset of the standard |
| EN 16931 (COMFORT) | Yes, from 2.0.1 | Covers EN 16931-1 in full; FeRD recommends it |
| EXTENDED | Yes, from 2.0.1 | Exchange agreed in advance between issuer and recipient |
| XRECHNUNG (reference profile) | Yes | CII only, since 2.1.1; follows the valid XRechnung |
Source: section 14.1(14) UStAE; FeRD FAQ; as of 3 December 2026.
BASIC and EN 16931 (COMFORT) qualify. The EN 16931 profile covers the standard in full and is FeRD's recommendation. EXTENDED qualifies as well, but the exchange of such files must be agreed in advance between issuer and recipient.
The reference profile XRECHNUNG qualifies too. An XRechnung itself has no profile choice, because the format is the profile.
Why the XML beats the PDF picture
In a ZUGFeRD file the data in the structured part form the leading part (section 14.4(3) UStAE), and since 1 January 2025 the XML embedded in the hybrid document is the invoice. The visible page no longer decides.
Before 2025 the picture prevailed, and the relation has reversed (BMF FAQ, question 12a). Input VAT can be deducted only from the structured part (section 14c.1(4a) sentence 4 UStAE). A picture without deviating mandatory details is a content-identical duplicate, while deviating content can create a further invoice under § 14c UStG.
The tax administration sets no specific duty to check that PDF and XML match, and FeRD recommends running your own controls.
For archiving, the structured part suffices (para. 119 of the GoBD, the German bookkeeping principles, as amended by the BMF letter of 14 July 2025), and retention is 8 years (§ 14b(1) sentence 1 UStG), as set out on the page about keeping e-invoices for 8 years.
Which format do public-sector customers accept?
For federal bodies § 4(1) sentence 1 of the E-Rechnungsverordnung (ERechV, the federal e-invoicing ordinance) names the XRechnung, another standard that meets EN 16931 is allowed under sentence 2, and the federal portal accepts a ZUGFeRD invoice only as profile XRECHNUNG in pure XML without a visual format (as of 3 December 2026). The table compares the two groups of recipients.
| Recipient | XRechnung | ZUGFeRD | Basis |
|---|---|---|---|
| Federal bodies (public-sector invoicing) | Yes, in its current version | Only profile XRECHNUNG as pure XML without visual format | § 4(1) ERechV; federal portal FAQ; OZG-RE portal since 19 September 2025; supplier duty since 27 November 2020, direct awards up to EUR 1,000 exempt |
| Länder and municipalities | State law decides | State law decides | Check the receiving body before sending |
Status as of 3 December 2026.
Federal bodies: pure XML only
Suppliers to the federal government have had to issue e-invoices since 27 November 2020 (§ 3(1) with § 11(3) ERechV), except for direct awards up to EUR 1,000 (§ 3(3) no. 1 ERechV). The duty covers every supplier that is a business, wherever it is based.
§ 4(1) sentence 1 ERechV prescribes the data exchange standard "XRechnung of 29 September 2017" (BAnz AT 10.10.2017 B1) in its current version. The federal portal FAQ accepts ZUGFeRD 2.2.0 profile XRECHNUNG only as a purely structured XML file and says a PDF is not an e-invoice under these rules.
Since 19 September 2025 the OZG-RE has been the only federal invoice receipt platform. Read more under invoicing the public sector.
A missing buyer reference (BT-10) is a technical error but irrelevant for VAT (para. 35a of the BMF letter of 15 October 2024 as amended). No routing ID is needed between businesses.
Länder and municipalities
For bodies of the Länder and municipalities state law decides, and the supplier duty to issue e-invoices exists in seven Länder: Bremen, Baden-Württemberg, Hamburg, Saarland, Mecklenburg-Vorpommern, Hessen and Rheinland-Pfalz (according to the 2026 annual report of the Bavarian Audit Court).
Acceptance of formats is set per Land, and the federal portal page says requirements for suppliers can differ considerably. Check the receiving body before sending a hybrid file. The routing ID addresses the body, as explained under the routing ID (Leitweg-ID).
Which format should a foreign supplier or international team use?
It depends on the German customer: between businesses the format is a matter of agreement and a federal body takes pure XML, so an XRechnung works for both, while ZUGFeRD works between businesses and, as profile XRECHNUNG in pure XML, at the federal portal. The table matches the situation to the format.
| Your situation | Format | Basis |
|---|---|---|
| Invoice to a federal body | XRechnung, or ZUGFeRD profile XRECHNUNG as pure XML | § 4(1) ERechV; federal portal FAQ |
| Invoice to a Land or municipality | Check the receiving body's rule | State law |
| Business customer that processes data automatically | XRechnung or ZUGFeRD EN 16931, by agreement | Section 14.1(12) UStAE; FeRD FAQ |
| Business customer that also reads invoices on screen | ZUGFeRD with a readable PDF part, XML leads | Section 14.4(3) UStAE; BMF FAQ, question 12a |
| Customers with both needs | ZUGFeRD profile XRECHNUNG | FeRD FAQ |
| Only MINIMUM or BASIC WL available | Not an E-Rechnung: change the profile | Section 14.1(14) UStAE |
| Supplier not established in Germany invoicing a German business | No VAT Act duty; the customer can still ask for a format | § 14(2) sentence 3 UStG |
| Foreign business invoicing a federal body | Supplier duty applies; web entry in German and English | Federal portal FAQ |
Status as of 3 December 2026.
Does the mandate reach you if you are not resident in Germany?
The duty to issue an E-Rechnung under § 14(2) sentence 2 no. 1 UStG applies between businesses established in Germany, and if at least one party is not established in Germany the VAT Act sets no E-Rechnung duty (§ 14(2) sentence 3 UStG; section 14.1(6) sentence 3 UStAE; para. 16 of the BMF letter of 15 October 2024).
For a supplier established in Germany the transitions of § 27(38) sentence 1 UStG apply. Under no. 1 a sonstige Rechnung (paper, or another electronic format with the recipient's consent) is still allowed for supplies in 2025 and 2026 transmitted by 31 December 2026. Under no. 2 the same applies to supplies in 2027 transmitted by 31 December 2027, only if the issuer's 2026 Gesamtumsatz (total turnover) under § 19(2) UStG was not over EUR 800,000.
Under no. 3 EDI (electronic data interchange) invoices for 2027 supplies issued by 31 December 2027 are allowed with the recipient's consent and without a turnover test. From 1 January 2028 every business established in Germany must issue E-Rechnungen to other such businesses, apart from the permanent exemptions.
Established includes a place of business in Germany that takes part in the supply. An electronic invoice to a foreign recipient needs that recipient's consent. The German customer has had to be able to receive since 1 January 2025, and an e-mail inbox suffices (paras. 62 and 40 of the 2024 letter). Nothing here means that foreign companies must send an XRechnung; see also who is affected by the mandate.
The federal supplier duty also covers a foreign business that is a trader (Unternehmer) under § 14 of the German Civil Code (BGB), according to the federal portal FAQ (read 3 December 2026). The same format rules apply, and the portal offers web entry in German and English.
When customers want both: the XRECHNUNG profile
The ZUGFeRD profile XRECHNUNG, available since ZUGFeRD 2.1.1, embeds an XRechnung in CII in the PDF/A-3 container and must follow the valid XRechnung.
One file can then serve a reader of the PDF and a system that processes an XRechnung, but the federal portal takes only the XML. It is the only ZUGFeRD profile whose validity follows XRechnung versions.
The receiving side: handling both formats
Receiving systems should read XRechnung in UBL and CII and ZUGFeRD in CII, because every business established in Germany has had to be able to receive E-Rechnungen since 1 January 2025, Kleinunternehmer (small businesses under § 19 UStG) included.
Validation is no legal condition, and the BMF names no validator (BMF FAQ, question 7).
A format error makes a sonstige Rechnung (para. 6a of the BMF letter of 15 October 2024 as amended), while a business-rule error without a format error remains an E-Rechnung (paras. 22 and 23 of the BMF letter of 15 October 2026). See how to validate an e-invoice.
XRechnung vs ZUGFeRD in practice: creating, checking and software
In daily work the choice comes down to four tasks: receiving files, creating them, checking them and choosing software that writes the format your customers need.
- Receiving: an e-mail inbox suffices, and every business established in Germany must be able to receive. See Receiving e-invoices.
- Creating: issue the file from invoicing software or convert an existing PDF; a plain PDF is never an E-Rechnung. See converting a PDF into an e-invoice.
- Software: the market is wide and changes quickly. See the e-invoicing software overview.
- Sending: no channel is prescribed, so email, upload, portals and Peppol all work. Peppol is a network, not a format, and no duty applies between businesses.
E-Rechnungspflicht is independent, and no placement on this page is for sale. If you want help choosing software that writes the right format, the request form passes your description to independent providers.
How the two formats fit among the other options
XRechnung and ZUGFeRD are two of the formats that satisfy § 14(1) sentence 6 UStG; any other format that meets EN 16931 is admissible too, and EDI without EN 16931 remains allowed for 2027 supplies issued by 31 December 2027 with the recipient's consent (§ 27(38) sentence 1 no. 3 UStG); after that, EDI must meet § 14(1) sentence 6 no. 1 or no. 2 UStG. The table places the neighbouring topics.
| Topic | Relation to XRechnung and ZUGFeRD | Page |
|---|---|---|
| EN 16931 | The standard behind both | EN 16931 |
| XRechnung | Pure XML format | XRechnung |
| ZUGFeRD | Hybrid PDF/A-3 format | ZUGFeRD |
| Peppol | A network, not a format | Peppol |
| Checking files | Validation of format and rules | Checking and validating |
| EDI | Without EN 16931: 2027 supplies, issued by 31 December 2027, with consent; later only if it meets § 14(1) sentence 6 UStG | Plain text, no page yet |
| UBL and CII in detail | The two syntaxes | Plain text, no page yet |
Status as of 3 December 2026.
Frequently asked questions
Four short answers on choosing between the two formats.
Which is better, XRechnung or ZUGFeRD?
Neither is better for VAT: both are valid, ZUGFeRD from version 2.0.1 except MINIMUM and BASIC WL, and the choice is a civil-law matter (section 14.1(12) sentence 5 UStAE). The receiving customer decides, so use the decision table above.
Can I convert a ZUGFeRD invoice into an XRechnung?
A ZUGFeRD invoice in the profile XRECHNUNG already contains an XRechnung in CII, and that XML file is what federal bodies accept without a PDF. For other profiles the invoicing program has to create the XRechnung.
Is XRechnung or ZUGFeRD free to use?
Yes: KoSIT provides the XRechnung including its technical artefacts free of charge, and FeRD describes ZUGFeRD as a freely available, cross-industry data format.
Is either format mandatory in Germany?
No: the VAT Act requires an E-Rechnung between businesses established in Germany but names no format. Receiving applies since 1 January 2025, and issuing from 1 January 2027 if the issuer's 2026 Gesamtumsatz under § 19(2) UStG was over EUR 800,000, otherwise from 1 January 2028, apart from the permanent exemptions (§ 27(38) sentence 1 UStG). See every date of the mandate.
Sources
- Gesetze im Internet: gesetze-im-internet.de/ustg_1980/__14.html
- Gesetze im Internet: gesetze-im-internet.de/ustg_1980/__14b.html
- Gesetze im Internet: gesetze-im-internet.de/ustg_1980/__27.html
- Gesetze im Internet: gesetze-im-internet.de/erechv/__2.html
- Gesetze im Internet: gesetze-im-internet.de/erechv/__3.html
- Gesetze im Internet: gesetze-im-internet.de/erechv/__4.html
- Bundesministerium der Finanzen: bundesfinanzministerium.de/Content/DE/FAQ/e-rechnung.html
- Bundesministerium der Finanzen: bundesfinanzministerium.de/Content/DE/Downloads/BMF_Schreiben/Steuerarten/Umsatzsteuer/…
- Bundesministerium der Finanzen: bundesfinanzministerium.de/Content/DE/Downloads/BMF_Schreiben/Steuerarten/Umsatzsteuer/…
- Bundesministerium der Finanzen: bundesfinanzministerium.de/Content/DE/Downloads/BMF_Schreiben/Weitere_Steuerthemen/…
- KoSIT (xeinkauf.de): xeinkauf.de/xrechnung/versionen-und-bundles
- KoSIT (xeinkauf.de): xeinkauf.de/xrechnung
- FeRD: ferd-net.de/standards/zugferd
- FeRD: ferd-net.de/standards/zugferd-faq
- FeRD: ferd-net.de/aktuelles-veranstaltungen/aktuelles/news/zugferd-252-veroeffentlicht
- FeRD: ferd-net.de/aktuelles-veranstaltungen/aktuelles/news/…
- E-Rechnung des Bundes: e-rechnung-bund.de/faq
- E-Rechnung des Bundes: e-rechnung-bund.de/e-rechnung/umsetzung-der-e-rechnung-in-den-bundeslaendern
- orh.bayern.de: orh.bayern.de/berichte/jahresberichte/jahresberichtsbeitraege/2026/2026_41/…
- EUR-Lex: CELEX 32017D1870