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 questionThe field in the responseThe source
Does the company exist, and what is its name?denumire, nr_reg_com, euidANAF, the trade register
Is it still in operation?stare (FUNCTIUNE, SUSPENDARE, INSOLVENTA, RADIERE and the others), stari_registruANAF, the trade register
Is it VAT-registered, and since when?scp_tva, data_inceput_tva, data_sfarsit_tvaANAF
Does it use VAT on collection?tva_incasareANAF
Is it fiscally inactive?status_inactiv, data_inactivareANAF
Is it in the RO e-Factura registry?e_facturaANAF
Where is its seat?adresa_completa, judet, localitate, cod_postal, sediu_socialANAF, the trade register
What does it do?caen, caen_denumire, caen_autorizateANAF, the trade register
What were its turnover and profit?the annual financial statements, from 2008the Ministry of Finance, ANAF
Which taxes was it registered for?obligatii_fiscalethe 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"
  }
}

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:

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.