e-Factura validator

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

Check your invoice for free

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