All error codes › BR-RO-120
BR-RO-120 – Buyer identifier missing
Errorroapplies to Romanian e-Factura
What the rule says
The Buyer legal registration identifier (BT-47) and/or the Buyer VAT identifier (BT-48) shall be present.
How to fix it
Add the buyer's VAT ID (PartyTaxScheme/CompanyID) or legal registration ID (PartyLegalEntity/CompanyID).
UBL: cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/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:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID, cac:AccountingCustomerParty/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-065Seller VAT / tax ID missingBR-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 invalid