All error codes › BR-S-02
BR-S-02 – Seller VAT ID required for standard-rated items
Erroren16931applies to Romanian e-Factura
What the rule says
An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63).
How to fix it
Lines with VAT category S require the seller's VAT ID in PartyTaxScheme/CompanyID.
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:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'S'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) and (exists(//cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID) or exists(//cac:TaxRepresentativeParty/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID))) or not(exists(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'S']))
Related rules
BR-S-01Standard-rated items but no standard VAT breakdownBR-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