How to use the Peppol UBL viewer tool
- Choose an .xml file under Invoice file, or paste the document into Invoice XML.
- Select Read invoice. Select Example to try a minimal UBL invoice.
- Check the Format line, which says UBL Invoice or UBL CreditNote, then the profile, parties and total.
- Select Copy to copy the summary, or Download to save the XML you provided as invoice.xml.
Peppol BIS Billing and UBL in brief
Peppol is a network for exchanging business documents through certified access points. Its invoice specification, Peppol BIS Billing 3.0, is a usage profile of the European standard EN 16931 written in OASIS UBL 2.1. A document is either an Invoice or a CreditNote, each with its own XML namespace.
Two header elements identify the specification. CustomizationID names the rule set, and for BIS Billing 3.0 it ends in urn:fdc:peppol.eu:2017:poacc:billing:3.0. ProfileID names the business process. This tool displays the CustomizationID on its Profile line and does not show ProfileID.
Which elements the Peppol UBL viewer reads
Element prefixes do not matter, because the tool matches local names in any namespace.
- Invoice number: the ID element directly under the root.
- Issue date: IssueDate.
- Seller: RegistrationName, or else Name, inside AccountingSupplierParty.
- Buyer: the same lookup inside AccountingCustomerParty.
- Total: PayableAmount in LegalMonetaryTotal, with DocumentCurrencyCode or the currencyID attribute.
- Line items: the count of InvoiceLine elements, or CreditNoteLine for a credit note.
Worked example
The total is the payable amount, so an invoice with a prepaid amount shows what is still due, not the tax-inclusive total.
A three-line invoice in Swedish kronor from Fjord Supply AB to Harbor Logistics BV, with the BIS Billing 3.0 CustomizationID, gives this result.
Format: UBL Invoice
Profile: urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
Invoice number: SI-1007
Issue date: 2026-02-10
Seller: Fjord Supply AB
Buyer: Harbor Logistics BV
Total: 6250.00 SEK
Line items: 3Errors and what causes them
A summary without errors does not mean the document passes Peppol validation. Schematron rules, code lists and participant identifiers are not checked.
The tool accepts only UBL, and it reports a specific message for each problem.
- Expected a UBL, CII or FatturaPA invoice: the root is not a known invoice. A Peppol envelope (StandardBusinessDocument) around the invoice causes this, so paste the inner Invoice element.
- Expected a UBL Invoice or CreditNote: the file is a CII or FatturaPA invoice. Open it in the E-invoice viewer.
- The invoice contains invalid XML: the document is truncated or not well formed.
- Invoice XML must not include a document type or entity declaration: remove the DOCTYPE.
Frequently asked questions
What is a Peppol UBL invoice?
It is an electronic invoice in the UBL 2.1 XML format that follows the Peppol BIS Billing 3.0 rules. Suppliers send it through a Peppol access point, and the buyer's access point delivers it to their accounting system.
Does this viewer validate against Peppol rules?
No. It reads a handful of header fields and counts lines. It does not run the EN 16931 or Peppol Schematron rules, so use the official validation artifacts or your access point's validator to confirm conformance.
Can it read a UBL credit note?
Yes. When the root element is CreditNote in the UBL CreditNote namespace, the Format line says UBL CreditNote and the tool counts CreditNoteLine elements. The remaining fields are read the same way as for an invoice.
Why is the Seller line missing from the result?
The tool omits any line it cannot fill. Seller is taken from RegistrationName or Name inside AccountingSupplierParty, so if neither element is present there, the line is left out. The example invoice has no parties at all.
Does it only accept documents with the Peppol CustomizationID?
No. Any UBL Invoice or CreditNote in the OASIS namespace is read, including XRechnung in UBL syntax. The Profile line shows whatever CustomizationID the document carries, so you can tell which specification it claims.
Is the invoice sent over the network?
No. Despite the name, the tool does not connect to the Peppol network or any server. It parses the XML in your browser and shows the fields.