Datatypes

Spanish excise establishment code (CAE)

ID es_cae

DatatypeNot PIIidentifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Código de Actividad y Establecimiento (CAE), which the Spanish Tax Agency assigns to an establishment where an activity involving goods subject to excise duty takes place. It has 13 characters: ES, three zeros, two digits for the managing office, two characters for the activity (for example V1 for wine producers), three digits and a letter.

Categories
Finances and banking, Companies/business/organizations
Countries
Spain
Languages
Spanish
python-stdnum
stdnum.es.cae
Quality
93/100 · missing: second example
Metacrafter rules
no detection rule yet
Supported by tools
python-stdnum

Regular expression

^ES000(?:0[1-9]|[1-4]\d|5[0-6])[0-9A-Z]{2}\d{3}[A-Z]$

Python re syntax.

Examples

ValueDescription
ES00008V1488QExample from the python-stdnum documentation
00008V1488 invalidCountry code and last letter missing (python-stdnum example)

Translations

LanguageNameDescription
SpanishCódigo de Actividad y Establecimiento (CAE)

Sources

Use this record