Spain Tax ID Numbers
Número de Identificación (NIE)
For Individuals, VAT, Example: X-2482300W
The NIE is 9 characters in the format A-NNNNNNNA where the first character is either X, Y or Z and last character is a checksum letter. It is issued by the Ministry of Internal Affairs. The number may also be used for VAT identification.
Documento Nacional de Identidad (DNI)
For Individuals, VAT, Example: 74362315-A
The DNI is 9 characters in the format NNNNNNNN-A. The ast digit is a checksum letter. It is used to identify Spanish citizens. Generally, the number is on found on a National Identity Card, issued by the Ministry of Internal Affairs. The number may also be used for VAT identification.
Certificado de Identificacion Fiscal (CIF)
For Entities, VAT, Example: B99416588
The CIF is 9 digits in the format ANNNNNNNX. It is a tax identification number for legal entities. The first digit is a letter (denoting the type of entity) and the last is a check digit which may also be a letter. The number may also be used for VAT identification.
Format Guide: N = Number; A = Letter; X = Number or Letter
Learn how to integrate Tax ID Pro into your software or web app