What it means
When the buyer's country code (BT-55) is RO, the buyer's county (country subdivision, BT-54) must be a code from the ISO 3166-2:RO list. Leaving it empty fails the rule too. In the XML it is cbc:CountrySubentity in the buyer's postal address.
Why it matters
The Romanian rules want counties in one coded form so that software can read and compare addresses. A county written as a name, such as Cluj, or left blank makes the file fail the check, and it is rejected.
How to fix it
In the customer's record, replace the county name with its code: RO-B for Bucharest, RO-AB for Alba County, and so on from the ISO 3166-2:RO list. The code starts with RO- and is written in capitals. If your software has a county drop-down, choose from it. If it has a free text field, type the code there. For Bucharest you also need a sector code as the city, see BR-RO-101.
The rule as published
Daca Codul tarii Cumparatorului (BT-55) este RO, atunci Subdiviziunea tarii Cumparatorului (BT-54) trebuie sa fie codificata folosind lista de coduri ISO 3166-2:RO (ex. "RO-B" pentru Municipiul Bucuresti, "RO-AB" pentru judetul Alba...). #If the Buyer's country Code (BT-55) is RO, then the Buyer's country subdivision (BT-54) must be coded using the ISO 3166-2: RO code list (ex. "RO-B" for Bucharest, "RO-AB" for Alba County...). Business terms: BT-54, BT-55
Where this rule applies
| Rule set | Version |
|---|---|
| CIUS-RO UBL Invoice 1.0.9 | 1.0.9 |
| CIUS-RO UBL Credit Note 1.0.9 | 1.0.9 |
Check your file
Drop your e-invoice to see whether BR-RO-111 still fails, and which other rules do.
Related rules
- BR-RO-101 Buyer in Bucharest must use a sector code as the city
- BR-11 Buyer country code is required
- BR-RO-120 Buyer needs a company registration number or VAT number
- BR-RO-140 Tax representative address needs a first address line
- BR-RO-150 Tax representative address needs a city
- BR-RO-160 Tax representative in Bucharest must use a sector code as city