Calculates on this device. File exports run online.
Invoice Validator
Paste or open an e-invoice in UBL or CII XML and see which of the EN 16931 business rules it breaks: missing terms such as the invoice number or the buyer’s country, line terms, and totals that do not add up. Or type the lines and totals of any invoice to check its arithmetic to the cent.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to use it
- Choose An e-invoice and paste the XML, or open the XML file. For a Factur-X or ZUGFeRD PDF, open its attached factur-x.xml, or use the server box below, which reads the XML from the PDF.
- Press Check the e-invoice. Each broken rule is listed with its number (such as BR-CO-15), the business term (such as BT-112) and the line or VAT breakdown it is about.
- Choose The arithmetic of any invoice to type lines (quantity, price, discount, VAT %) and the totals printed on a paper or PDF invoice.
Which rules are checked
- Required terms: BR-01 to BR-16 (specification, number, dates, type, currency, seller and buyer names, addresses and countries, the four totals and at least one line).
- Each line: BR-21 to BR-26, BR-CO-04 (identifier, quantity, unit, amount, item name, net price, VAT category), BR-27 and BR-28 (prices not negative).
- The sums: BR-CO-10 to BR-CO-17 (line total, allowances, charges, total without VAT, VAT total, total with VAT, amount due, and the VAT of each breakdown), BR-CO-18 (a VAT breakdown) and BR-CO-25 (a due date or payment terms when an amount is due).
- Decimals: BR-DEC-09 to BR-DEC-14, BR-DEC-16 to BR-DEC-20 and BR-DEC-23 (at most 2 decimals in the totals, VAT amounts and line amounts).
What is not checked
- The XML schemas (XSD), the code lists (BR-CL), the rules for each VAT category, for payees and tax representatives, and the extra rules of a country or network (XRechnung, Peppol BIS, Chorus Pro). A clean result here is not a full EN 16931 validation; use the official validator of your network before you send invoices.
- Whether the PDF of a Factur-X invoice is PDF/A-3, and whether the PDF shows the same amounts as its XML.