Spanish energy supply point code (CUPS)
ID es_cups
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 Unificado de Punto de Suministro, the identifier of an electricity or piped gas supply point in Spain. It has 20 or 22 characters: ES, a 4-digit distribution company code, a 12-digit supply point number, two check letters and, optionally, a border point digit and letter.
- Categories
- Industry
- Countries
- Spain
- Languages
- Spanish
- python-stdnum
stdnum.es.cups- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- DataPrep, python-stdnum
Regular expression
^ES\d{16}[A-Z]{2}(?:\d[A-Z])?$
Python re syntax.
Examples
| Value | Description |
|---|---|
| ES0341392425346906CP | Synthetic number with a valid check digit |
| ES0116359966285471RN | Synthetic number with a valid check digit |
| ES0341392425346906CP7 invalid | One character too many |
Translations
| Language | Name | Description |
|---|---|---|
| Spanish | Código Unificado de Punto de Suministro (CUPS) |
Sources
- wikipedia: https://es.wikipedia.org/wiki/C%C3%B3digo_Unificado_de_Punto_de_Suministro
- other: https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.es.cups.html
- other: https://docs.dataprep.ai/user_guide/clean/clean_es_cups.html
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/es_cups - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/ES/industry/es_cups.yamlon GitHub