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
| Value | Description |
|---|---|
| ES00008V1488Q | Example from the python-stdnum documentation |
| 00008V1488 invalid | Country code and last letter missing (python-stdnum example) |
Translations
| Language | Name | Description |
|---|---|---|
| Spanish | Código de Actividad y Establecimiento (CAE) |
Sources
- doc: https://www.boe.es/boe/dias/2006/12/28/pdfs/A46098-46100.pdf
- doc: https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.es.cae.html
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/es_cae - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/ES/finances/es_cae.yamlon GitHub