All error codes › BR-S-01
BR-S-01 – Standard-rated items but no standard VAT breakdown
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 "Standard rated" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated".
How to fix it
Add a cac:TaxSubtotal with TaxCategory/cbc:ID = S for the standard-rated lines.
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) = 'S']) + count(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'S'])) > 0 and count(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'S']) > 0) or ((count(//cac:AllowanceCharge/cac:TaxCategory[normalize-space(cbc:ID) = 'S']) + count(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'S'])) = 0 and count(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'S']) = 0)
Related rules
BR-S-02Seller VAT ID required for standard-rated itemsBR-S-03Standard rated: seller VAT identifier missing (allowance)BR-S-04Standard rated: seller VAT identifier missing (charge)BR-S-05Standard rated: wrong VAT rate on a lineBR-S-06Standard rated: wrong VAT rate on an allowanceBR-S-07Standard rated: wrong VAT rate on a chargeBR-S-08Taxable amount for a VAT rate is wrongBR-S-09VAT amount for a standard rate is wrongBR-S-10Standard rated: exemption reason missing or not allowed