NewTell a voided invoice from a totally rectified one, without a second call
BeeL
Get StartedMulti-NIFVeriFactuStripeAPI ReferenceChangelog
ErrorsAll codes

ALTERNATIVE_ID_REQUIRES_SPAIN

Type NOT_REGISTERED (07) is only valid for Spain; received country: ''{0}''


Category: Customers

Example response

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

{
  "type": "https://docs.beel.es/errors/ALTERNATIVE_ID_REQUIRES_SPAIN",
  "title": "ALTERNATIVE_ID_REQUIRES_SPAIN",
  "detail": "Type NOT_REGISTERED (07) is only valid for Spain; received country: ''{0}''",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "ALTERNATIVE_ID_REQUIRES_SPAIN",
    "message": "Type NOT_REGISTERED (07) is only valid for Spain; received country: ''{0}''",
    "details": {}
  },
  "meta": {
    "timestamp": "2026-05-21T10:00:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}

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

Message

Type NOT_REGISTERED (07) is only valid for Spain; received country: ''{0}''
El tipo NO_CENSADO (07) solo es válido para España; país recibido: ''{0}''
El tipus NO_CENSAT (07) només és vàlid per a Espanya; país rebut: ''{0}''

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