piighost/es-nif-cif

Spanish company tax number (CIF): an entity-type letter, seven digits, then a check character. The leading letter set excludes the ones reserved for individuals, so it does not collide with the DNI.

Label: ES_NIF_CIF

Pattern

(?<!\w)[ABCDEFGHJNPQRSUVW]\d{7}[0-9A-J](?!\w)

Must be caught

Must be left alone

Tags: es, business, accounting, government-id

Download the detector as TOML