Hafiz Khalid · hmsk.life

E-Rechnung Viewer

Read and check XRechnung and ZUGFeRD e-invoices

For businesses in Germany that receive e-invoices. Drop in the XML or the ZUGFeRD PDF, see seller, items, VAT and bank details as a normal invoice, and get a list of errors with what to fix. Everything runs in your browser; the file is not uploaded.

Runs
In your browser
Signup
Not needed
Licence
MIT, open source
Topic
Money and paperwork
  1. 1.

    Use it free

    Open it in your browser. The first result needs no signup.

  2. 2.

    Run it yourself

    Open source under MIT. Take the code to your own server.

  3. 3.

    Stay in touch

    One email when it gets a new feature. Nothing else.

Screenshot of E-Rechnung Viewer in the browser, with example data: Turns an XRechnung or ZUGFeRD file into a readable invoice and checks it in plain language. (open the full-size image)
Fig. 1: E-Rechnung Viewer with example data.

What it does

  1. Opens XRechnung in both syntaxes (UN/CEFACT CII and UBL, invoices and credit notes) and pulls the embedded XML out of ZUGFeRD and Factur-X PDFs.
  2. Shows seller, buyer, Leitweg-ID, line items with unit names, the VAT breakdown with each category explained (for example AE reverse charge, K intra-EU supply), totals and the IBAN formatted for paying.
  3. Checks a subset of the EN 16931 and XRechnung 3.0 rules: required fields, line and total sums, VAT category rules, seller contact, buyer reference, payment details.
  4. Extra checks for IBAN, German VAT ID and Leitweg-ID check digits, line arithmetic and dates, each finding explained in English or German with what to fix.
  5. Print view for a clean, readable copy to file with the original XML.
  6. Three sample files, one with deliberate mistakes, show a result in one click.

Why I built it

Since 1 January 2025 every business in Germany has to accept e-invoices, and what arrives is an XML file that you cannot read without special software. I wanted to open one, see what it says and know whether it is correct before booking or paying it. This is a quick check, not the official KoSIT validator, and it says so on every result. It is the receiving side of my Invoice tool, which creates XRechnung files.

Hafiz

Limits. A quick check, not the official KoSIT validator: no XML Schema check and fewer rules. Not tax advice.

Run it on your own server

Static files only: open index.html or put the public folder on any web server. No build step, no dependencies.

Stack
HTML, JavaScript (no dependencies)
Licence
MIT
git clone https://github.com/Shazi1212/hmsk-e-rechnung.git

Also for your paperwork

Newsletter

Hear when E-Rechnung Viewer gets better.

One email when E-Rechnung Viewer or another tool gets a real update. A few times a year, no tracking.