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.
Glossary
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.
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.
| Term | Who uses it | Fictional example |
|---|---|---|
| NIF (Spanish national) | Individuals with a DNI | 12345678Z |
| NIE used as NIF | Foreign residents, including expat autónomos | X1234567L |
| NIF of a company (formerly CIF) | Companies such as an SL or SA | B12345678 |
A company tax ID starts with a letter that reflects the entity type — for example B for a sociedad limitada.
Your own NIF always appears on your invoice. For business clients, include their NIF too, so they can deduct the IVA · What does this mean?Impuesto sobre el Valor Añadido: Spain's VAT. The general rate is 21%, with reduced rates of 10% and 4%; some supplies are exempt or not subject to it.Think of it like: The same kind of tax as VAT in the UK or MwSt in Germany. The Canary Islands use IGIC instead.Full glossary entry →. For private individuals it depends on the invoice type and amount — check with your gestor.
Leaving out the client’s NIF for a business client, which can stop them deducting IVA.
Yes, for companies. CIF is the older term; today a company’s tax number is officially its NIF, in the same format.
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.