NIF / CIF / NIE Validator

Validate the format and check letter of NIF (individuals), CIF (legal entities) and NIE (foreign residents).

NIF, CIF and NIE in Spain

How is the NIF letter calculated?

Divide the 8-digit number by 23 and the remainder determines the letter according to the table: TRWAGMYFPDXBNJZSQVHLCKE.

How is a CIF validated?

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).

What are the differences between NIF, CIF and NIE?

NIF: Spanish individuals (8 digits + letter). CIF: legal entities (letter + 7 digits + control). NIE: foreign residents (X/Y/Z + 7 digits + letter).

Do you manage SEPA mandates for members or clients?

Validating member IDs? Custodita validates them when importing mandates.

Try free — up to 10 mandates