How to open and read an XRechnung file
Last updated:
Key points
- An XRechnung is a pure XML file with no visual layer. You need a viewer to read it.
- Our free viewer displays it as a readable invoice and validates it at the same time – in your browser, without uploading.
- With ZUGFeRD you see a normal PDF, but the embedded XML is what counts legally.
- Keep the original XML file unchanged for eight years; a printout alone is not enough.
Since 2025, all German businesses must be able to receive e-invoices. Many now receive an .xml file for the first time – and see only code when they open it. That is expected: an XRechnung is made for software, not for people.
Why an XRechnung does not look like an invoice
An XRechnung holds every invoice detail as structured data – number, date, seller, buyer, lines, VAT and totals each sit in a defined field. There is no layout and no logo. A viewer assembles the fields into a readable invoice. The BMF explicitly notes that no additional human-readable document is required, because the file can be displayed by a visualization tool.
How to open it
- Go to the XRechnung viewer.
- Drop the XML file into the box or choose it.
- You get a readable invoice and can save it with “Download as PDF”.
The file is not uploaded – viewing and converting happen in your browser. For a full validation report with explanations, use Validate e-invoice: “Save invoice as PDF” gives you a readable copy of the invoice, “Save report as PDF” the validation result. The PDF is only a view – what you must keep is the XML file itself (see below).
Alternatively, many accounting and ERP systems can import and display XRechnung files. KoSIT also publishes official XSL transformations for rendering, aimed at developers.
And ZUGFeRD?
A ZUGFeRD invoice is a PDF with an embedded XML invoice. You can open it with any PDF reader, but the structured XML data are leading: if the PDF and the XML differ, the XML prevails (BMF letter of 15 Oct 2025). Our viewer therefore extracts and displays the embedded XML.
Archiving
Keep the XML file itself, unchanged, for eight years (§ 14b UStG; BMF letter of 15 Oct 2025, para. 60). A printout or PDF view alone is not sufficient. Avoid opening and re-saving it in Word or Excel.