Faktura

BR-AF-05

fatalEN 16931EN 16931 business ruleCIIUBLBG-25BT-151BT-152

In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero.

Why it fails

An invoice line with VAT category IGIC (AF) has a VAT rate (BT-152) that is not allowed for this category: it must be 0 or greater.

How to fix it

IGIC (Canary Islands) permits a zero or positive rate; make sure it is one of the valid IGIC rates. Or, if the rate is right, the category code on that line is wrong.

What the validator checks

CII — context $VATAF_Line

ram:RateApplicablePercent > 0

UBL — context cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']| cac:CreditNoteLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']

(cbc:Percent) >= 0

Related rules

Part of BR-AF — IGIC (Canary Islands).

Validate an invoice against this rule →