Validate the format and check letter of NIF (individuals), CIF (legal entities) and NIE (foreign residents).
Divide the 8-digit number by 23 and the remainder determines the letter according to the table: TRWAGMYFPDXBNJZSQVHLCKE.
The CIF has an initial letter (entity type), 7 digits and a control character. The control is calculated by summing digits at even and odd positions (odd ones multiplied by 2).
NIF: Spanish individuals (8 digits + letter). CIF: legal entities (letter + 7 digits + control). NIE: foreign residents (X/Y/Z + 7 digits + letter).
Validating member IDs? Custodita validates them when importing mandates.
Try free — up to 10 mandates