What it means
When the tax representative's country code (BT-69) is RO, their county (country subdivision, BT-68) 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 cac:PostalAddress of cac:TaxRepresentativeParty.
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 or left blank makes the file fail the check, and it is rejected.
How to fix it
In the tax representative's address, 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 the seller has no tax representative, clear that whole section instead.
The rule as published
Daca Codul tarii Reprezentantului fiscal al Vanzatorului (BT-69) este RO, atunci Subdiviziunea tarii Reprezentantului fiscal al Vanzatorului (BT-68) 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 Seller's tax representative country code (BT-69) is RO, then the Seller's tax representative country subdivision (BT-68) must be coded using the ISO 3166-2: RO code list (ex. RO-B for Bucharest, RO-AB for Alba County...). Business terms: BT-68, BT-69
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-170 still fails, and which other rules do.
Related rules
- BR-RO-160 Tax representative in Bucharest must use a sector code as city
- BR-20 Tax representative country is required
- BR-RO-180 A delivery address needs a first address line
- BR-RO-201 A delivery address needs a city
- BR-RO-202 Delivery in Bucharest must use a sector code as the city
- BR-RO-211 A delivery address needs a county