Business v1 / Firme
Tax status history
How the tax standing changed over time — entering and leaving VAT, inactivity, split payment — each change with its date, not only today's state.
GET
https://oneapi.ro/api/business/v1/firme/{cui}/fiscal/istoric
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
- The history of tax-status changes (VAT, inactivity, etc.), with the date of each change — useful to see when a company entered or left VAT.
What it is for
- Establishing the VAT regime applicable on the date of an old invoice, not today.
- Reconstructing when a partner entered or left tax inactivity.
- Documenting a tax correction with the exact date the status changed.
Response structure
All fields below live inside data.
FieldTypeDescription
istoric[].atribut
string
The fiscal attribute that changed.
istoric[].data_start
string
Since when the value is valid.
istoric[].data_end
string | null
Until when it was valid;
null = still in force.
istoric[].sursa
string
The data source.
Response examples
GEThttps://oneapi.ro/api/business/v1/firme/6719278/fiscal/istoric
{
"data": {
"istoric": [
{
"atribut": "tva",
"data_start": "1995-01-04",
"data_end": null,
"sursa": "anaf:v9"
}
]
}
}
GEThttps://oneapi.ro/api/business/v1/firme/14399840/fiscal/istoric
{
"data": {
"istoric": [
{
"atribut": "tva",
"data_start": "2002-02-01",
"data_end": null,
"sursa": "anaf:v9"
}
]
}
}
GEThttps://oneapi.ro/api/business/v1/firme/2054341/fiscal/istoric
{
"data": {
"istoric": [
{
"atribut": "tva",
"data_start": "2025-06-30",
"data_end": null,
"sursa": "anaf:v9"
}
]
}
}
GEThttps://oneapi.ro/api/business/v1/firme/24890577/fiscal/istoric
{
"data": {
"istoric": [
{
"atribut": "tva",
"data_start": "2009-01-06",
"data_end": null,
"sursa": "anaf:v9"
}
]
}
}
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 | Company [{cui}] 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."
]
}
}
}