XRechnung in Germany: who requires it and how to read it

According to the Federal Ministry of Finance (BMF), XRechnung is a permitted e-invoice standard and is especially relevant for public contracts. Whether you have to use it depends on the applicable rules and who receives your invoice. Before sending it, confirm the format, references and submission route. A viewer can help you read the XML data; technical and substantive checks are separate steps.
What is an XRechnung?
According to the Federal Ministry of Finance (BMF), letter of 15 October 2025, an XRechnung contains structured invoice data as XML and implements EN 16931; an ordinary PDF without structured data does not serve this purpose. For your invoices, what matters is the file’s content, not just the invoice’s visible appearance or file name.
An e-invoice is the broader category. § 14 Abs. 1 of the German VAT Act (UStG) defines it by reference to a structured electronic format that allows electronic processing. According to the BMF, XRechnung is a standard that implements these requirements. An ordinary PDF sent by email without integrated data records is instead an invoice in the other-invoice category, according to the BMF.
The Coordination Office for IT Standards (KoSIT) names UBL 2.1 and UN/CEFACT CII as XML syntaxes. According to KoSIT, both are technical ways of writing the structured data; choosing one does not turn the invoice into a readable PDF. KoSIT says the European standard sets the common framework for invoice information. The article on EN 16931 explains what that framework means.
A hybrid format such as ZUGFeRD combines structured data with a human-readable component, such as a PDF, according to the BMF. The BMF says that not every ZUGFeRD profile meets the e-invoice requirements. XRechnung or ZUGFeRD explains how to decide based on the recipient’s requirements.
As of 21 October 2026, XRechnung 3.0 is in force according to the KoSIT FAQ; the KoSIT version overview lists 4.0 as a preliminary version. Distinguish viewer version numbers from this: they do not tell you which specification is currently in force overall.
Who requires an XRechnung?
Under § 4 of the E-Invoicing Ordinance (ERechV), XRechnung is generally the prescribed standard for invoices to the federal government. For other public buyers and between businesses, check the rules that apply in each case.
Section 4 ERechV names the current version of XRechnung for the federal government. It also permits another standard if it complies with the European standard. Check the receiving organisation’s and its platform’s requirements as well. Within the scope of the federal ordinance, the duty to issue and transmit invoices electronically follows from § 3 ERechV.
Do not apply this federal rule automatically to Germany’s states and their public bodies. The federal administration explains how e-invoicing is implemented in the states under their respective state rules. For a specific contract, ask which requirements apply.
Under § 3 ERechV, one exception to the federal duty covers invoices for a direct award after performance, up to and including €1,000; the Federal Network Agency explains that the amount excludes VAT. This is not a general exception for every invoice below that amount. The ordinance also covers confidentiality cases under § 8 ERechV and certain cross-border cases under § 9 ERechV; § 3 ERechV also excludes cases involving the delegation of administrative functions between public bodies. According to the Federal Network Agency, a contractual agreement on electronic invoicing may still matter.
Between businesses, XRechnung is not necessarily the only format, according to KoSIT. The guide to the e-invoicing obligation explains which duties and transition periods apply to your turnover.
The VAT exception for issuing invoices does not determine the requirements for public contracts. Under the small-business scheme, § 34a of the VAT Implementation Ordinance (UStDV) still permits invoices in the other-invoice category. According to the BMF FAQ, the UStG and ERechV apply alongside each other; receiving duties must also be checked separately.
The small-business scheme is a VAT classification, as § 34a UStDV shows for its invoices; it is separate from whether your activity is a liberal profession or a trade. Section 3 ERechV names neither the type of activity nor the label Kleingewerbe as a separate exemption from the format rules. Keep your tax classification separate from what the specific public contract requires.
What do you need to invoice a public authority?
Before issuing the invoice, confirm the Leitweg-ID (the public recipient’s routing reference), required order references and submission route directly with the receiving organisation. The Federal Network Agency points to the contract document or the invoice-processing office named there. Do not reuse a Leitweg-ID just because you used it on another invoice.
- Read the recipient’s instructions for the specific contract. Confirm which office processes the invoice and what information it requires. According to the Federal Network Agency, the Leitweg-ID routes an invoice to its public recipient; it is not the same as your own invoice number.
- Gather the references and additional details. Alongside the VAT invoice details, § 5 ERechV requires a Leitweg-ID, bank details, payment terms and a De-Mail or email address for invoicing. A supplier number and purchase order number are also required if they were provided when the order was placed.
- Confirm how to submit the invoice. According to the Federal Administration FAQ, invoices to the direct federal administration and federal constitutional bodies are accepted only through OZG-RE. The same FAQ says other organisations may use their own solutions; OZG-RE is the receiving platform there, not another invoice format. The recipient’s instructions remain decisive.
For example, the Federal Network Agency describes its own requirements and the platform route it uses. Its instructions do not replace those of another authority.
According to the BMF, you generally do not need a Leitweg-ID between businesses. A required buyer reference is not automatically this public routing reference, so do not leave a required reference field blank. Ask your customer which reference it expects. The guide to creating an e-invoice explains how to enter it in a file.
How do you open and read an XRechnung?
A viewer displays XML data in a readable form; you must separately check whether the invoice is technically valid and whether the invoiced service is correct. The BMF distinguishes visualising data from validating it. A readable display is therefore the starting point for a check, not confirmation that the invoice is correct.
- Select the XML file in a suitable viewer. ELSTER provides an official viewing aid. The version shown there, 3.0.1, identifies the implementation it uses; it does not replace KoSIT’s information on the current standard. When choosing a viewer, check that it works with your file.
- Compare the supplier, service, invoice date, delivery date or service period, and amounts with the contract and the actual delivery or service. § 14 Abs. 3 UStG requires authenticity of origin, integrity of content and legibility. Under that provision, internal controls that establish a reliable audit trail between the invoice and the supply are one permitted method of ensuring these requirements; Abs. 4 lists the invoice details. This comparison helps you identify the transaction without confusing the display with a substantive check.
- Distinguish technical messages from checking the service. According to the BMF, a suitable validation application can check for format errors. The BMF says business rules check the logical dependencies between invoice data as technical requirements. A validation report can show you these results; it does not prove that the service was actually delivered or that the agreed price is correct.
Even when an invoice displays without errors, the questions remain separate: can you read the data, does it meet the technical rules, and does it match the business transaction? If, for example, a displayed service does not match your contract, clarify the difference with the sender. A different viewer will not resolve that substantive question.
Also keep the original XML: according to the BMF, at least the structured invoice component must be retained intact in its original form; a PDF generated from it does not replace it. The BMF’s GoBD amendment of 14 July 2025 also covers human-readable components if they contain further or different tax-relevant information, such as accounting notes. The practical steps for receiving and storing e-invoices are in the separate guide.
Frequently asked questions
What is an XRechnung?
XRechnung is a standard for structured electronic invoices based on the European standard EN 16931. The invoice data is stored as XML and can be processed by software. According to the BMF, the standard meets the relevant statutory format requirements. A suitable viewer can help you read the XML data.
What is the difference between XRechnung and an e-invoice?
Under § 14 UStG, an e-invoice is the broader category: an invoice in a structured electronic format that allows electronic processing. XRechnung is one specific standard in that category. Other permitted formats are also possible. According to the BMF, an ordinary PDF without integrated structured invoice data is instead an invoice in the other-invoice category.
Does every XRechnung need a Leitweg-ID?
No. According to the BMF, a Leitweg-ID is generally not required between businesses. For invoices to the federal government, § 5 ERechV lists it as an additional mandatory item; you receive it from the contract or the receiving organisation. A requested buyer reference is not automatically a Leitweg-ID. You must still fill in any required reference fields.
How do I open an XRechnung?
Select the XML file in a suitable viewer; ELSTER provides an official viewing aid. The viewer makes the invoice data readable. A successful display confirms neither technical validity nor that the invoiced service was delivered. Compare the contents with your contract and, as required by the BMF, retain the original structured invoice component intact.