Toolshub
validate · runs in your browser

Check a UBL invoice against an EN 16931 rule subset

Runs 32 named rules over a UBL invoice, compares every amount as integer cents, and prints which checks ran and which did not.

$39 buyout · free up to 2.0 MB per file· 3 free runs a day

File
No file chosen

UBL Invoice only. The report lists which rules ran.

Runs in this tab. Nothing is uploaded.

Result

Free tier: up to 2 MB per file, 1 files per run, 3 runs per day. A buyout for this tool is $39 once. Compare.

Free tier in use. The buyout for this tool is one payment, not a subscription.

What this page does differently

Invoice validators reject files for arithmetic that does not add up, a missing buyer country, or a VAT breakdown whose totals disagree with the lines. This page runs a named subset of EN 16931 business rules over a UBL Invoice, compares amounts as integer cents so a cent is a cent, and writes a report that states the coverage out loud. It does not run XSD, does not run the official Schematron, and does not read CII — the report says so on its own footer.

compares every amount as integer cents and prints exactly how many rules ran, instead of implying an official validation

Sample input and output

Run Case Size Notes
Input A UBL invoice exported by an ERP 41 KB carries a VAT breakdown whose category total disagrees with the line sum, and no buyer country code
Output A self-check report and a findings CSV 18 KB flags the category subtotal against the line sum, the missing BT-55, and states 32 of 32 local rules ran

These are the demo numbers this page was built against, not a guarantee for every file.

What you can check yourself

The claim What the test showed
All 32 local rules run, and the report says how many. The summary ends with "executed 32 of 32 local rules", which is a count of what ran here, not a claim that an official validator approved it.
A totals mismatch is named, not just flagged as an error. A line total of 900.00 against 1000.00 in the breakdown produces rule R27 with both amounts, so the reader can see the gap.

Questions

Is this the official EN 16931 validation?

No. It is a self-check against a named subset of business rules, run in your browser. XSD validation, the official Schematron and the CII syntax are out of scope, and the report footer states that in the output itself.

Why integer cents instead of normal numbers?

Because a float comparison invents differences. Parsing "1.005" as a double and adding it three times produces a total that is off by a fraction of a cent, and a checker that reports that is worse than useless — it sends people hunting for a bug that is in the tool.

What does "executed 32 of 32" mean if some rules had nothing to compare?

It counts the rules that ran. Rules needing a VAT breakdown that the file does not contain are listed separately as having nothing to compare, because "passed" and "never ran" are different facts and the report keeps them apart.

Which syntaxes can it read?

UBL Invoice only, with any namespace prefix. A UBL CreditNote or a CII file is refused with a message naming the root element it expected, rather than being half-checked.

Will it find every reason a receiver rejects my file?

No. Receivers add their own profile rules on top of EN 16931, and some reject on code lists this page only checks the pattern of. Treat a clean report as "the arithmetic and the mandatory fields hold", then run the receiver’s own validator before sending.

Price

This tool is $39 once, for as long as the tool exists. One payment, not a subscription. The licence is stored in this browser; the transaction id restores it elsewhere.

Free: 3 runs a day, 2 MB a file, a batch of 1. Buyout: a batch of 50, 200 MB a file.

Related