Faktura

BR-E-09

fatalEN 16931EN 16931 business ruleCIIUBLBG-23BT-117BT-118

The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero).

Why it fails

The VAT category tax amount (BT-117) for category Exempt from VAT (E) does not equal the taxable amount (BT-116) multiplied by the VAT rate (BT-119).

How to fix it

Set BT-117 = round(BT-116 x BT-119 / 100, 2). Round the product itself - do not sum per-line tax amounts, which drifts by a cent or two.

What the validator checks

CII — context $VATE

../ram:CalculatedAmount = 0

UBL — context /*/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'E'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']

xs:decimal(../cbc:TaxAmount) = 0

Related rules

Part of BR-E — VAT exempt.

Validate an invoice against this rule →