NIF (tax ID number)

The NIF is the tax identification number used to identify you or your company before the Spanish tax authorities for any fiscal procedure. For Spanish nationals it matches the DNI, and for foreign residents it usually matches the NIE.

The NIF appears on every invoice, yours and your suppliers', and on every return you file. An invoice without the issuer's and the recipient's NIF, when the client is a business or an autónomo, is not complete, and the expense may not be deductible.

Individuals use their DNI or NIE as their NIF. Companies get their own NIF, which starts with a letter showing the type of entity: when you set up an SL you first request a provisional NIF and, after registration in the Registro Mercantil, the final one.

The typical mistake is invoicing a company without checking its NIF, or copying it wrong. If it does not match the one held by the tax agency, the invoice can cause trouble in information returns and when deducting VAT. For transactions with other EU countries you also need an EU VAT number, obtained by registering in the intra-community operators register (ROI).

The NIF underlies the census declaration, the record books and every modelo. In kontora you save it once in each client's and supplier's record, and it is used on every invoice you issue with Verifactu.

Guides that use this term

Related terms

Rather have this calculated for you?

kontora generates your tax forms box by box, tells you how much to set aside and reminds you before every deadline.

Get started with kontora

Pricing · Calculators

AEAT (Spanish Tax Agency)

NIE (foreigner ID number)

Full glossary