Faktura

BR-O-12

fatalEN 16931EN 16931 business ruleCIIUBLBG-23BG-25BT-118BT-151

An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT".

Why it fails

The invoice has a category O (not subject to VAT) breakdown and at least one invoice line with a different VAT category.

How to fix it

Every line must be category O when the invoice is out of scope. Move any taxable line to a separate invoice.

What the validator checks

CII — context $VATO

not(//ram:ApplicableTradeTax[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:ClassifiedTaxCategory[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 →