From XML to a readable invoice
Invoices exchanged over Peppol are UBL 2.1 XML files following Peppol BIS Billing 3.0, the format for Belgian B2B e-invoicing since 1 January 2026. Your accounting software reads them automatically, but a person opening the raw XML sees hundreds of tags. This viewer turns the file into an invoice layout in your browser:
- Seller and buyer with name, address, VAT number, enterprise number and Peppol endpoint, each checked (
0208,9925,BE...). - Lines with quantity, unit code, net price, line amount and VAT category and rate.
- VAT breakdown and totals, with the arithmetic recomputed: line sums, VAT per rate, total with VAT, prepaid and amount due.
- Payment: IBAN with the Belgian bank name and BIC, due date, and the payment reference checked as OGM or RF.
- Attachments: an embedded PDF (base64 in
cac:AdditionalDocumentReference) can be downloaded in one click.
Sample: what a few XML elements become
<cbc:ID>INV-2026-0042</cbc:ID> → Invoice INV-2026-0042
<cbc:EndpointID schemeID="0208">0417497106</...> → Peppol 0208:0417497106 ✓
<cbc:InvoicedQuantity unitCode="HUR">8</...> → 8 hours
<cac:ClassifiedTaxCategory><cbc:ID>S</cbc:ID>
<cbc:Percent>21</cbc:Percent> → VAT S 21%
<cbc:PaymentID>+++090/9337/55493+++</...> → OGM ✓
<cbc:PayableAmount currencyID="EUR">1210.00</...> → Amount due € 1,210.00
Edge cases
- Credit notes have
CreditNoteas root andCreditedQuantityon lines; the viewer labels them clearly so they are not booked as invoices. - Unit codes follow UN/ECE Recommendation 20 (
C62piece,HURhour,DAYday); unknown codes are shown as is. - Prepaid amounts and allowances at document level change the amount due without changing the lines.
- Non-Belgian parties are shown with their own scheme; only Belgian identifiers get checksum checks.
For a full rule-by-rule check use the Peppol validator; to put lines into a spreadsheet use UBL to JSON/CSV; to audit a folder of invoices use the Peppol batch auditor. The Peppol and UBL guide explains the format.
Frequently asked questions
How do I open a Peppol XML invoice?
Drop the XML file on this page. The invoice is shown with parties, lines, VAT breakdown, totals and payment details, and any embedded PDF can be downloaded.
Can it open credit notes?
Yes. Both Invoice and CreditNote documents in UBL 2.1 and Peppol BIS Billing 3.0 are supported, and credit notes are labelled as such.
Where is the PDF inside a UBL invoice?
Often in an AdditionalDocumentReference element as a base64-encoded attachment. The viewer decodes it so you can download the original PDF.
Does the viewer check the totals?
Yes. It recomputes line amounts, VAT per rate and the totals and flags differences, and it checks Belgian enterprise numbers, VAT numbers, IBAN and OGM or RF references.
Is the invoice uploaded to a server?
No. The XML is parsed in your browser and never leaves your device.