CIF and NIF in Spain: Requirements & Differences

In this article, you will learn about CIF and NIF in Spain. Both are tax identification number in Spain. Read the complete article to know more about the meaning, requirements and differences.

If you are an entrepreneur planning to set up a business in Spain or conduct any legal or financial transactions in Spain, you need to have a tax identification number. In Spain, there are two types of tax identification numbers called CIF and NIF. Both numbers have their own uses.

In this article, we will provide you with the information regarding what are the differences and uses of the CIF and NIF in Spain.

What is a CIF number in Spain?

CIF number (Certificado de Identificación Fiscal) is a tax identification number in Spain, which is obtained by companies or legal entities in Spain. A CIF number is used for opening a bank account, filing taxes, issuing invoices, and other taxation purposes.

CIF number is an 8-digit number in which the first digit indicates the type of business structure or legal entity. The next two digits specify the geographical region of Spain where your company is incorporated. The next five digits are a unique number.

Note: In Spain, the CIF number is also accounted as a VAT number.

Read More: VAT registration in Spain

What are the requirements to obtain a CIF number in Spain

Before obtaining a CIF number in Spain, you need to fulfil the specific requirements:

  • Application submission to the Commercial Registry
  • Company incorporation documents
  • Incorporation deed
  • Identity card or passport of the representative
  • Form 036 or 037
  • Company’s information (like company name, registered office address, nationality, shareholders or directors, funds, etc.)

What is a NIF number in Spain?

NIF number (Número de Identificación Fiscal) is a tax identification number in Spain, which is assigned to individuals or legal entities for carrying out the legal, administrative or financial activities in Spain.The

NIF number acts as a unique identifier for the Spanish Tax Agency and other legal entities.

For residents, the NIF number is the same as the DNI number, which follows the format:

  • Structure: 8 digits + 1 letter.
  • Example: 12345678Z.
  • Explanation: The 8 digits are a unique identifier, and the letter is a checksum character calculated based on the digits.

For non-residents, the NIF is the same as the NIE (Número de Identificación de Extranjero), with the following structure:

  • Structure: 1 letter + 7 digits + 1 letter.
  • Example: X1234567L or Y1234567M.
  • Explanation: The initial letter (X, Y, or Z) indicates the series of the NIE. The 7 digits are a unique identifier, and the final letter is a checksum.

What are the requirements to obtain a NIF number in Spain?

Before obtaining a CIF number in Spain, you need to fulfil the specific requirements:

  • Identity card (Spanish DNI) or valid passport
  • Complete application (Form EX-15)
  • Incorporation deed
  • Residence proof
  • Company’s information (like company name, registered office address, nationality, shareholders or directors, funds, etc.)

What is the difference between the CIF and NIF in Spain

AspectCIF (Código de Identificación Fiscal)NIF (Número de Identificación Fiscal)
DefinitionTax identification number for legal entities such as companies and organizations.Tax identification number for individuals (both Spanish nationals and foreign residents) and legal entities.
Primary UseUsed primarily for business-related tax identification and transactions.Used for all tax-related purposes, including both personal and business activities.
Assigned ToLegal entities such as companies (e.g., Sociedad Limitada, Sociedad Anónima), associations, and organizations.Individuals (Spanish nationals, foreign residents) and legal entities.
Structure1 letter (denoting entity type) + 7 digits + 1 checksum letter (e.g., A1234567B).For individuals: 8 digits + 1 letter (e.g., 12345678Z).
For foreign residents: 1 letter + 7 digits + 1 letter (e.g., X1234567L).
For legal entities: 1 letter + 7 digits + 1 letter (same as CIF).
Automatic AssignmentNot automatically assigned; must be applied for after company formation.For Spanish nationals: Automatically assigned a DNI.
For foreign residents: Assigned as NIE.
For legal entities: Same as CIF.
Entities CoveredLimited to legal entities (companies, organizations, etc.).Covers both individuals (including foreign residents) and legal entities.
Legal Documentation RequirementFor Spanish nationals: Automatically assigned a DNI. For foreign residents: Assigned as NIE. For legal entities: Same as CIF.For individuals: Requires personal identification documents (e.g., passport, NIE).
For legal entities: Requires similar documents as CIF.
Relevance for VATPrimarily associated with VAT (Value Added Tax) and other business taxes.Associated with a wide range of taxes, including personal income tax, corporate tax, VAT, etc.
Issuing AuthorityIssued by the Spanish Tax Agency (Agencia Tributaria) upon company registration.Issued by the Spanish Tax Agency (Agencia Tributaria) or through NIE for foreign residents.
ExamplesA1234567B, B7654321C12345678Z (for individuals), X1234567L (for foreign residents), A1234567B (for companies).

Who requires a tax identification number in Spain?

In Spain, any person who is engaged in official, financial or tax-related transactions must have a Tax Identification Number. Spanish citizens use their Documento Nacional de Identidad in place of a Tax Identification Number ,and foreign citizens need to acquire an NIE. In order to work, open up a business, purchase or sell property, open up a bank account and pay taxes, a TIN is required.
The non-residents must have a Tax Identification Number in case they are earning or have assets in Spain. Freelancers, companies, and self-employed individuals need a NIF to be registered and be able to issue invoices and comply with the requirements of the taxation system in Spain.

Conclusion

It is significant to know the difference between CIF and NIF in Spain for a person who wants to live, work, invest, and conduct business in the country. CIF (now issued as a NIF for taxation of legal persons) is primarily employed by companies for taxation, VAT, invoicing, and banking, and NIF to individuals, freelancers, employers, and businesses in general. It is required to have the right tax number in order to comply with the Spanish laws.

OnDemand International offers professional help with CIF or NIF registration, VAT registration, and company formation, taking care of the paperwork and the process, and letting you work on your business with the confidence that you will achieve success.

FAQ’s

What is a CIF number in Spain?

A CIF (Certificado de Identificación Fiscal) is a tax identification number used by companies and legal entities in Spain for taxation, invoicing, VAT, and banking purposes.

Is CIF still used in Spain?

NIF has been used to replace CIF in legal entities, yet the term CIF is popular in business and in common searches.

Who needs a CIF number in Spain?

Any company, association, and legal entity in operation in Spain requires a CIF/NIF to make tax payment, open bank accounts, issue invoices, and apply to VAT.

What is the difference between CIF and NIF?

CIF was used only for companies, while NIF applies to both individuals and legal entities. Today, companies also use a NIF instead of CIF.

Who needs a NIF number in Spain?

Spanish citizens, foreign residents, non-residents with income or property in Spain, freelancers, employees, employers, and companies all need a NIF.

Is a NIF required to open a bank account in Spain?

Yes. Spanish bank accounts require a valid NIF (or NIE in the case of foreigners) in order to open account.

Marketing
Rohit Sharma

Rohit Sharma is the Country Lead – Spain Incorporations at OnDemand International.
He specializes in helping entrepreneurs establish SL and SA companies, obtain NIE/NIF numbers, and manage Spanish tax registrations.