ErrorsAll codes

NIF_NOT_IN_CENSUS

The NIF ''{0}'' does not exist in the AEAT census or the fiscal name does not match


Category: Customers

Example response

When this error occurs, the API returns a JSON response with the following shape:

{
  "type": "https://docs.beel.es/errors/NIF_NOT_IN_CENSUS",
  "title": "NIF_NOT_IN_CENSUS",
  "detail": "The NIF ''{0}'' does not exist in the AEAT census or the fiscal name does not match",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "NIF_NOT_IN_CENSUS",
    "message": "The NIF ''{0}'' does not exist in the AEAT census or the fiscal name does not match",
    "details": {}
  },
  "meta": {
    "timestamp": "2026-05-21T10:00:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}

The type URI is stable and always resolves to this page.

Message

The NIF ''{0}'' does not exist in the AEAT census or the fiscal name does not match
El NIF ''{0}'' no existe en el censo de AEAT o el nombre fiscal no coincide
El NIF ''{0}'' no existeix al cens de l''AEAT o el nom fiscal no coincideix

Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.

Tokens like {0} are runtime arguments — the backend fills them with actual values before responding.

Other errors in this category

Keep exploring