oneapi
Sign in
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"
            }
        ]
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatToken missing, invalid, expired or revoked.
403feature_indisponibilThe current plan does not include the feature the route depends on.
404negasitCompany [{cui}] not found.
422validareThe route takes no parameters apart from lang: any other parameter returns 422 instead of being ignored.
429cota_depasitaThe 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."
            ]
        }
    }
}