All error codes › BR-IG-01
BR-IG-01 – An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or…
Erroren16931applies to Romanian e-Factura
What the rule says
An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IGIC" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC".
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: /ubl:Invoice | /cn:CreditNote
Test (XPath):
((count(//cac:AllowanceCharge/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) + count(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'])) > 0 and count(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cbc:ID = 'L']) > 0) or ((count(//cac:AllowanceCharge/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) + count(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'])) = 0 and count(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) = 0)
Related rules
BR-IG-02An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category…BR-IG-03An Invoice that contains a Document level allowance (BG-20) where the Document level…BR-IG-04An Invoice that contains a Document level charge (BG-21) where the Document level charge…BR-IG-05In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC"…BR-IG-06In a Document level allowance (BG-20) where the Document level allowance VAT category…BR-IG-07In a Document level charge (BG-21) where the Document level charge VAT category code…BR-IG-08For each different value of VAT category rate (BT-119) where the VAT category code…BR-IG-09The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code…BR-IG-10A VAT breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT…