Romania CUI / CIF Company Tax Code Validator

Paste Romanian CUI or CIF numbers to check the check digit, see the expected digit for errors and get the RO form used by VAT payers.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Paste the codes

    One CUI or CIF per line, with or without RO.

  2. 2
    Read the results

    Every code is marked as passing or failing with a reason.

  3. 3
    Fix errors

    Use the expected check digit.

  4. 4
    Copy the RO form

    Use it for VAT-registered companies.

  5. 5
    Export

    Download the results as CSV.

About this tool

Every Romanian company and many other entities have a unique registration code, the CUI (cod unic de înregistrare), also called CIF (cod de identificare fiscală). It has between two and ten digits, and the last digit is a check digit calculated with the key 753217532. Companies registered for VAT use the same number with the prefix RO on invoices and in EU trade. Romania's e-Factura system and the SAF-T reporting rely on correct CUI numbers, so validating them at data entry avoids rejected invoices. This validator checks lists of CUI or CIF numbers, explains errors and shows the RO form.

Who this is for

Accountants, e-shops invoicing Romanian businesses, procurement teams and developers of invoicing software.

The check digit

Remove the last digit (the check digit) and pad the remaining digits with zeros on the left to nine digits. Multiply them by 7, 5, 3, 2, 1, 7, 5, 3 and 2, add the products, multiply the sum by 10 and take the remainder of division by 11. If the result is 10, the check digit is 0; otherwise it is the result itself. Numbers like 18547290 and 14399840 pass this check.

CUI and VAT

The CUI identifies the company; the RO prefix shows VAT registration. A company that is not registered for VAT still has a CUI but must not use RO on invoices. For intra-EU trade, check the VAT number in VIES, and for domestic VAT status use ANAF's public registry.

e-Factura

Since 2024 business-to-business invoices in Romania must be sent through the national e-Factura system, and the buyer's CUI is a key field. A wrong code makes the invoice fail validation or reach the wrong company.

Registration number

Besides the CUI, companies have a trade register number such as J40/1234/2020 (now with a new format since 2024). It is different from the CUI and has no check digit.

Batch use

Paste a list with or without RO. Each line shows the result and the RO form. Export as CSV.

Test numbers

The sample button creates codes with valid check digits for testing; they may belong to real companies.

Where the CUI appears

The CUI is printed on invoices, contracts, receipts and the company's letterhead, and it is the identifier used in tax returns, in the SAF-T file and in public procurement. Individuals do not have a CUI; their tax identifier is the CNP, and foreign individuals without a CNP receive a fiscal identification number (NIF) from ANAF.

Checking a partner

Before signing a contract with a new Romanian supplier, look up the CUI in the ANAF public registry: it shows the name, address, VAT status, whether the company is inactive and whether it applies VAT on collection. Paying an inactive company can cost you the VAT deduction.

Limits

A valid format does not prove that the company exists or is VAT registered. Use the ANAF registry and VIES.

Worked example

18547290 is valid under the 753217532 key, and its VAT form is RO18547290.

Quick facts

Frequently asked questions

What is a CUI?

The unique registration code of a Romanian company or entity, also called CIF.

How many digits does it have?

Between two and ten, the last being the check digit.

How is the check digit calculated?

Key 753217532 on the digits padded to nine, sum times 10 modulo 11, with 10 becoming 0.

When do I write RO before the CUI?

Only when the company is registered for VAT.

Is the CUI the same as the trade register number?

No. The trade register number starts with J and is separate.

Are my lists uploaded?

No. They are checked in your browser.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages