Checking a Romanian company by its CUI: VAT, e-Factura, inactive, struck off
The CUI (the unique identification code, also called CIF or tax code) is all you need to find out what the official registries publish about a Romanian company. It is written with or without the RO prefix: 13548146 and RO13548146 are the same company. This page says what you can find out and how: without an account, in an AI assistant or from your own code.
What a CUI tells you
| The question | The field in the response | The source |
|---|---|---|
| Does the company exist, and what is its name? | denumire, nr_reg_com, euid | ANAF, the trade register |
| Is it still in operation? | stare (FUNCTIUNE, SUSPENDARE, INSOLVENTA, RADIERE and the others), stari_registru | ANAF, the trade register |
| Is it VAT-registered, and since when? | scp_tva, data_inceput_tva, data_sfarsit_tva | ANAF |
| Does it use VAT on collection? | tva_incasare | ANAF |
| Is it fiscally inactive? | status_inactiv, data_inactivare | ANAF |
| Is it in the RO e-Factura registry? | e_factura | ANAF |
| Where is its seat? | adresa_completa, judet, localitate, cod_postal, sediu_social | ANAF, the trade register |
| What does it do? | caen, caen_denumire, caen_autorizate | ANAF, the trade register |
| What were its turnover and profit? | the annual financial statements, from 2008 | the Ministry of Finance, ANAF |
| Which taxes was it registered for? | obligatii_fiscale | the Ministry of Finance |
Every response says which registry each piece of information comes from and from which day it is (sources, checked_on). What each field means and how often it is refreshed: where the data comes from.
Without an account, in the console
In the console you type the CUI and see the company's data exactly as the API returns it, without an account or a key, a few times a day. The console shows what is already in the database; a company we do not have yet is looked up at ANAF when it is asked for through the API. A company's answer has an address of its own that you can send to someone: apifirme.dev/consola/13548146.
Before you issue an invoice
An invoicing program wants to know, in one request, whether a customer exists, is VAT-registered, uses VAT on collection and is inactive. That is what GET /rest/v1/invoice-check/{cui} is for:
curl https://api.apifirme.dev/rest/v1/invoice-check/13548146 \
-H "Authorization: Bearer af_live_..."
{
"cui": 13548146,
"denumire": "Cubus Arts SRL",
"exists": true,
"valid_for_invoicing": true,
"vat_registered": true,
"vat_number": "RO13548146",
"vat_on_collection": true,
"split_vat": false,
"inactive": false,
"struck_off": false,
"efactura_registered": false,
"stare": "FUNCTIUNE",
"checked_on": "2026-11-11",
"oficial": {
"denumire": "CUBUS ARTS SRL"
}
}
valid_for_invoicingistruewhen the company exists, is not struck off and is not fiscally inactive.vat_numberis the VAT code to put on the invoice (ROfollowed by the CUI), only for a VAT-registered company.- If ANAF's last answer about the company is more than a day old, the company is asked about again on the spot;
checked_onsays from which day the data is. - A valid CUI that ANAF does not know gets
exists: false, not an error.
In an AI assistant
With apifirme connected to your assistant, you ask in your own words: "Can I issue an invoice with VAT to the company with CUI 13548146?" or "What is the CUI of Cubus Arts in Sibiu?". The assistant looks in the registries and tells you the source and the date of the information. The steps for Claude, ChatGPT, Perplexity and the others: apifirme in your AI assistant.
From your code
A company's full data is at GET /rest/v1/companies/{cui}:
curl https://api.apifirme.dev/rest/v1/companies/13548146 \
-H "Authorization: Bearer af_live_..."
Up to 100 companies are asked for at once with POST /rest/v1/companies/batch. The same requests in PHP, Python, JavaScript, Google Sheets and Excel: code examples. Every request and field: the API documentation.
Only the check digit, without a key
The last digit of a CUI is a check digit, worked out from the others. It tells a mistyped CUI before you look it up:
- The digits of the CUI without the last one are aligned to the right under the key
753217532. - Each digit is multiplied by the digit of the key above it, and the products are added up.
- The sum is multiplied by 10 and divided by 11. The remainder is the check digit; a remainder of 10 means 0.
For 13548146: the digits 1354814 under 753217532 give 1×3 + 3×2 + 5×1 + 4×7 + 8×5 + 1×3 + 4×2 = 93; 930 divided by 11 leaves 6, which is the last digit. The same check is made, without a key and free of charge, by GET /rest/v1/validate/cui/{cui}:
curl https://api.apifirme.dev/rest/v1/validate/cui/13548146
A correct check digit does not say that the company exists: only a look in the registries says that. A number of 13 digits is not a CUI but a personal identification number (CNP), which we neither keep nor look up.
What a CUI does not tell you
Debts to the state budget, work points, shareholders and administrators are not in our data; why, under what we do not have yet. An account is free; the plans and their limits are on the prices page.