Free tool

XRechnung viewer: open and read an e-invoice

Drop an XRechnung (XML) or a ZUGFeRD PDF into the box. You see the invoice straight away, with every line item, the VAT and the bank details.

Drag your file here

Accepted: .xml, .pdf · max. 20 MB

  • Runs in your browser. The file is not uploaded.
  • No sign-up
  • Free

How to open an XRechnung

  1. Choose a file

    Drag the XML or ZUGFeRD PDF file into the box or click “Choose file”. There is a sample XRechnung to try it out.

  2. Read the invoice

    Seller, buyer, line items, VAT per rate and bank details appear as on a printed invoice. The result of the arithmetic check is shown at the top.

  3. Save

    Save a reading copy with “Save as PDF” via the print dialog, or download the XML from a ZUGFeRD PDF on its own.

The file is read on your device. No server receives it.

Updated November 2026

How do I open an XRechnung?

An XRechnung is a plain XML file. It holds all the invoice data but no picture of the invoice, so you need a viewer to read it. This viewer shows XRechnung files in both syntaxes (UBL and CII) and ZUGFeRD invoices from version 2.0.1 as a normal invoice, recalculates the totals and, if you want, saves a reading copy as a PDF. Your file stays on your computer.

E-invoicing guide →

Why an XRechnung won't open like a PDF

An XRechnung usually arrives as an email attachment, for example rechnung.xml. Double-click it and, depending on your computer, it opens in the browser or a text editor. Instead of an invoice you see code with fields like cbc:PayableAmount. The sender did nothing wrong. XRechnung is a „rein strukturiertes Format“ (purely structured format): the file contains every detail but no image. To read the XML file you need „eine zusätzliche Software zur Visualisierung“ (additional software to visualise it), says the BMF (Federal Ministry of Finance) in its Q&A on e-invoicing. In other words, a viewer. Since 2025 every business in Germany has to be able to receive e-invoices, including Kleinunternehmer (small businesses under the VAT threshold), who don't have to issue them.

The viewer turns the fields back into the lines you know from a paper invoice: invoice number, service, VAT, amount due, bank details. In the standard these fields have numbers. The invoice number is BT-1, for example, and the amount due is BT-115.

The XML file

<ubl:Invoice …>
  <cbc:CustomizationID>urn:cen.eu:en16931:2017
    #compliant#urn:xeinkauf.de:kosit:xrechnung_3.0
  </cbc:CustomizationID>
  <cbc:ID>RE-2026-0142</cbc:ID>
  <cbc:IssueDate>2026-10-28</cbc:IssueDate>
  <cbc:DueDate>2026-11-11</cbc:DueDate>
  <cac:AccountingSupplierParty>
    <cac:Party>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>
          Beispiel Elektrotechnik GmbH
  …
  <cac:LegalMonetaryTotal>
    <cbc:TaxExclusiveAmount currencyID="EUR">753.00
    <cbc:TaxInclusiveAmount currencyID="EUR">891.39
    <cbc:PayableAmount currencyID="EUR">891.39

In the XRechnung viewer

The sample XRechnung RE-2026-0142 in the XRechnung viewer: seller, buyer, three line items, VAT and an amount due of €891.39
Left, an excerpt of the sample XRechnung; right, the same file in the viewer (screenshot). The companies and amounts are made up. You can open the file yourself with “Load sample XRechnung”.

Which files the viewer opens

You can choose an XML file or a PDF file. With a PDF, the viewer looks for the embedded invoice XML and shows only that. Which formats it displays in full, and which count as an e-invoice under the Umsatzsteuergesetz (German VAT Act):

Formats in the XRechnung viewer (as of November 2026)
FormatFileSyntaxDisplayCounts as an e-invoice
XRechnung 3.0 (and older 2.x).xmlUBL 2.1 or UN/CEFACT CIIin fullyes
ZUGFeRD from 2.0.1, profiles BASIC, EN 16931, EXTENDED, XRECHNUNG.pdf with embedded XMLUN/CEFACT CIIin fullyes
ZUGFeRD from 2.0.1, profiles MINIMUM and BASIC WL.pdf with embedded XMLUN/CEFACT CIIwith a note, because data is missingno
ZUGFeRD 1.0.pdfolder CII schemano, with an explanationno (only from version 2.0.1)
PDF without embedded XML.pdfnoneno, with an explanationno

The last column follows the BMF letter of 15 October 2024 (paras. 25 and 30), as supplemented by the letters of 15 October 2025 and 2026: XRechnung and ZUGFeRD from version 2.0.1 are e-invoices, except the ZUGFeRD profiles MINIMUM and BASIC WL. The current XRechnung specification is 3.0.2; according to KoSIT, version 3.0 stays in force until at least 31 July 2027.

ZUGFeRD: does the picture count, or the XML?

A ZUGFeRD invoice looks like an ordinary PDF but carries an XML file inside it. Since 1 January 2025 that XML is the actual invoice. This is what the ZUGFeRD FAQ of the Forum elektronische Rechnung Deutschland (FeRD) says, and the BMF recommends in its FAQ „den übermittelten XML-Teil selbstständig zu visualisieren“ (to visualise the transmitted XML part yourself). We think this is the most important point when you check a ZUGFeRD invoice: what the PDF image shows need not match what the XML says.

That is why, for a PDF, this viewer reads only the embedded XML and ignores the image. Put the viewer next to the PDF. If the invoice number, amount due and IBAN match, the two parts agree. If a value differs, the value in the XML is the one that counts.

What the arithmetic check covers, and what it doesn't

Above the invoice, the viewer shows whether the amounts in the file add up. It recalculates five totals:

  • The line items add up to the invoice's sum of line amounts.
  • Net is the sum of line amounts minus allowances plus charges.
  • VAT is the sum of the tax for each VAT rate.
  • Gross is net plus VAT.
  • The amount due is gross minus prepayment plus rounding.

In the European standard EN 16931 these rules are called BR-CO-10, BR-CO-13, BR-CO-14, BR-CO-15 and BR-CO-16.

The arithmetic check only looks at amounts. Mandatory fields, code lists and the German extra rules are checked by a validator based on the KoSIT rules, such as our free XRechnung validator, which also runs in your browser, or the e-invoice validator of the state of Baden-Württemberg. The tax authorities also offer a free e-invoice viewer in the ELSTER portal. This viewer reads the file directly in your browser and also recalculates the totals.

How we tested the viewer

On 4 November 2026 we ran the viewer's reading module by script against two public collections. From the KoSIT XRechnung test suite (as of 31 August 2026), all 86 test invoices in UBL and CII were displayed. From the ZUGFeRD corpus on GitHub we opened the 126 invoice files (PDF and XML) our project had downloaded from it on 3 November 2026: 106 were read in full, 19 are ZUGFeRD 1.0, and one file is a PDF without embedded XML. For one test invoice with the XRechnung extension, the arithmetic check reported a different amount due, because the extension allows payments by third parties. Since then the viewer skips this one total for invoices with the extension. How we test tools and choose sources is explained in How we test.

Save as PDF: a reading copy for your files

“Save as PDF” opens your browser's print dialog; there you choose “Save as PDF” as the destination. The result is a reading copy, for your records or for colleagues without a viewer. The XML is what you have to keep. Since 2025 the retention period for invoices is eight years (§ 14b UStG), and according to the BMF the structured part of an e-invoice must be kept „in seiner ursprünglichen Form“ (in its original form). For a ZUGFeRD PDF, the “Download XML” button also saves the embedded XML on its own.

Leitweg-ID and buyer reference

In the viewer, the buyer reference (field BT-10) appears under “Buyer reference / Leitweg-ID”. On invoices to public bodies this field holds the Leitweg-ID (the buyer's routing ID), which identifies the office that receives the invoice. Invoices between businesses don't need a Leitweg-ID; for VAT purposes a placeholder such as “-” is enough (BMF FAQ, question 6). For obligations and deadlines, see our guide to e-invoicing in Germany.

XRechnung viewer FAQ

Is there a free XRechnung viewer?

This viewer is free and works without sign-up. The German tax authorities also offer a free viewer at e-rechnung.elster.de.

What software do I need to open an XRechnung?

No dedicated program. A viewer in the browser is enough, such as this one or the e-invoice viewer in the ELSTER portal. Whether your accounting software imports XRechnung files directly is explained in its help pages. In Chrome and Edge on a computer, you can install this viewer as an app via the icon in the address bar. After that you open an XML file with right-click, Open with, pdfvera.

How do I open a ZUGFeRD invoice?

Any PDF program opens a ZUGFeRD invoice, but then you only see the image. To read the XML that counts, drag the PDF into the viewer. It shows the content of the embedded file factur-x.xml or xrechnung.xml.

How do I convert an XRechnung to PDF?

Open the XRechnung in the viewer and click “Save as PDF”. In the print dialog, choose “Save as PDF” as the printer. The PDF is a reading copy; the XML file is what you must keep.

How can I check an XRechnung?

The viewer checks whether line items, VAT and totals add up. To check against all the rules of the standard, use the free XRechnung validator at pdfvera.com/en/xrechnung-validator/, which uses the KoSIT rules and also runs in your browser.

Are my invoices uploaded?

The file is read in your browser and not uploaded. We only count usage and the detected format, nothing from the content of the invoice.

Why won't the viewer show my ZUGFeRD 1.0 invoice?

ZUGFeRD 1.0 uses an older data schema that the viewer doesn't read. Under the BMF letter of 15 October 2024, ZUGFeRD only counts as an e-invoice from version 2.0.1. Ask the sender for a current version.

Sources

  1. Bundesministerium der Finanzen: Fragen und Antworten zur Einführung der obligatorischen E-Rechnung (as of 29 October 2026)
  2. Bundesministerium der Finanzen: BMF-Schreiben vom 15.10.2024, Einführung der obligatorischen elektronischen Rechnung (copy hosted by FeRD) (15 October 2024)
  3. KoSIT / XStandards Einkauf: XRechnung: Versionen und Bundles (accessed 4 November 2026)
  4. Forum elektronische Rechnung Deutschland (FeRD): ZUGFeRD-FAQ (accessed 4 November 2026)
  5. Bundesministerium der Justiz: § 14b UStG, Aufbewahrung von Rechnungen (retention of invoices) (accessed 4 November 2026)
  6. KoSIT: XRechnung Test Suite (GitHub) (release 31 August 2026)
  7. ZUGFeRD community: ZUGFeRD corpus (GitHub) (accessed 4 November 2026)