All error codes › BR-AF-05
BR-AF-05 – IGIC: wrong VAT rate on a line
What the rule says
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.
How to fix it
Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
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']
Test (XPath):
(cbc:Percent) >= 0
Related rules
BR-AF-01IGIC: VAT breakdown for this category missingBR-AF-02IGIC: seller VAT identifier missingBR-AF-03IGIC: seller VAT identifier missing (allowance)BR-AF-04IGIC: seller VAT identifier missing (charge)BR-AF-06IGIC: wrong VAT rate on an allowanceBR-AF-07IGIC: wrong VAT rate on a chargeBR-AF-08IGIC: wrong taxable amount in the VAT breakdownBR-AF-09IGIC: wrong VAT amount in the VAT breakdownBR-AF-10IGIC: exemption reason missing or not allowed