Business v1 / Firme
LEI code
The company's LEI (Legal Entity Identifier) plus its status and the parent hierarchy (direct and ultimate parent company). 404 if the company has no LEI registered.
GET
https://oneapi.ro/api/business/v1/firme/{cui}/lei
Path parameters
NameTypeDescriptionExample
cuirequired
string
The company tax identification number, without the
RO prefix (e.g. 6719278).
Query parameters
This route accepts no query parameters.
How it behaves
- "Has none" is an answer, not an error. When the company exists but has nothing the route asks for, the response is
200withdata: nulland the reason inmeta.fara_date.404only means the company (tax ID) does not exist — that way you can tell the two apart and cache the negative answer. - The company's LEI code (Legal Entity Identifier), its status and the parent hierarchy (direct and ultimate parent). If the company has no LEI, the response is
200withdata: nulland the reason inmeta.fara_date.
What it is for
- Obtaining the LEI code required for financial transaction reporting.
- Checking that a partner's LEI is still valid.
- Linking the company to international datasets, which use LEI as their key.
Response structure
FieldTypeDescription
data.lei
string
The LEI (Legal Entity Identifier) code.
data.status
string | null
The status.
data.status_inregistrare
string | null
The LEI registration status at the issuing authority.
data.inregistrat_la
string | null
When the LEI code was registered.
data.jurisdictie
string | null
The jurisdiction the LEI code is issued under.
data.categorie
string | null
The category.
data.parinte_direct.lei
string | null
The LEI (Legal Entity Identifier) code.
data.parinte_direct.nume
string | null
The name.
data.parinte_direct.tara
string | null
The country.
data.parinte_ultim.lei
string | null
The LEI (Legal Entity Identifier) code.
data.parinte_ultim.nume
string | null
The name.
data.parinte_ultim.tara
string | null
The country.
meta.fara_date
string
Only when the response is empty: why there is no data (for instance "Firma nu are cod LEI înregistrat la GLEIF."). Absent when
data is filled in.
meta.fara_date_cod
string
The short, STABLE word for the reason, for clients that branch on it in code:
fara_date is prose and may be rephrased, this is not.
Response examples
GEThttps://oneapi.ro/api/business/v1/firme/2054341/lei
{
"data": {
"lei": "097900BFJD0000032849",
"status": "ACTIVE",
"status_inregistrare": "LAPSED",
"inregistrat_la": "RA000497",
"jurisdictie": "RO",
"categorie": "GENERAL",
"parinte_direct": null,
"parinte_ultim": null
}
}
GEThttps://oneapi.ro/api/business/v1/firme/6719278/lei
{
"data": null,
"meta": {
"fara_date": "Firma nu are cod LEI înregistrat la GLEIF.",
"fara_date_cod": "fara_lei"
}
}
GEThttps://oneapi.ro/api/business/v1/firme/14399840/lei
{
"data": {
"lei": "315700V12MDD9PTKU295",
"status": "ACTIVE",
"status_inregistrare": "ISSUED",
"inregistrat_la": "RA000497",
"jurisdictie": "RO",
"categorie": "GENERAL",
"parinte_direct": {
"lei": "254900R8IVV4VMYUSZ81",
"nume": "MIH B2C Holdings B.V.",
"tara": "NL"
},
"parinte_ultim": {
"lei": "21380044BQ8812EEKT59",
"nume": "NASPERS",
"tara": "ZA"
}
}
}
Error codes
| Code | Slug | When it occurs |
|---|---|---|
| 401 | neautentificat | Token missing, invalid, expired or revoked. |
| 403 | feature_indisponibil | The current plan does not include the feature the route depends on. |
| 404 | negasit | The company with tax ID [{cui}] was not found. |
| 422 | validare | The route takes no parameters apart from lang: any other parameter returns 422 instead of being ignored. |
| 429 | cota_depasita | The plan's monthly quota has been exceeded (see Retry-After). |
All errors share the same shape. eroare.cod is stable and is the value you should branch on in code — not the text in mesaj, which may change.
{
"eroare": {
"cod": "validare",
"mesaj": "The route takes no parameters apart from lang: any other parameter returns 422 instead of being ignored.",
"detalii": {
"cui": [
"The value sent does not satisfy the parameter rule."
]
}
}
}