Skip to content

Glossary

NIF vs CIF explained.

Short answer: the NIF is Spain’s tax identification number for both people and companies. CIF is the older name for a company’s NIF — the format is the same, only the name changed. Foreign residents usually use their NIE as their NIF.

Definition

The NIF (Número de Identificación Fiscal) is the tax ID for people and companies. For foreigners it is usually the NIE. CIF is the older name for a company’s tax ID and is still widely used.

NIF, CIF and NIE compared

TermWho uses itFictional example
NIF (Spanish national)Individuals with a DNI12345678Z
NIE used as NIFForeign residents, including expat autónomosX1234567L
NIF of a company (formerly CIF)Companies such as an SL or SAB12345678

A company tax ID starts with a letter that reflects the entity type — for example B for a sociedad limitada.

What goes on the invoice

Your own NIF always appears on your invoice. For business clients, include their NIF too, so they can deduct the . For private individuals it depends on the invoice type and amount — check with your gestor.

Common mistake

Leaving out the client’s NIF for a business client, which can stop them deducting IVA.

Common questions

Is a CIF the same as a NIF?

Yes, for companies. CIF is the older term; today a company’s tax number is officially its NIF, in the same format.

Can I invoice as an autónomo with an NIE?

Yes. Foreign residents registered as autónomos normally use their NIE as their tax number on invoices.

General information only. Tax treatment depends on your situation — confirm with your gestor or tax adviser before you invoice.