依 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。