Business v1 / Firme
Jurisdictions
The company's territorial jurisdiction, derived from its registered office: the district court and prosecutor's office it falls under, plus the hierarchy above them. The assignment comes from a piece of legislation and is established per administrative unit — see also GET /api/locations/v1/uat/{cod}/jurisdictii, where the data lives.
GET
https://oneapi.ro/api/business/v1/firme/{cui}/jurisdictii
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
- Derived from the REGISTERED OFFICE: tax ID → office locality → territorial jurisdiction. The data and the logic live in the Locations module (the assignment is per UAT, keyed on SIRUTA); this route only does the company → locality step.
- If the registered office could not be linked to the locality nomenclature, the answer is
422 sediu_nelegat, NOT an approximated court. Where someone decides where to file a claim, a wrong answer is worse than an explicit "we do not know". - The assignment comes from Government Decision 1217/2023, issued under art. 42(2) of Law 304/2022. Every entry carries
nivel(how finely the competence is set) andtemei(the act), so you can cite the source.
What it is for
- Find out which court to sue a company in, starting straight from its tax ID.
- Route a case automatically to the court competent for the debtor’s registered office.
- Check which prosecutor’s office covers the company before filing a complaint.
Response structure
All fields below live inside data.
FieldTypeDescription
localitate.cod_siruta
integer
SIRUTA code of the registered-office locality.
localitate.nume
string
The registered-office locality.
uat.cod_siruta
integer
SIRUTA code of the administrative unit the office belongs to.
uat.nume
string
Name of that administrative unit.
uat.tip
string
Its rank:
comuna, oras, municipiu.
judet.cod_siruta
integer
SIRUTA code of the county.
judet.nume
string
The county of the registered office.
judet.cod_auto
string
The county car-plate code.
jurisdictii[].domeniu
string
Field of competence — currently
justitie (justice).
jurisdictii[].tip
string
judecatorie, tribunal, curte_apel and their prosecutor offices.
jurisdictii[].denumire
string
Name of the competent institution.
jurisdictii[].nivel
string
The level competence is set at:
uat or judet.
jurisdictii[].sediu.nume
string|null
Locality where the institution sits.
jurisdictii[].sediu.cod_siruta
integer|null
SIRUTA code of that locality.
jurisdictii[].temei
string
The legal act the assignment follows from.
sediu.localitate.cod_siruta
integer
The locality the resolution started from.
sediu.localitate.nume
string
Its name.
sediu.potrivire
string
How well the office matched the nomenclature (e.g.
exact).
Response examples
GEThttps://oneapi.ro/api/business/v1/firme/40000026/jurisdictii
{
"data": {
"localitate": {
"cod_siruta": 95079,
"nume": "Iași"
},
"uat": {
"cod_siruta": 95060,
"nume": "Iași",
"tip": "municipiu"
},
"judet": {
"cod_siruta": 225,
"nume": "Iași",
"cod_auto": "IS"
},
"jurisdictii": [
{
"domeniu": "justitie",
"tip": "judecatorie",
"denumire": "Judecătoria Iași",
"nivel": "uat",
"sediu": {
"nume": "Iași",
"cod_siruta": 95060
},
"temei": "HG 1217/2023"
}
],
"sediu": {
"localitate": {
"cod_siruta": 95079,
"nume": "Iași"
},
"potrivire": "exact"
}
}
}
GEThttps://oneapi.ro/api/business/v1/firme/6719278/jurisdictii
{
"data": {
"localitate": {
"cod_siruta": 179196,
"nume": "București Sectorul 6"
},
"uat": {
"cod_siruta": 179132,
"nume": "București",
"tip": "municipiu"
},
"judet": {
"cod_siruta": 403,
"nume": "București",
"cod_auto": "B"
},
"jurisdictii": [
{
"domeniu": "justitie",
"tip": "judecatorie",
"denumire": "Judecătoria Sectorului 6",
"nivel": "uat",
"temei": "HG 1217/2023"
}
],
"sediu": {
"localitate": {
"cod_siruta": 179196,
"nume": "București Sectorul 6"
},
"potrivire": "exact"
}
}
}
GEThttps://oneapi.ro/api/business/v1/firme/2054341/jurisdictii
{
"data": {
"localitate": {
"cod_siruta": 120879,
"nume": "Roman"
},
"uat": {
"cod_siruta": 120860,
"nume": "Roman",
"tip": "municipiu"
},
"judet": {
"cod_siruta": 270,
"nume": "Neamț",
"cod_auto": "NT"
},
"jurisdictii": [
{
"domeniu": "justitie",
"tip": "judecatorie",
"denumire": "Judecătoria Roman",
"nivel": "uat",
"sediu": {
"nume": "Roman",
"cod_siruta": 120860
},
"temei": "HG 1217/2023"
}
],
"sediu": {
"localitate": {
"cod_siruta": 120879,
"nume": "Roman"
},
"potrivire": "exact"
}
}
}
GEThttps://oneapi.ro/api/business/v1/firme/24890577/jurisdictii
{
"data": {
"localitate": {
"cod_siruta": 83570,
"nume": "Gheorgheni"
},
"uat": {
"cod_siruta": 83561,
"nume": "Gheorgheni",
"tip": "municipiu"
},
"judet": {
"cod_siruta": 190,
"nume": "Harghita",
"cod_auto": "HR"
},
"jurisdictii": [
{
"domeniu": "justitie",
"tip": "judecatorie",
"denumire": "Judecătoria Gheorgheni",
"nivel": "uat",
"sediu": {
"nume": "Gheorgheni",
"cod_siruta": 83561
},
"temei": "HG 1217/2023"
}
],
"sediu": {
"localitate": {
"cod_siruta": 83570,
"nume": "Gheorgheni"
},
"potrivire": "exact"
}
}
}
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 | Unknown tax ID. |
| 422 | sediu_nelegat | The office could not be linked to the locality nomenclature, so competence cannot be determined. |
| 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": "sediu_nelegat",
"mesaj": "The office could not be linked to the locality nomenclature, so competence cannot be determined.",
"detalii": {
"cui": [
"The value sent does not satisfy the parameter rule."
]
}
}
}