e-Factura validator

All error codes › BR-RO-100

BR-RO-100 – Bucharest seller city must be a sector code

Errorroapplies to Romanian e-Factura

What the rule says

If the Seller's country Code (BT-40) is RO and the Seller's country subdivision (BT-39) is RO-B (corresponding to Bucharest Municipality), then the Seller city (BT-37) must be coded using the code list SECTOR-RO(SECTOR1, SECTOR2, SECTOR3, SECTOR4, SECTOR5, SECTOR6).

How to fix it

With county RO-B (Bucharest) the city must be one of SECTOR1, SECTOR2, SECTOR3, SECTOR4, SECTOR5, SECTOR6 (no space), not 'Bucuresti'.

UBL: cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CityName

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):

normalize-space(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode) = 'RO' and normalize-space(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CountrySubentity) = 'RO-B' and not(normalize-space(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CityName) = $SECTOR-RO-CODES)

Related rules