Faktura

BR-O-06

fatalEN 16931EN 16931 business ruleCIIUBLBG-20BT-95BT-96

A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96).

Why it fails

A document level allowance with VAT category Not subject to VAT (O) has a VAT rate (BT-96) that is not allowed: it must be absent altogether.

How to fix it

Remove the VAT rate from the line. A transaction outside the scope of VAT has no rate — not even 0. Or change the allowance's category code so the two agree.

What the validator checks

CII — context $VATO_Allowance

not(ram:RateApplicablePercent)

UBL — context cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cac:TaxCategory[normalize-space(cbc:ID)='O'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']

not(cbc:Percent)

Related rules

Part of BR-O — Not subject to VAT.

Validate an invoice against this rule →