Faktura

BR-32

fatalEN 16931EN 16931 business ruleCIIUBLBG-20BT-95

Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95).

Why it fails

A document level allowance (BG-20) has no VAT category code (BT-95).

How to fix it

Add BT-95 to the allowance's TaxCategory. It must match one of the categories used on the invoice, because the allowance is subtracted from that category's taxable amount (see BR-S-08).

What the validator checks

CII — context $Document_level_allowances

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

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

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 →