Faktura

BR-37

fatalEN 16931EN 16931 business ruleCIIUBLBG-21BT-102

Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102).

Why it fails

A document level charge (BG-21) has no VAT category code (BT-102).

How to fix it

Add BT-102 to the charge's TaxCategory, matching a category used elsewhere on the invoice.

What the validator checks

CII — context $Document_level_charges

(../ram:CategoryTradeTax[upper-case(ram:TypeCode) = 'VAT']/ram:CategoryCode)

UBL — context cac:AllowanceCharge[cbc:ChargeIndicator = true()]

exists(cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID)

Related rules

Part of BR — EN 16931 core business rules.

Validate an invoice against this rule →