# What Spanish VAT Numbers Look Like

A plain guide to Spanish VAT number format: the NIF structure, the letters and digits it uses, and how to read an identifier correctly.

A Spanish VAT number looks like a short identifier built from letters and digits, and it is known in Spain as the NIF, or Número de Identificación Fiscal. The Spanish VAT number format starts with a letter or a set of digits and ends with a check character, so the identifier reads as one compact string with no spaces. This page explains the parts of the format and shows how to tell a personal identifier from a company one. It also covers the checks that confirm an identifier is well formed before you rely on it. 

## Letters, digits and one check character 

A Spanish VAT number carries a leading letter that marks the kind of holder, followed by digits and a final check character. The leading element can be a letter for a person or a company, and the body is a run of digits that fills the rest of the identifier. Spanish VAT numbers end in a control character that is a letter or a digit, depending on the type. The whole string is written without separators, so the format is easy to misread if you add spaces yourself. 

## Personal NIF versus company NIF 

The NIF covers both private individuals and legal entities, and the first character tells you which you are looking at. An identifier for a Spanish individual typically starts with a letter tied to the holder and continues with eight digits. A company identifier often begins with a letter that names the legal form, and the digits follow that letter. Reading that first character is the quickest way to know what kind of Spanish VAT number you hold. 

## Checking that the format is valid 

A correct Spanish VAT number follows a fixed pattern, and a mismatch means the identifier is wrong. The check character is calculated from the digits and the leading letter, so an incorrect final character reveals a typing error. Validation also confirms that the length and the mix of letters and digits match the expected format for that holder type. Tools exist for this check, but many services simply verify the pattern and the control character before accepting an identifier. 

## Spanish VAT Number Questions 

### What do Spanish VAT numbers look like? 

Spanish VAT numbers look like a compact string of a leading letter, a run of digits and a closing check character. The NIF format uses no spaces and no punctuation, so the identifier appears as one block of characters. The leading letter shows the holder type, and the body holds the numeric part. Reading the string from left to right gives you the holder category first and the control character last. 

### What does a Spanish VAT number look like for a company? 

A company Spanish VAT number begins with a letter that identifies the legal form, followed by digits and a check character. The letter at the front separates a company from an individual holder. The rest of the string is numeric until the final control character. A company identifier therefore looks different at the first character from one issued to a private person. 

### Is the Spanish VAT number the same as the NIF? 

The Spanish VAT number is the NIF, and the two names point to the same identifier in tax use. The NIF, or Número de Identificación Fiscal, is the official term for the tax identification number. Spanish VAT numbers and the NIF share one format of letters and digits with a check character. A document may use either name for the same string. 

### How do I know a Spanish VAT number is in the right format? 

A Spanish VAT number is in the right format when its length, its leading letter and its final check character all match the expected pattern. The control character is derived from the rest of the identifier, so a wrong last character marks an error. Checking the pattern catches typing mistakes but does not prove that the number is registered. Confirming registration requires the official tax records of the issuing authority.
