All error codes › BR-E-05
BR-E-05 – Exempt from VAT: 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 "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (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) = 'E'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'] | cac:CreditNoteLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'E'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
Test (XPath):
(xs:decimal(cbc:Percent) = 0)
Related rules
BR-E-01Exempt from VAT: VAT breakdown for this category missingBR-E-02Exempt from VAT: seller VAT identifier missingBR-E-03Exempt from VAT: seller VAT identifier missing (allowance)BR-E-04Exempt from VAT: seller VAT identifier missing (charge)BR-E-06Exempt from VAT: wrong VAT rate on an allowanceBR-E-07Exempt from VAT: wrong VAT rate on a chargeBR-E-08Exempt from VAT: wrong taxable amount in the VAT breakdownBR-E-09Exempt from VAT: wrong VAT amount in the VAT breakdownBR-E-10VAT exemption reason missing