按 EN 16931 规则子集检查 UBL 发票
对 UBL 发票运行 32 条具名规则,金额一律按整数分比较,并印出哪些规则跑过、哪些没有。
只支持 UBL Invoice。报告会列出跑了哪些规则。
在本标签页内运行,不上传任何内容。
结果
免费档:每文件最多 2 MB,每次 1 个文件,每天 3 次。这件工具单件买断 $39,一次付款。对比价格。
正在使用免费额度。这件工具的买断是一次付款,不是订阅。
这页与别处不同之处
收票方退票的理由往往很朴素:合计加不起来、买方国家缺失、税分类金额与行金额对不上。这个页面在 UBL Invoice 上运行一份具名的规则子集,金额全程用整数分比较,因此不存在浮点造出来的「差一分」;报告还会写明覆盖范围与没有执行的项。
金额按整数分比较,并如实印出究竟跑了多少条规则,而不是暗示做过官方校验。
示例输入与输出
| 环节 | 情形 | 体积 | 说明 |
|---|---|---|---|
| 输入 | ERP 导出的 UBL 发票 | 41 KB | carries a VAT breakdown whose category total disagrees with the line sum, and no buyer country code |
| 输出 | 自检报告与问题 CSV | 18 KB | flags the category subtotal against the line sum, the missing BT-55, and states 32 of 32 local rules ran |
这里写的是本页构建时对照的演示数字,不是对每个文件的承诺。
你可以自己核对什么
| 承诺 | 测试结果 |
|---|---|
| 32 条本地规则都跑了,报告写明跑了多少。 | 结论以“executed 32 of 32 local rules”结尾,这是本次实际执行的计数,不代表官方校验器通过了它。 |
| 合计对不上会被点名,而不只是标红。 | 明细合计 1000.00 而分类合计写 900.00 时,报出规则 R27 并带上两个数字,差额看得见。 |
常见问题
以下问答目前仍为英文原文。
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.
价格
这件工具一次性 $39,只要工具还在就一直可用。一次付款,不是订阅。授权存在当前浏览器里,凭交易号可在别处恢复。
免费档:每次 1 个文件,每文件 2 MB,每天 3 次。买断:50 个文件,每文件 200 MB。