Load a Peppol BIS 3.0 or UBL 2.1 XML file to see it as a normal invoice. The viewer checks key fields and totals, then lets you save a PDF or export the lines to CSV.
This tool runs entirely in your browser. What you enter is never sent anywhere.Your input is never sent anywhere.
DetailsDrop an XML file here, or click to choose one
Reads Peppol BIS Billing 3.0 and other UBL 2.1 invoices and credit notes
How to Read a Peppol XML Invoice
A Peppol invoice is a data file, not a document. Suppliers send it as UBL XML so that accounting software can import it without retyping. The format most often used on the Peppol network is Peppol BIS Billing 3.0, which is built on UBL 2.1 and the European standard EN 16931. Open the file in a text editor and you see nested tags, not an invoice.
This viewer reads the XML in your browser and lays it out as an invoice: seller and buyer, line items, VAT breakdown, totals, payment details and notes. It reads both Invoice and CreditNote files. You can print the result to PDF or export the lines to CSV.
It also runs a checklist. The checklist confirms that required fields are present, that Peppol routing identifiers and references are there, and that line amounts, VAT and totals add up. It does not run the full set of Peppol validation rules, so treat it as a quick review, not as a certification.
When You Need to Open an Invoice XML File
An invoice arrives as XML only
A supplier or portal sends an .xml file with no PDF copy. Load it to read the amounts and payment details without importing it into your accounting system.
Checking a file before you send it
If your software exports Peppol invoices, open the file to see what your customer will see. The totals check catches amounts that do not add up before the invoice leaves.
Reviewing files for accounts payable or an accountant
Open several files one after another, look for missing VAT IDs or references, and export the lines to CSV to paste into a spreadsheet.
Debugging an e-invoicing integration
Show the raw XML next to the rendered invoice to find missing endpoint IDs, a missing buyer reference or a wrong customization ID.
How to Open a UBL Invoice and Save It as PDF
- Drop the XML file onto the upload area, or click the area to choose a file. To try the tool first, select Load a sample invoice.
- Read the preview: seller, buyer, line items, VAT breakdown, totals and payment details.
- Review the checklist. Items marked Problem or Review are shown first. Select Show all checks to see everything.
- Select Print or save as PDF, then choose Save as PDF as the destination in your browser's print dialog.
- To reuse the line items in a spreadsheet, select Export lines to CSV.
Note: The checklist only looks at the contents of the file. It does not contact the Peppol network or any tax authority.
Format Support and Limits
- Supported files: UBL 2.1 Invoice and CreditNote documents. UN/CEFACT CII files are not supported. UBL files from other EN 16931 profiles may open, but the Customization ID check will show that they do not use the Peppol BIS 3.0 identifier.
- Not a full validation: the checklist tests whether fields exist and whether amounts add up. It does not run the official Peppol validation rules. Use the validator in your access point or e-invoicing software for that.
- Rounding: amounts are treated as equal when they differ by 0.01 or less in the invoice currency.
- VAT labels: the viewer uses VAT wording, as Peppol BIS 3.0 does. Other taxes carried in the same UBL fields are shown under the VAT labels.
- Privacy: the file is read and parsed in your browser. Nothing is sent to a server.
Invoice XML Fields and Where the Viewer Shows Them
The main UBL elements the viewer reads, and the part of the preview where each one appears.
| Invoice data | UBL element | Shown in the viewer |
|---|---|---|
| Invoice number | cbc:ID | Header, as the document number |
| Issue and due date | cbc:IssueDate, cbc:DueDate | Header, top right |
| Currency | cbc:DocumentCurrencyCode | Header, and used to format every amount |
| Seller | cac:AccountingSupplierParty | Seller box |
| Buyer | cac:AccountingCustomerParty | Buyer box |
| VAT ID | cac:PartyTaxScheme with cbc:CompanyID, where the tax scheme ID is VAT | Seller and buyer boxes |
| Buyer and order reference | cbc:BuyerReference, cac:OrderReference | Header |
| Line items | cac:InvoiceLine (cac:CreditNoteLine in a credit note) | Line items table |
| VAT per rate | cac:TaxTotal with cac:TaxSubtotal | VAT breakdown table |
| Totals | cac:LegalMonetaryTotal | Totals box and Amount due |
| Payment details | cac:PaymentMeans, cac:PaymentTerms | Payment section |
Each checklist item is marked OK, Review or Problem. Missing required fields and totals that do not add up are marked Problem. Items that depend on the invoice, such as a missing seller VAT ID, are marked Review.
Peppol, UBL and EN 16931 Explained
Three terms that appear in almost every e-invoicing conversation, and how they relate to the file you are opening.
Peppol is the network. UBL is the file format.
Peppol is a network and a set of specifications for exchanging electronic business documents. UBL 2.1 is the XML syntax that Peppol BIS Billing 3.0 uses for invoices and credit notes. The two are separate: a UBL file can exist without ever travelling over Peppol.
Why the XML looks unreadable
The file is built for software. Values sit inside nested tags, and the prefixes cbc and cac refer to UBL's basic and aggregate components. A viewer reads that structure and puts each value back into its place on an invoice.
What to check first on a file you received
Start with who is billing whom: the seller and buyer names and VAT IDs. Then compare the VAT breakdown with the totals, and look at the payment account and reference before you pay. The checklist covers the first two and shows the third in the payment section.
Invoices and credit notes
A credit note uses a CreditNote root element instead of Invoice and has its own line element. Its type code is usually 381, while a standard invoice uses 380. The viewer detects the root element and titles the preview accordingly.
Common Problems With Invoice XML Files
Opening the XML in a text editor
The file opens, but it is a wall of tags. Amounts and names are hard to find, and it is easy to read the wrong value.
💡 See the solution▼
The file loads but parts of the invoice are blank
The file may use a different syntax, such as UN/CEFACT CII, or a UBL profile that puts data in other places. The viewer then shows a warning or leaves fields empty.
💡 See the solution▼
Totals that do not add up
Line amounts, VAT per rate or the final total can disagree by more than rounding. Paying or booking such an invoice means one of the numbers is wrong.
💡 See the solution▼
Missing endpoint IDs or buyer reference
A Peppol invoice needs electronic addresses for the seller and the buyer, plus a buyer reference or an order reference. When they are missing, your access point or the receiver's system may flag the invoice.
💡 See the solution▼
Questions About Opening Invoice XML
Q.What is a Peppol invoice?
A. A Peppol invoice is an electronic invoice sent as structured XML over the Peppol network instead of as a PDF or on paper. The usual format is Peppol BIS Billing 3.0, which is written in UBL 2.1 and follows the European standard EN 16931. Software reads the data directly, so the file is not meant to be read by a person.
Q.How do I open a Peppol XML invoice?
A. Load the .xml file into this viewer. It reads the UBL structure and shows the seller, buyer, invoice lines, VAT breakdown, totals and payment details in a normal invoice layout. If you open the same file in a text editor, you only see tags and values.
Q.Can I save the invoice as a PDF?
A. Yes. Select Print or save as PDF, then choose Save as PDF as the destination in your browser's print dialog. Only the invoice preview is printed. The buttons and the checklist are hidden. The PDF is a printout of what the viewer shows, so keep the original XML file as well.
Q.Does this tool validate the invoice against the Peppol rules?
A. No. It checks that key fields are present and that the amounts add up, accepting a difference of 0.01 or less. It does not run the official Peppol validation rules. For a full validation, use the validator in your Peppol access point or e-invoicing software.
Q.Is my invoice file uploaded anywhere?
A. No. The file is read and parsed in your browser, and the tool has no upload step. The sample invoice is built into the page.
Q.Which XML formats does the viewer support?
A. It reads UBL 2.1 Invoice and CreditNote documents, with Peppol BIS Billing 3.0 as the main target. XML in other syntaxes, such as UN/CEFACT CII, is not supported. If the root element is neither Invoice nor CreditNote, the viewer shows a warning and displays whatever it can read.
Q.Does it work with credit notes?
A. Yes. For a CreditNote file, the viewer reads the credit note lines and type code and titles the preview Credit note. The same checks run on it.
Q.What do OK, Review and Problem mean in the checklist?
A. OK means the item was found and is consistent. Problem means a required field is missing or the amounts do not add up. Review means the item may be fine depending on the invoice, such as a missing seller VAT ID. Peppol-specific items, such as endpoint IDs and the buyer or order reference, show as Problem when the file uses the Peppol BIS 3.0 identifier and as Review otherwise.
Q.Can I export the invoice lines to a spreadsheet?
A. Yes. Export lines to CSV downloads a file with the line number, item, quantity, unit, unit price, VAT rate and amount. It is saved as UTF-8 with a byte order mark so Excel shows accented characters correctly.
Your feedback
makes this tool better.
Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.