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
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
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-101Bucharest buyer city must be a sector codeBR-RO-110Seller county code invalidBR-RO-111Buyer county code invalid