What is XRechnung?
XRechnung is Germany’s format for electronic invoices: an invoice that consists of nothing but an XML file. It carries the same information as a paper invoice, but as structured data that accounting software can book without retyping. Opened with a double click, it shows angle brackets or an error, because the file is written for programs rather than people.
The standard is maintained by KoSIT, Germany’s coordination office for IT standards, and implements the European norm EN 16931. The current release is 3.0.2; KoSIT says version 3.0 stays valid until at least 31 July 2027. A preliminary XRechnung 4.0 based on the revised EN 16931-1:2026 has been published, with the final version expected in spring 2027.
An XRechnung comes in one of two syntaxes: UBL (the file starts with <Invoice> or<CreditNote>) or UN/CEFACT CII (<CrossIndustryInvoice>). They carry the same content. Invoices to public bodies include a Leitweg-ID in the buyer reference field (BT-10), which routes the invoice to the right office.
How it works
- Drop the XML file on the sheet above or click “Choose XML file”. If it came by email, save the attachment first.
- The invoice appears as a readable business document. Key data and the result of the arithmetic check are shown alongside; embedded attachments can be downloaded from the view.
- “Print or save as PDF” opens your browser’s print dialog with only the invoice on the page. Pick “Save as PDF” to keep a copy.
Everything happens on your device. That matters for accountants and anyone handling client data: there is no third-party processor to assess, because nothing is transferred.
What the check covers
- Line amounts add up to the line total; net plus VAT equals the gross total; gross minus prepayments equals the amount due (BR-CO-10 to BR-CO-16)
- VAT per rate matches its taxable base
- Mandatory fields such as invoice number, date, seller and buyer names and countries
- For XRechnung: buyer reference / Leitweg-ID, seller contact details and payment instructions (BR-DE-1, BR-DE-2, BR-DE-15)
- Check digits of every IBAN
This is a plausibility check, not a validation against the XML schema and the full Schematron rule set. For that, use the official KoSIT validator.
German deadlines
Since the Growth Opportunities Act, invoices between businesses established in Germany must be e-invoices (§ 14 UStG), phased in as follows:
| From | What applies |
|---|---|
| 1 Jan 2025 | Every business in Germany must be able to receive e-invoices; an email inbox is enough. |
| to 31 Dec 2026 | Paper invoices remain allowed for supplies in 2025 and 2026; other electronic formats such as a plain PDF only with the recipient’s consent. |
| 1 Jan 2027 | Businesses with more than €800,000 turnover in the previous year must issue e-invoices. |
| 1 Jan 2028 | The obligation covers all domestic B2B supplies; the remaining transition for small businesses and EDI ends on 31 Dec 2027. |
Invoices up to €250 and travel tickets are exempt, and small businesses under § 19 UStG need not issue e-invoices (§ 34a UStDV), although they must be able to receive them. The Federal Ministry of Finance lists XRechnung and ZUGFeRD from version 2.0.1, except the MINIMUM and BASIC-WL profiles, as valid formats. Invoices to federal authorities have had to be electronic since 27 November 2020 and are submitted through the OZG-RE platform.
Invoices must be kept for eight years (§ 14b UStG, previously ten), and it is the XML in its original form that counts. As of November 2026 the federal government does not plan to postpone the deadlines (Bundestag printed paper 21/7311). This page is orientation, not tax advice.
Frequently asked questions
How do I open an XRechnung file?
Drop the XML file on the sheet at the top of this page. Your browser renders it as a readable invoice with seller, line items, VAT and bank details. No software or account is needed.
Is my invoice uploaded anywhere?
No. The file is read by your browser and never leaves your computer. There is no server that receives invoices and nothing is stored. You can confirm this in the Network tab of your browser’s developer tools.
Can I convert an XRechnung to PDF?
Yes. Click “Print or save as PDF” and choose “Save as PDF” as the printer. The PDF is a reading copy; under German rules the XML file itself is what you must archive.
Does it read both UBL and CII?
Yes. XRechnung exists in two syntaxes, OASIS UBL and UN/CEFACT CII. The viewer detects which one a file uses and also reads other EN 16931 invoices such as Peppol BIS Billing 3.0.
Does the viewer validate the invoice?
It runs a plausibility check: totals, VAT per rate, key mandatory fields, the XRechnung-specific rules for the Leitweg-ID and seller contact, and IBAN check digits. It is not a full schema and Schematron validation; for that use the official KoSIT validator.
I am a supplier outside Germany. Do I need XRechnung?
German federal authorities require electronic invoices, usually XRechnung, and a Leitweg-ID. For B2B, the German mandate applies to invoices between businesses established in Germany. Check with your customer which format and channel they expect.
What is the difference between XRechnung and ZUGFeRD?
XRechnung is a pure XML file. ZUGFeRD (Factur-X in France) is a PDF with the invoice XML embedded inside it, so people read the PDF and software reads the XML. Use the ZUGFeRD viewer for those PDFs.
Sources
- § 14 UStG – Ausstellung von RechnungenBundesministerium der Justiz, gesetze-im-internet.de
- § 27 Abs. 38 UStG – Übergangsregeln zur E-RechnungBundesministerium der Justiz, gesetze-im-internet.de
- § 33 UStDV – KleinbetragsrechnungenBundesministerium der Justiz, gesetze-im-internet.de
- § 34a UStDV – Rechnungen von KleinunternehmernBundesministerium der Justiz, gesetze-im-internet.de
- § 14b UStG – Aufbewahrung von RechnungenBundesministerium der Justiz, gesetze-im-internet.de
- Fragen und Antworten zur Einführung der obligatorischen E-RechnungBundesministerium der Finanzen
- BMF-Schreiben vom 15.10.2025 zur obligatorischen E-Rechnung (ändert das Schreiben vom 15.10.2024, BStBl I S. 1320)Bundesministerium der Finanzen, BStBl I S. 1806
- Antwort der Bundesregierung, BT-Drucksache 21/7311 (keine Verschiebung der Fristen geplant)Deutscher Bundestag, 24.07.2026
- § 3 E-Rechnungsverordnung (ERechV) – Pflicht zur elektronischen Rechnung an den Bundgesetze-im-internet.de
- Ein Jahr erfolgreiche Konsolidierung: OZG-RE ersetzt ZREE-Rechnung Bund (Beschaffungsamt des BMI), 25.06.2026
- XRechnung – Versionen und BundlesKoSIT / xeinkauf.de
- KoSIT Validator (offizielles Prüfwerkzeug, Open Source)KoSIT auf GitHub
Last reviewed: