How to open an XRechnung XML file
Updated 2026-10-05
You received an invoice as an .xml file and it opens as a wall of tags. That is normal: XRechnung and other e-invoices are made for software, not for people. Here is how to read them.
Option 1: free online viewer
Upload the file to the einvoicegen viewer. It shows the invoice as a readable document (seller, buyer, line items, VAT, totals, bank details) and checks it against the official XRechnung and EN 16931 rules. It works with:
- XRechnung in CII and UBL syntax
- ZUGFeRD and Factur-X PDFs (the embedded XML is extracted)
- Peppol BIS / EN 16931 UBL invoices
The file is processed in memory and not stored. You can download the result as PDF (see convert XRechnung to PDF), and for ZUGFeRD PDFs also download the embedded XML.
Option 2: your accounting software
Most current accounting tools can import e-invoices directly. If yours cannot, a viewer is the quickest workaround: either a desktop program or the online viewer (see Quba viewer alternative for which fits when).
Option 3: a text editor (not recommended)
You can open the XML in any editor and search for the amounts. In CII files, the total due is in DuePayableAmount; in UBL files it is PayableAmount. This is error-prone and does not tell you whether the invoice is valid.
The invoice is "not valid": what now?
The viewer lists every rule the file breaks, with the official rule code (for example BR-DE-15 for a missing buyer reference). Forward the list to the sender and ask for a corrected invoice. Under German rules, an e-invoice with formal errors may need to be reissued before you can deduct input VAT; ask your tax advisor if in doubt.
Need to send an e-invoice?
Create a valid XRechnung and ZUGFeRD invoice in 2 minutes, in English. Free preview, validated with the official KoSIT validator.
More guides
- What is XRechnung? A plain-English guide
- ZUGFeRD vs XRechnung: which one should you send?
- Leitweg-ID explained: invoicing German public authorities
- Reverse charge on e-invoices (XRechnung, ZUGFeRD)
- XRechnung validation errors explained (BR-DE-15, BR-CO-10, …)
- Convert XRechnung XML to PDF (free, online)
- Quba viewer alternative: open XRechnung online, no install
- How to read a ZUGFeRD PDF and extract the XML
- Germany's e-invoicing mandate: what changes in 2027 and 2028
- E-invoices for small businesses (Kleinunternehmer) in Germany
- Invoicing a German client from abroad: e-invoice rules for UK, US and Swiss suppliers