E-Rechnungspflicht
  1. Home
  2. Formats
  3. XRechnung

Formats

XRechnung: Germany's E-Invoice Standard, Its Versions, Structure and Who Must Use It

XRechnung explained: current version 3.0.2, file structure, extra German fields and who must use it, incl. foreign suppliers. As of 3 December 2026

Updated: 3 December 2026 · By the E-Rechnungspflicht Editorial Team · How we check facts · Print this page

Summary

XRechnung is Germany's national e-invoice standard: a purely structured XML file that applies the European standard EN 16931 to German rules, is published by KoSIT and is currently at version 3.0.2 (as of 3 December 2026).

It is free to use and exists in two XML syntaxes, UBL and CII.

An XRechnung counts as an E-Rechnung (e-invoice) under § 14(1) sentence 3 of the German VAT Act (Umsatzsteuergesetz, UStG). The federal e-invoicing ordinance (E-Rechnungsverordnung, ERechV) makes it, or another EN 16931 standard, mandatory for invoices to federal bodies. Between businesses it is allowed but not prescribed (§ 14(1) sentence 6 UStG).

This page covers who publishes the standard, which version is current, how a file is built, which extra German fields a validator demands and what that means for VAT. It then sets out who has to use it, including foreign suppliers. It belongs to the wider picture of German e-invoicing.

Feature Detail (as of 3 December 2026) Basis
Publisher KoSIT, Bremen KoSIT
Decision IT Planning Council, 22 June 2017 KoSIT FAQ
Type CIUS (core invoice usage specification) of EN 16931 KoSIT
Current version 3.0.2 KoSIT, versions and bundles
Validity 3.0 in force since 1 February 2024, valid until at least 31 July 2027 KoSIT, versions and bundles
Next version Pre-release 4.0.0 of 15 September 2026, not for production KoSIT
Syntaxes UBL 2.1 and UN/CEFACT CII Decision (EU) 2017/1870
Form Pure XML, no PDF Section 14.1(13) UStAE
Federal bodies XRechnung or another EN 16931 standard § 4(1) ERechV
Between businesses Allowed, not prescribed § 14(1) sentence 6 UStG; KoSIT FAQ
Cost Free of charge KoSIT FAQ
Section German e-invoice formats Parent page

What is XRechnung?

XRechnung is an invoice in XML format that counts as an E-Rechnung under § 14(1) sentence 3 UStG because it consists only of structured data, and it is one of several formats that German law accepts for e-invoices.

The UStG itself names no format. XRechnung is a format of KoSIT, while ZUGFeRD belongs to FeRD, the German forum for electronic invoicing.

Who publishes it: KoSIT and the European standard

XRechnung is published by the Coordination Office for IT Standards (Koordinierungsstelle für IT-Standards, KoSIT) in Bremen on behalf of the IT Planning Council, which decided on the standard on 22 June 2017. It is a CIUS of EN 16931: the same data model, with narrower German rules and an optional Extension.

The European standard rests on Directive 2014/55/EU of 16 April 2014 (OJ L 133, 6.5.2014, p. 1), which § 14(1) sentence 6 no. 1 UStG cites.

The Federal Ministry of Finance (Bundesministerium der Finanzen, BMF) does not publish XRechnung. Readers who want the data model itself will find it explained under the European standard behind every e-invoice.

A pure XML invoice, not a PDF

An XRechnung contains no PDF: it is a purely structured file (section 14.1(13) of the VAT Application Decree, UStAE), so a person needs a viewer to read it. The BMF FAQ (as of October 2026), question 12a, confirms that additional software is needed for display.

A PDF sent by email is never an E-Rechnung. It is a sonstige Rechnung ("other invoice": paper or a non-structured electronic invoice) under § 14(1) sentence 4 UStG, even where the sender calls it an "XRechnung" in the file name.

Which XRechnung version is current?

The current version is XRechnung 3.0.2 (specification of 20 June 2024), and version 3.0 stays in force until at least 31 July 2027 (as of 3 December 2026). The first bundle of 3.0.2 appeared on 2 July 2024.

Version or bundle Date Status (as of 3 December 2026) Source
3.0 In force since 1 February 2024 Valid until at least 31 July 2027 KoSIT, versions and bundles
3.0.2 Specification of 20 June 2024; first bundle 2 July 2024 Current version KoSIT, versions and bundles
Bundle 3.0.2 Summer 2026 Bugfix 31 August 2026 Latest bundle, no normative changes KoSIT, versions and bundles
Visualisation bugfix 13 October 2026 A component, not a bundle KoSIT, GitHub
Pre-release 4.0.0 15 September 2026 Not for production; final version expected in spring 2027 KoSIT, version 4 page

Version 3.0.2 and its bundles

Version 3.0 has been in force since 1 February 2024, and KoSIT states that it should be used. Since that day only 3.0.x is valid, and the earlier 2.x versions are history: 2.3.1 ran from 1 August 2023 to 31 January 2024.

The date of 31 July 2027 is a validity floor that KoSIT states, not a legal deadline. The latest bundle is "XRechnung Bundle 3.0.2 Summer 2026 Bugfix" of 31 August 2026, with no normative changes.

The visualisation bugfix of 13 October 2026 is a component of the tooling, and on 3 December 2026 no bundle is newer.

XRechnung 4.0: a pre-release, not yet in use

XRechnung 4.0.0 was published on 15 September 2026 as a pre-release (Vorversion) and is not yet intended for production use. It is not the version to build against today, and invoices must continue to follow 3.0.

According to KoSIT, the pre-release is based on the German implementation of EN 16931-1:2026, which KoSIT, in a notice of 1 September 2026, reports as ratified.

It would add more than 50 business terms. Group BG-35 for the early payment discount would replace the current discount convention, and group BG-34 would cover charges on behalf of a third party.

The final version and its bundle are expected in spring 2027. KoSIT also plans parallel use of the old and new editions of the European standard until March 2029.

How is an XRechnung file built?

An XRechnung is one XML document that carries the business terms of EN 16931 in either of two syntaxes, UBL 2.1 or UN/CEFACT CII, plus additional German rules that a validator checks.

Two XML syntaxes, one data model

EN 16931 recognises exactly two syntaxes, UBL 2.1 and UN/CEFACT CII, and XRechnung can be delivered in either. Both are listed in the annex to Commission Implementing Decision (EU) 2017/1870 of 16 October 2017 (OJ L 266, 17.10.2017, p. 19).

Both syntaxes carry the same business terms (BT) and business groups (BG), so the content is identical and only the XML tags differ. PDF, EDIFACT and Peppol are not syntaxes. A dedicated page on UBL and CII is not yet available in English.

Core, Extension and CVD variants

The core XRechnung is the standard variant. Its specification identifier in BT-24 is urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0. Business rule BR-DE-21 checks that BT-24 matches, but a mismatch produces only a warning, not a fatal error (Schematron 2.6.0).

The Extension is a conformant extension that adds sub invoice lines (BG-DEX-01) and payments to third parties (BG-DEX-09). The CVD variant implements the Clean Vehicles Directive 2009/33/EC as amended by Directive (EU) 2019/1161 of 20 June 2019, is based on XRechnung 3.0 and has its own rules BR-DE-CVD-01 to -06.

Which extra fields does XRechnung require?

On top of EN 16931, XRechnung adds German business rules (BR-DE rules) that require, for example, seller contact details, payment instructions and a customer reference, and a validator reports a file that breaks a fatal rule as invalid. The table lists the main rules with their field numbers and error level.

Rule Field (BT or BG) Content Level
BR-DE-1 BG-16 Payment instructions must be present Fatal
BR-DE-2 to -7 BG-6, BT-37, BT-38, BT-41, BT-42, BT-43 Seller contact group, city, post code, contact point, telephone, email Fatal
BR-DE-8, -9 BT-52, BT-53 Buyer city and post code Fatal
BR-DE-14 BT-119 VAT category rate Fatal
BR-DE-15 BT-10 Buyer reference Fatal
BR-DE-16 BT-31 or BT-32 Seller VAT or tax identifier for tax categories S, Z, E, AE, K, G, L and M Fatal
BR-DE-17 BT-3 Restricts the allowed invoice type codes Warning
BR-DE-18 BT-20 Discount text in a fixed syntax Fatal
BR-DE-21 BT-24 Specification identifier should match XRechnung Warning

Source: XRechnung Schematron 2.6.0 (version of 31 August 2026), as of 3 December 2026. What these rules mean for VAT comes from the BMF letters, which are summarised under BMF letters on the e-invoice.

The rules come from the KoSIT Schematron, not from the tax authorities, and BMF FAQ question 7 recommends no particular validator. For the practical steps, see how to validate an e-invoice.

The customer reference field and its tax effect

BR-DE-15 requires the buyer reference (BT-10) in every XRechnung, but its absence has no effect on VAT. Para. 35a of the BMF letter of 15 October 2024 as amended on 15 October 2025 says that business-rule errors on other content, such as a missing BT-10, are irrelevant for VAT.

The letter also allows a recipient to rely on a suitable validation tool used with commercial care. Keeping the validation report is sensible evidence of that care.

A format error is different: it turns the file into a sonstige Rechnung (para. 6a of the 2024 letter as amended on 15 October 2025). A business-rule error without a format error is still, in principle, an E-Rechnung (paras. 22 and 23 of the BMF letter of 15 October 2026).

For federal invoices the routing ID (Leitweg-ID) goes in BT-10. Between businesses a placeholder such as "-" is enough for VAT (BMF FAQ question 6). The German public-sector pages explain how the routing ID is built.

Do you have to use XRechnung?

The federal e-invoicing ordinance (E-Rechnungsverordnung, ERechV) requires XRechnung, or another standard that meets EN 16931, for invoices to federal bodies; between businesses established in Germany the law names no format and XRechnung is not required (as of 3 December 2026). The table shows the position by recipient.

The legal core of the business-to-business duty is § 14(2) sentence 2 no. 1 UStG, not the ERechV. That rule requires an E-Rechnung, and the format is left to the parties.

Recipient Must it be an XRechnung? Basis
Federal bodies XRechnung (sentence 1) or another EN 16931 standard (sentence 2); direct awards up to EUR 1,000 exempt § 4(1) ERechV; § 3(3) no. 1 ERechV; federal portal and ordinance
Länder and municipalities State law decides; a supplier duty exists in seven Länder: Bremen, Baden-Württemberg, Hamburg, Saarland, Mecklenburg-Vorpommern, Hessen and Rheinland-Pfalz (as of 3 December 2026) State law
Businesses established in Germany E-Rechnung required; format by agreement § 14(2) sentence 2 no. 1 UStG; § 14(1) sentence 6 UStG
A party not established in Germany No E-Rechnung duty under the UStG § 14(2) sentence 3 UStG

Invoices to German public bodies

A supplier has had to invoice federal bodies electronically 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 format is XRechnung under § 4(1) sentence 1 ERechV, or another standard that meets EN 16931 under sentence 2. More background is under invoicing the public sector.

Foreign suppliers are not exempt. The federal portal FAQ (read on 3 December 2026) says that invoicing follows the destination country in principle, so a foreign company to which the duty applies must also issue e-invoices.

The federal invoice portal OZG-RE has been the only federal receipt platform since 19 September 2025, and its web interface is available in German and English.

A ZUGFeRD file reaches the federal portal only as the profile XRECHNUNG, delivered as pure XML without a display format. The Länder follow their own state law, and the supplier duty exists in seven of them as listed above, not in every Land.

Invoices to German businesses, and what applies to foreign suppliers

Between businesses established in Germany the invoice must be an E-Rechnung under § 14(2) sentence 2 no. 1 UStG, but the UStG names no format, so XRechnung, ZUGFeRD or another EN 16931 format all qualify.

Under § 27(38) sentence 1 no. 1 UStG, supplies in 2025 and 2026 may still be invoiced as a sonstige Rechnung (paper, or another electronic format with the recipient's consent) transmitted by 31 December 2026.

For supplies in 2027, an issuer whose 2026 Gesamtumsatz (total turnover) under § 19(2) UStG was not over EUR 800,000 may still send a sonstige Rechnung by 31 December 2027 (no. 2).

EDI invoices for 2027 supplies issued by 31 December 2027 need the recipient's consent but no turnover test (no. 3). From 1 January 2028 every issuer needs an E-Rechnung, apart from the permanent exemptions. See the German e-invoice deadlines for every date.

The choice of format is a civil-law matter (section 14.1(12) UStAE). KoSIT's FAQ states that XRechnung is not mandatory between businesses and that no Leitweg-ID is needed. A format that meets EN 16931 is always admissible (para. 24 of the BMF letter of 15 October 2024 as amended).

A foreign supplier has no E-Rechnung duty under the UStG if at least one party is not established in Germany (§ 14(2) sentence 2 no. 1 and sentence 3 UStG; para. 16 of the 2024 letter).

Established means a seat, a place of management or a place of business taking part in the supply. An electronic invoice to a foreign recipient needs that recipient's consent, and a German customer must be able to receive one since 1 January 2025.

For gross-price invoices, para. 19 of the BMF letter of 15 October 2026 states that no gross-invoice format is currently available for XRechnung and ZUGFeRD.

The tax authorities will not object to EN 16931 invoices issued until 31 December 2027 with totals per tax rate and the items in an embedded annex. Readers can check who is affected by the mandate. For an individual case, consult a tax adviser.

Working with XRechnung files: reading, creating and checking

Handling XRechnung files in practice comes down to three tasks: reading the XML, creating a valid file and checking it before it is sent or booked. Each has its own page.

The tax administration's viewer at www.e-rechnung.elster.de displays XRechnung and ZUGFeRD files (BMF FAQ question 12a), and ELSTER calls it a non-binding service of the tax administration. It displays files only and neither creates nor validates them.

The KoSIT validator (version 1.6.3) and the KoSIT test suite (v2026-08-31, standard cases in UBL and CII) are KoSIT tools. Visualisations are not valid XRechnung instances and not meant for long-term archiving.

Software choices are collected under independent e-invoicing software.

Where XRechnung sits among the German e-invoice formats

XRechnung is one of several formats that German law accepts, and the choice between them is a matter of agreement with the customer, not of the UStG. The table places the neighbouring formats and networks.

Format or network Relation to XRechnung Page
ZUGFeRD 2.5.2 Hybrid PDF/A-3 plus XML, published by FeRD; the profile XRECHNUNG follows the valid XRechnung ZUGFeRD
EN 16931 The European standard that XRechnung narrows EN 16931
EDI Supplies in 2027, with the recipient's consent, issued by 31 December 2027 (§ 27(38) sentence 1 no. 3 UStG) No English page yet
Peppol A network, not a format, and not mandatory; XRechnung 3.0 document types are active in the Peppol code list Peppol in Germany
Sample files KoSIT test suite v2026-08-31 in UBL and CII No English page yet

The pages above cover each neighbour in detail. Factur-X is ZUGFeRD's technical twin and is treated on the ZUGFeRD page. The differences in daily use are set out under XRechnung compared with ZUGFeRD.

Short answers on the format, its cost, language and size

Five questions come up often with XRechnung. Each answer rests on a KoSIT or BMF statement, as of 3 December 2026.

Does an XRechnung contain a PDF?

No: an XRechnung is a purely structured XML file without a PDF part, so a viewer is needed to read it. The BMF FAQ (as of October 2026), question 12a, says the same.

Is XRechnung free to use?

Yes: KoSIT publishes the specification and the technical artefacts free of charge. The KoSIT validator is open source under the Apache-2.0 licence.

Is the XRechnung specification available in English?

The full specification is published in German only, and KoSIT offers an English summary. The federal portal web interface is available in German and English.

Is there a size limit for XRechnung files?

KoSIT's FAQ states no size limit for XRechnung files and their attachments; portal operators may set their own limits. Check the portal's limits before sending large attachments.

Does Germany have e-invoicing?

Yes: every business established in Germany has had to be able to receive an E-Rechnung since 1 January 2025, and issuing becomes mandatory for supplies from 1 January 2027 if the issuer's 2026 Gesamtumsatz exceeded EUR 800,000, and from 1 January 2028 for the others, apart from the permanent exemptions (§ 27(38) UStG). See e-invoicing deadlines in Germany for the full list.

Describe your request

Tell us in a few lines what you need for German e-invoicing. We pass your request to independent providers.

What do you need help with?

Requests go only to independent providers, and no placement on erechnungspflicht.com is for sale; the details are in the editorial policy.

Sources