Faktura

BR-O-14

fatalEN 16931EN 16931 business ruleCIIUBLBG-21BG-23BT-102BT-118

An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT".

Why it fails

The invoice has a category O breakdown and a document-level charge with a different VAT category.

How to fix it

Set the charge's VAT category (BT-102) to O, or move it to another invoice.

What the validator checks

CII — context $VATO

not(//ram:CategoryTradeTax[ram:CategoryCode != 'O'])

UBL — context /ubl:Invoice | /cn:CreditNote

(exists(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'O']) and count(//cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID) != 'O'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) = 0) or not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'O'])

Related rules

Part of BR-O — Not subject to VAT.

Validate an invoice against this rule →