Datatypes › Spain › Finances and banking

CIF por nombre de campo

ID cif

DatatypePersonal data (PII)identifier

ES datatype for 'CIF por nombre de campo' (cif) from rules in context 'finances'. The CIF (Código de Identificación Fiscal) is a Spanish tax identification code assigned to companies and legal entities. It consists of 9 characters: one letter from the set A-H, J-N, P-S, U-W (excluding I, O, and certain letters), followed by 7 digits, and ending with one alphanumeric character (letter or digit) that serves as a check digit.

Categories
Finances and banking
Countries
Spain
Languages
Spanish
Schema.org
taxID
python-stdnum
stdnum.es.cif
ORG-ID.guide
ES-NIF
Quality
75/100 · missing: negative example, source link, translation
Metacrafter rules
3 rules (2 by field name, 1 by value)
Supported by tools
Cloudflare DLP, Databricks Unity Catalog data classification, DataPrep, metacrafter, python-stdnum

Regular expression

^[ABCDEFGHJKLMNPQRSUVW][0-9]{7}[A-Z0-9]$

Python re syntax.

Test a value

Examples

ValueDescription
A12345674 Valid CIF format with letter A, 7 digits, and check character
A28015865 Telefónica, S.A. (the control digit is valid; B98765432 had an invalid one)

Use this record