Counterfoil rule note
Quoted from a public specification. This page is not a validator, and it is not tax, legal, or accounting advice.
Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102).
Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-37/
Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL
Severity note: fatal, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-18.
Each Document level charge (BG-21) must have a Document level charge VAT category code (BT-102). The message says "shall have" and starts with "Each". It ends with a period. The context is the document charge, and the charge indicator comparison has spaces around =. The published test checks that a tax category id exists under a tax scheme whose id is VAT. That comparison is ='VAT' with no space before =. The test does not require a particular category code, and it is not a percent check.
On each document charge, send a VAT category code (BT-102) inside a tax category whose tax scheme id is VAT.
Illustration of the condition in the official statement. Not an example published by the source.
Fails the stated condition. A document charge has no tax category id under a VAT tax scheme.
Passes the stated condition. That charge has a tax category id under a tax scheme whose id is VAT.
Copied from the source. Not reimplemented on this page.
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
exists(cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID)
All rule notes · JSON · Markdown · llms.txt · Invoice page · Privacy