# XML-factuur naar pdf

> Sleep de XML-factuur hierheen: ze verschijnt als een gewone factuur, met elk totaal nagerekend. Sla ze op als pdf om te bewaren, af te drukken of door te sturen.

Human page: https://unmakelabs.com/nl-be/xml-factuur-naar-pdf/. This is the version for AI agents.

## What it does

XML-factuur naar pdf: XML-factuur erin, leesbare pdf eruit Sleep de XML-factuur hierheen: ze verschijnt als een gewone factuur, met elk totaal nagerekend. Sla ze op als pdf om te bewaren, af te drukken of door te sturen.

## Waarom facturen als XML komen

Met de verplichte e-facturatie tussen bedrijven in België (sinds 2026) en in andere Europese landen reizen facturen als gestructureerde data: UBL of CII volgens de norm EN 16931. Software leest dat; mensen niet. Een leesbare pdf blijft handig voor je archief, een goedkeuring of iemand zonder boekhoudpakket.

## Voor wie

Voor iedereen die een leesbare kopie van een XML-factuur nodig heeft: kleine bedrijven, wie een betaling moet laten goedkeuren, boekhouders, onkostennota's.

## Facts

- **Opent:** Peppol / UBL, Factur-X en ZUGFeRD (XML of pdf), XRechnung, CII, FatturaPA (.xml, .p7m)
- **Toont:** Partijen, regels, btw-overzicht, totalen, IBAN en betalingsvoorwaarden, opmerkingen, bijlagen
- **Controleert:** Elk totaal nagerekend (regels EN 16931), veelvoorkomende verplichte gegevens, IBAN-controlecijfers
- **Bewaart:** Pdf, regels als CSV, JSON, de XML zelf

## How a person does it

1. **Open de factuur.** Sleep het .xml- of .pdf-bestand naar de viewer of tik op Bestand kiezen. Hij opent in een seconde, ook met duizenden regels.
2. **Lees hem en bekijk de controles.** De factuur verschijnt als een gewone factuur. De balk bovenaan zegt of alle totalen kloppen; vinkjes tonen de nagerekende bedragen.
3. **Bewaar wat je nodig hebt.** Sla hem op als pdf om te bewaren of door te sturen, neem de regels als CSV mee naar een rekenblad, of download de XML.

## 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/nl-be/xml-factuur-naar-pdf/?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

De pdf is een leesbare kopie; de wettelijke factuur blijft het XML-bestand. Onderaan de pdf staan het bronbestand en het formaat.

## Not done by this tool

- Maakt of zet geen facturen om (nog niet)
- Past niet alle officiële regelsets toe: alleen totalen en de meest voorkomende verplichte gegevens
- Opent nog geen Poolse KSeF- of Spaanse Facturae-bestanden
- Verstuurt geen facturen via 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

Opent in je browser; je factuur blijft op je toestel. Er wordt niets geüpload, en er komt niets van in links.

## FAQ

- **Hoe zet ik een XML-factuur om naar pdf?** Sleep de XML hierheen, tik op Opslaan als pdf en kies „Opslaan als pdf” in het afdrukvenster.
- **Welke XML-facturen werken?** UBL (Peppol BIS, NLCIUS, XRechnung UBL), CII (Factur-X, ZUGFeRD, XRechnung) en FatturaPA.
- **Kan ik de regels in Excel krijgen?** Ja: Regels (CSV) bewaart elke regel met artikelnummer, aantal, eenheid, prijs, bedrag en btw-tarief.
- **Wanneer is het de juiste tool, en wanneer niet?** Geschikt voor: Een bedrijf kreeg een Peppol-UBL-bestand of een Factur-X/ZUGFeRD-pdf en ziet alleen code, of wil een leesbare kopie om te bewaren of door te sturen. Iemand wil een UBL-bestand lezen buiten de boekhoudsoftware, op een gsm of een computer zonder die software. Een boekhouder wil snel zien of de totalen en de btw van een e-factuur kloppen, en de regels in een rekenblad (CSV) krijgen. Iemand heeft de XML uit een Factur-X-pdf nodig, of wil een Italiaanse FatturaPA (.xml of .p7m) van een leverancier lezen. Niet geschikt voor: Facturen maken of omzetten (de converter is apart gepland). Een volledige validatie tegen alle officiële regels (EN 16931-Schematron, Peppol, nationale regels): hier worden de totalen en de meest voorkomende verplichte gegevens gecontroleerd. Poolse KSeF- en Spaanse Facturae-bestanden (een duidelijke melding zegt dat), versturen via Peppol.
- **Is het echt gratis?** Ja: geen reclame, geen account, geen limieten, geen betaalde versie om te bekijken.
- **Wordt mijn factuur geüpload?** Nee. Het bestand wordt in deze pagina op je toestel gelezen. Er is geen upload en geen deellink voor facturen.
- **Is dit een volledige validatie?** Nee. De pagina rekent de totalen na (rekenregels van EN 16931, btw per tarief, elke regel) en controleert de meest voorkomende verplichte gegevens. De officiële regelsets tellen honderden regels; vandaag gebeurt alles in uw browser, en een volledige controle (later, op onze servers) is gepland.
- **Kan een AI-agent dit gebruiken?** Ja. Een agent kan zijn eigen XML- of pdf-factuur naar de API sturen (einvoice_view, zonder registratie, gratis oproepen; de oproep staat onder Voor AI-agents) en krijgt de factuur en alle herberekende totalen terug als data, met dezelfde code als deze pagina. Een openbare factuur kan hij ook via een link in deze viewer openen (?src= en het adres van het bestand).
- **Wie maakt dit?** Unmake Labs (Julien Salomon). Contact: hello@unmakelabs.com.

## Related pages

- [UBL-bestand openen](https://unmakelabs.com/nl-be/ubl-bestand-openen/)
