InvoiceIn
Language: EN

BR-RO-111

RO e-Factura (CIUS-RO) · validation rule

RO e-Factura (CIUS-RO)Error
When the country of the Buyer (BT-55) is RO, its country subdivision (BT-54) must be an ISO 3166-2:RO code — RO-B for Bucharest, RO-AB for Alba, RO-CJ for Cluj and so on. The county name spelled out, or the code without the RO- prefix, is rejected.
Field
buyer.address.region (BT-54)
Rule set
RO e-Factura (CIUS-RO)
Rule-set version
CIUS-RO 1.0.1 (ro16931-ubl-1.0.9, in force 2024-06-05) · in force since · Rule-set changelog
Who has to fix it
The sender

This is a property of the file you received, so it cannot be corrected on your side without changing the document — ask the supplier to reissue it.

Worked example · UBL

For a Romanian buyer the county (BT-54) is an ISO 3166-2:RO code such as RO-B, and in Bucharest the city (BT-52) is the sector, SECTOR1…SECTOR6.

Fails this rule
<cac:PostalAddress>
  <cbc:StreetName>Bd. Libertății 16</cbc:StreetName>
  <cbc:CityName>București</cbc:CityName>
  <cbc:PostalZone>050706</cbc:PostalZone>
  <cbc:CountrySubentity>București</cbc:CountrySubentity>
  <cac:Country>
    <cbc:IdentificationCode>RO</cbc:IdentificationCode>
  </cac:Country>
</cac:PostalAddress>
Passes
<cac:PostalAddress>
  <cbc:StreetName>Bd. Libertății 16</cbc:StreetName>
  <cbc:CityName>SECTOR5</cbc:CityName>
  <cbc:PostalZone>050706</cbc:PostalZone>
  <cbc:CountrySubentity>RO-B</cbc:CountrySubentity>
  <cac:Country>
    <cbc:IdentificationCode>RO</cbc:IdentificationCode>
  </cac:Country>
</cac:PostalAddress>

Check your own invoice

Drop the file that failed. We parse it, run the official rule sets against it and list every finding with a fix — 20 invoices per day, no key, nothing stored.

Open the live demo

Same explanation over the API: GET /v1/rules/BR-RO-111?lang=en