# ZUGFeRD-Viewer

> Die Rechnungsdaten aus dem PDF lesbar, neben der PDF-Seite, jede Summe nachgerechnet.

Human page: https://unmakelabs.com/de-de/zugferd-viewer/. This is the version for AI agents.

## What it does

ZUGFeRD Viewer kostenlos: Die Daten im PDF sehen Die Rechnungsdaten aus dem PDF lesbar, neben der PDF-Seite, jede Summe nachgerechnet.

## Was ZUGFeRD ist

ZUGFeRD ist ein hybrides Rechnungsformat: ein PDF (PDF/A-3) mit einer eingebetteten XML-Datei, meist factur-x.xml oder zugferd-invoice.xml. Das PDF ist für Menschen, das XML für die Buchhaltung, und ab Version 2.1 ist ZUGFeRD identisch mit dem französischen Factur-X. Für die E-Rechnungspflicht zählt das XML. Ob ein PDF wirklich eine ZUGFeRD-Rechnung ist, sieht man ihm nicht an; der Viewer sagt es sofort.

## Für wen

Für alle, die prüfen wollen, ob ein PDF eine echte E-Rechnung ist, für Buchhaltung, die die Daten im XML mit dem sichtbaren PDF vergleichen will, und für alle, die das XML aus dem PDF brauchen.

## Facts

- **Öffnet:** XRechnung, ZUGFeRD, Factur-X (XML oder PDF), Peppol / UBL, CII, FatturaPA (.xml, .p7m)
- **Zeigt:** Parteien, Positionen, USt.-Aufstellung, Summen, IBAN und Zahlungsbedingungen, Hinweise, Anlagen
- **Prüft:** Jede Summe nachgerechnet (Regeln der EN 16931), häufige Pflichtangaben, IBAN-Prüfziffern
- **Speichert:** PDF, Positionen als CSV, JSON, das XML selbst

## How a person does it

1. **Rechnung öffnen.** Die .xml oder .pdf im Viewer ablegen oder „Datei auswählen“ tippen. Sie öffnet sich in einer Sekunde, auch mit Tausenden Positionen.
2. **Lesen und die Prüfung ansehen.** Die Rechnung erscheint wie eine normale Rechnung. Die Leiste oben sagt, ob alle Summen stimmen; Haken markieren die nachgerechneten Beträge.
3. **Speichern, was Sie brauchen.** Als PDF ablegen oder weiterleiten, die Positionen als CSV in eine Tabelle holen oder das XML herunterladen.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/de-de/zugferd-viewer/?src=https://unmakelabs.com/apps/einvoice/samples/peppol-be.xml`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: none: the invoice never goes in a link. `?src=<public invoice URL>` opens a file the visitor's browser can fetch (CORS).

Embed: `<iframe src="https://unmakelabs.com/embed/einvoice/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Send your own file (live)

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/einvoice_view/jobs?wait=25` with the file as multipart `file` (or JSON `file_base64` + `filename`, or `file_url`), API tool `einvoice_view`: Read an e-invoice (XRechnung, ZUGFeRD, Factur-X, Peppol, FatturaPA). The same engine code as this page. No sign-up; Free: 5 full results per IP per day without a key (resets at 00:00 UTC); POST /v1/keys gives an instant key with 25 more full results (one-time, not renewed); each accepted correction adds 1 free call (up to 20 a month).

```bash
# e-invoice: fields, lines and every total recomputed
curl -s -F "file=@invoice.xml" "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/einvoice_view/jobs?wait=25"
```

## Good to know

Die Profile MINIMUM und BASIC WL enthalten nur Summen und keine Positionen; sie gelten in Deutschland nicht als E-Rechnung im Sinne des UStG. Der Viewer zeigt das Profil unter Dateidetails. Ein PDF ohne XML bekommt eine klare Meldung.

## Not done by this tool

- Erstellt und wandelt keine Rechnungen um (noch nicht)
- Führt nicht die vollständigen offiziellen Regelwerke aus: nur Summen und die häufigsten Pflichtangaben
- Öffnet noch keine polnischen KSeF- oder spanischen Facturae-Dateien
- Versendet keine Rechnungen über Peppol

## Value

Opens electronic invoices in any browser, phones included, and shows them as a readable invoice: XRechnung (UBL and CII), ZUGFeRD 1.0 and 2.x and Factur-X (the XML alone, or the PDF with factur-x.xml / zugferd-invoice.xml / xrechnung.xml inside, all profiles from MINIMUM to EXTENDED), Peppol BIS Billing 3.0 and any EN 16931 UBL 2.1 invoice or credit note (also inside a Peppol SBDH envelope), and Italian FatturaPA (also signed .p7m, several invoices per file). Shows seller and buyer with VAT IDs and electronic addresses, references (buyer reference / Leitweg-ID, order, contract), lines with item numbers, allowances and charges, the VAT breakdown, totals, payment details (IBAN with check digits verified, BIC, payment reference, terms, XRechnung Skonto in words), notes and attached documents. Labels switch between English, German, French and Dutch independently of the page. Recomputes the sums by program (EN 16931 BR-CO-10 to BR-CO-17, VAT per category and rate, each line's quantity × price) and checks the most common required details, labelled as quick checks, not a full validation. Exports a PDF through the print dialog, the lines as CSV, the invoice as JSON and the XML itself (useful to get the XML out of a ZUGFeRD PDF). Nothing is uploaded. Free, no sign-up.

## When it fits

- A business received an XRechnung or ZUGFeRD / Factur-X file by email and sees only code, or wants a readable copy to file or forward.
- A Belgian or other Peppol user wants to read a UBL file outside their accounting software, on a phone or a computer without it.
- A bookkeeper wants to see quickly whether an e-invoice's sums and VAT add up and get its lines into a spreadsheet (CSV).
- Someone needs the XML out of a ZUGFeRD / Factur-X PDF, or wants to read an Italian FatturaPA (.xml or .p7m) from a supplier.

### When not

- Creating or converting invoices (the converter side is planned separately).
- A full validation against every official rule (EN 16931 Schematron, XRechnung BR-DE, Peppol, French or Italian national rules): only the sums and the most common required details are checked here.
- Polish KSeF and Spanish Facturae files (a plain message says so), sending invoices through Peppol or a French approved platform.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a public e-invoice by link (?src=) in any browser, phones included, and can be embedded (/embed/einvoice/).
- Agents can send their own file: POST /v1/einvoice_view/jobs (live, no sign-up, free calls) returns the invoice, its quick checks and every recomputed total as JSON, from the same code as the page. A full validation with the official rule sets is planned.
- Free viewers exist for single formats or countries (German XRechnung viewers, Italian FatturaPA viewers, a paid Belgian UBL app); several upload the file to a server, and most stop at display or show a long list of rule IDs.
- This viewer opens all the main EU formats in one place without upload or account, on a phone, in four label languages, recomputes every sum and shows where a figure is off, and gives the lines as CSV and the XML out of a PDF.

### What rebuilding it would take

- Write readers for UBL 2.1, UN/CEFACT CII D16B, ZUGFeRD 1.0 and FatturaPA with the EN 16931 field map, plus a PDF/A-3 attachment reader (FlateDecode streams, object streams) and a CAdES .p7m reader.
- Implement the EN 16931 calculation rules with the right tolerances, per-category VAT bases, profile quirks (MINIMUM, EXTENDED information lines, XRechnung third-party payments) and IBAN check digits.
- Lay out a readable, printable invoice with code lists (document types, VAT categories, payment means, units) in several languages, and test on the official sample sets.
- The official test suites to check against, code lists to keep current, and upkeep as XRechnung, Factur-X and Peppol versions change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Invoices are read on the user's device and never uploaded; files given by link are fetched by the user's browser from where they are stored.

_Status: viewer, quick checks, PDF (print), CSV, JSON and XML export work in the browser for XRechnung, ZUGFeRD / Factur-X, Peppol / UBL, CII and FatturaPA; the API (einvoice_view, agent upload) is live._

## Privacy

- Invoices are read on the user's device and not uploaded; there is no share link for invoices.
- For PDFs the page loads fflate and pdf.js from unmakelabs.com itself; no third-party code host is contacted.

## Data

Öffnet sich im Browser; Ihre Rechnung bleibt auf Ihrem Gerät. Nichts wird hochgeladen, und nichts davon landet in Links.

## FAQ

- **Wie sehe ich, ob mein PDF eine ZUGFeRD-Rechnung ist?** PDF hier ablegen. Enthält es ein Rechnungs-XML, erscheint die Rechnung mit Profil und Dateiname des XML; sonst sagt der Viewer, dass es ein gewöhnliches PDF ist.
- **Wie bekomme ich das XML aus dem ZUGFeRD-PDF?** Öffnen und auf „XML-Datei“ tippen: Das eingebettete XML wird unverändert gespeichert.
- **Stimmen PDF-Bild und XML überein?** Der Viewer zeigt die erste PDF-Seite neben den Daten und vergleicht automatisch: Steht der Rechnungsbetrag und die IBAN aus dem XML auch auf der PDF-Seite? Weicht etwas ab, sagt er es deutlich. Bei Abweichungen gilt laut BMF das XML.
- **Wann ist es das richtige Werkzeug, und wann nicht?** Passt für: Ein Betrieb hat eine XRechnung oder ZUGFeRD-/Factur-X-Datei per E-Mail bekommen und sieht nur Code, oder braucht eine lesbare Kopie zum Ablegen oder Weiterleiten. Jemand will eine Peppol-UBL-Datei außerhalb der Buchhaltungssoftware lesen, am Handy oder an einem Rechner ohne sie. Eine Buchhalterin will schnell sehen, ob Summen und Umsatzsteuer einer E-Rechnung stimmen, und die Positionen in eine Tabelle (CSV) holen. Jemand braucht das XML aus einem ZUGFeRD-PDF oder will eine italienische FatturaPA (.xml oder .p7m) eines Lieferanten lesen. Passt nicht für: Rechnungen erstellen oder umwandeln (die Konverter-Seite ist separat geplant). Eine vollständige Validierung gegen alle offiziellen Regeln (EN-16931-Schematron, XRechnung BR-DE, Peppol, nationale Regeln): Geprüft werden hier die Summen und die häufigsten Pflichtangaben. Polnische KSeF- und spanische Facturae-Dateien (eine klare Meldung sagt das), Versand über Peppol.
- **Ist das wirklich kostenlos?** Ja: keine Werbung, keine Anmeldung, keine Grenzen, kein Bezahlmodell fürs Anzeigen.
- **Wird meine Rechnung hochgeladen?** Nein. Die Datei wird in dieser Seite auf Ihrem Gerät gelesen. Es gibt keinen Upload und keinen Teilen-Link für Rechnungen.
- **Ist das eine vollständige Validierung?** Nein. Die Seite rechnet die Summen nach (Rechenregeln der EN 16931, USt. je Satz, jede Position) und prüft die häufigsten Pflichtangaben. Die offiziellen Regelwerke haben Hunderte Regeln; heute läuft alles in Ihrem Browser, eine vollständige Prüfung (später, auf unseren Servern) ist geplant.
- **Kann ein KI-Agent das nutzen?** Ja. Ein Agent kann seine eigene XML- oder PDF-Rechnung an die API schicken (einvoice_view, ohne Anmeldung, kostenlose Aufrufe; der Aufruf steht unter „Für KI-Agenten“) und bekommt die Rechnung und alle nachgerechneten Summen als Daten zurück, mit demselben Code wie diese Seite. Öffentliche Rechnungen kann er auch per Link in diesem Viewer öffnen (?src= und die Dateiadresse).
- **Wer macht das?** Unmake Labs (Julien Salomon). Kontakt: hello@unmakelabs.com.

## Related pages

- [E-Rechnung öffnen](https://unmakelabs.com/de-de/e-rechnung-oeffnen/)
- [XRechnung-Viewer](https://unmakelabs.com/de-de/xrechnung-viewer/)
