All error codes › BR-RO-065
BR-RO-065 – Seller VAT / tax ID missing
Errorroapplies to Romanian e-Factura
What the rule says
The Seller tax registration identifier (BT-32) and/or the Seller VAT identifier (BT-31) and/or the Seller tax representative VAT identifier (BT-63) shall be present.
How to fix it
Add the seller's VAT ID (e.g. RO12345678, TaxScheme 'VAT') or, if not VAT registered, the tax registration ID (CUI without 'RO', TaxScheme other than 'VAT').
UBL: cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc: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):
not((cac:AllowanceCharge/cac:TaxCategory/cbc:ID[ancestor::cac:AllowanceCharge/cbc:ChargeIndicator = 'false' and following-sibling::cac:TaxScheme/cbc:ID = 'VAT'] = ('S', 'Z', 'E', 'AE', 'K', 'G', 'L', 'M')) or (cac:AllowanceCharge/cac:TaxCategory/cbc:ID[ancestor::cac:AllowanceCharge/cbc:ChargeIndicator = 'true'] = ('S', 'Z', 'E', 'AE', 'K', 'G', 'L', 'M')) or (cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:ID = ('S', 'Z', 'E', 'AE', 'K', 'G', 'L', 'M'))) or (cac:TaxRepresentativeParty/cac:PartyTaxScheme/cbc:CompanyID, cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID[boolean(normalize-space(.))])Related rules
BR-RO-001Wrong CIUS-RO specification identifierBR-RO-010Invoice number has no digitBR-RO-030Foreign-currency invoice needs RON as VAT currencyBR-RO-040VAT point date code not allowedBR-RO-081Seller street address missingBR-RO-082Buyer street address missingBR-RO-091Seller city missingBR-RO-092Buyer city missingBR-RO-100Bucharest seller city must be a sector codeBR-RO-101Bucharest buyer city must be a sector codeBR-RO-110Seller county code invalidBR-RO-111Buyer county code invalid