# Romania RO e-Factura Invoice (UBL)

Source: https://xmlvalid.com/schemas/ro-efactura-invoice

> A Romanian RO e-Factura invoice, checked against the UBL 2.1 schema and the CIUS-RO rules (EN 16931 and BR-RO-\*) the Ministry of Finance publishes for ANAF's validator.

Invoices between businesses established in Romania go through RO e-Factura, the national e-invoicing system run by ANAF: for public buyers since July 2022, between businesses since 2024 and to consumers since 1 January 2025. An invoice is uploaded within five calendar days of its issue, and the original is the XML with the Ministry of Finance seal.
The XML follows EN 16931 with the Romanian CIUS (CIUS-RO), in UBL 2.1 or CII. The CIUS-RO rules (BR-RO-\*) check what Romania adds: the specification identifier, the allowed invoice type codes, VAT accounted in RON when the invoice is in another currency, addresses with county codes (ISO 3166-2:RO) and Bucharest sectors, the seller's and buyer's identifiers, dates written as YYYY-MM-DD and maximum lengths of text fields.

- Type: XSD + Schematron
- Version: CIUS-RO 1.0.1, validation artefacts 1.0.9
- Namespace: `urn:oasis:names:specification:ubl:schema:xsd:Invoice-2`
- Root element: `Invoice`
- Publisher: Ministerul Finanțelor (Romanian Ministry of Finance) (EUPL 1.2), source: https://mfinante.gov.ro/web/efactura/informatii-tehnice
- Rules: [Romanian RO e-Factura rules (UBL) 1.0.9](https://xmlvalid.com/rules/sets/ro-cius-ubl)
- Rules: [RO e-Factura tax code checks ANAF validator 1.3.0](https://xmlvalid.com/rules/sets/ro-anaf-ids)
- Validate against it: https://xmlvalid.com/validate?schema=ro-efactura-invoice

## Notes

- Rules run only when the document matches the schema. Documents over 50 MB are checked against the schema only.
- The rules are the Ministry's validation artefacts 1.0.9 (valid from 5 June 2024), as ANAF's own validator runs them: its EN 16931 rules with the Romanian changes, the code lists and the CIUS-RO rules, in one set. The CIUS-RO messages are in Romanian and English.
- ANAF publishes the CIUS-RO rules for UBL only; CII invoices are accepted by RO e-Factura, but their rules are not published, so they are not offered here.
- ANAF's validator also checks the seller's and buyer's tax codes (CUI, CNP or NIF and their check digits) outside the published rules. We check them the same way (XV-RO-\*, our rules, compared with ANAF's validator on 119 documents). RO e-Factura also checks an uploaded invoice against ANAF's records, which is not done here.
- The example is the Ministry's UBL invoice example with the current specification identifier (CIUS-RO:1.0.1) and seller and buyer tax codes (CUI) with valid check digits: as published, it names 1.0.0, which the current rules reject (BR-RO-001), and ANAF's validator rejects its tax codes. It passes ANAF's validator as changed.
