Loading...
Loading...
Spain
Spanish VAT number / Código de Identificación Fiscal
The CIF (Código de Identificación Fiscal, Tax Identification Code) is a unique identification number for legal entities in Spain. The number consists of a 11-character string, with the first two characters being the country code ES, the next character being a letter indicating the type of entity, and the last character being a check digit.
Although this identifier can be verified against official registries, not all entities are included in the linked sources. As a result, some valid identifiers may not be found during registry checks. We'll flag these as valid but not verified.
This identifier follows a strict format, here represented as X = alphanumeric character, A = letter, 0 = digit, and # = alphanumeric or special character (*, +, ?).
Example of syntactically valid Spanish VAT number / Código de Identificación Fiscal
NIFES J-99216582Data for this identifier is verified against the following registries
VIESVAT Information Exchange Systemeu-viesSpanish VAT number / Código de Identificación Fiscal
Syntax ES J-99216582
Verification API
Use our API to verify any NIF / CIF from Spain in real-time and get detailed information about the associated entity, ensure its presence in the registry of record, see the registered address, and more.
curl -X GET "https://verifyvat.com/api/verify/es_vat/ESJ99216582" \
-H "x-api-key: {your_api_key}"
# You can also use query parameters with a GET request:
curl -X GET "https://verifyvat.com/api/verify?type=es_vat&id=ESJ99216582" \
-H "x-api-key: {your_api_key}"
# Or via JSON body with a POST request:
curl -X POST "https://verifyvat.com/api/verify" \
-H "Content-Type: application/json" \
-H "x-api-key: {your_api_key}" \
-d '{"type":"es_vat","id":"ESJ99216582"}'curl -X GET "https://verifyvat.com/api/types/es_vat"
# Via query parameters with a GET request:
curl -X GET "https://verifyvat.com/api/id-types?id=es_vat"
# Or via JSON body with a POST request:
curl -X POST "https://verifyvat.com/api/id-types" \
-H "Content-Type: application/json" \
-d '{"id":"es_vat"}'Format API
Explore the format and validation rules of this identifier, and implement the verification logic in your platform.
Get started
Whether you’re checking one company or building verification into your product, VerifyVAT gives you instant access to official business data: clear, accurate, and always up to date. No fluff, no guesswork, just the facts you need from the sources that matter.