NewThe SII in Live, under contract
BeeL
Get startedMulti-NIFVeriFactuSIIRulesStripeAPI referenceChangelog
ErrorsAll codes

NIF_INVALID_FORMAT

The NIF '‹value›' has an invalid format


Category: Customers

HTTP status422 Unprocessable Content

Example response

When this error occurs, the API answers 422 Unprocessable Content with a JSON body of this shape:

{
  "type": "https://docs.beel.es/errors/NIF_INVALID_FORMAT",
  "title": "NIF_INVALID_FORMAT",
  "detail": "The NIF '‹value›' has an invalid format",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "NIF_INVALID_FORMAT",
    "message": "The NIF '‹value›' has an invalid format",
    "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 '‹value›' has an invalid format
El NIF '‹value›' no tiene un formato válido
El NIF '‹value›' no té un format vàlid

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

Placeholders like ‹value› are filled in at runtime with the actual values of your request.

Other errors in this category

Keep exploring