All error codes › BR-AE-01
BR-AE-01 – Reverse charge: VAT breakdown for this category missing
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 "Reverse charge" shall contain in the VAT Breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge".
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):
((exists(//cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'AE']) or exists(//cac:ClassifiedTaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'AE'])) and (count(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'AE']) = 1)) or (not(//cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'AE']) and not(//cac:ClassifiedTaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'AE']))
Related rules
BR-AE-02Reverse charge: seller VAT identifier missingBR-AE-03Reverse charge: seller VAT identifier missing (allowance)BR-AE-04Reverse charge: seller VAT identifier missing (charge)BR-AE-05Reverse charge: wrong VAT rate on a lineBR-AE-06Reverse charge: wrong VAT rate on an allowanceBR-AE-07Reverse charge: wrong VAT rate on a chargeBR-AE-08Reverse charge: wrong taxable amount in the VAT breakdownBR-AE-09Reverse charge: wrong VAT amount in the VAT breakdownBR-AE-10Reverse charge reason missing