Spain's NIE, Portugal's NIF, Italy's codice fiscale and Greece's AFM: why you need a tax number before buying, and how to get one in good time.
It is one of the least interesting parts of buying abroad, and one of the easiest to leave too late. Without the number, the notary cannot complete the sale, the bank cannot open an account and the utility companies cannot put the bills in your name.
Why the number comes first
Most countries in southern Europe identify everyone who owns property, pays tax or opens a bank account by a personal tax number. As a foreign buyer you will be asked for it at several points: to sign the preliminary contract in some countries, to open a local bank account, to pay the purchase taxes and to sign the deed.
Joint buyers each need their own number. If you are buying as a couple, apply for both at the same time.
Spain: the NIE
The NIE, or Numero de Identificacion de Extranjero, is the number every foreign buyer needs before signing at the notary. The government fee is 12 euros, paid using form Modelo 790 with code 012.
You can apply through a Spanish consulate in the UK or in person at a police foreigners' office in Spain. Many buyers ask a lawyer or gestoria to arrange it, which costs more but saves a trip. Appointments can be hard to get in busy areas, so start early.

Portugal: the NIF
Every buyer in Portugal needs a NIF, the Portuguese tax number. Buyers who live outside the EU, which includes UK residents, usually need a tax representative in Portugal as well, a person or firm who receives tax letters on your behalf.
A lawyer can usually obtain the NIF and act as, or arrange, your tax representative. It is worth asking what they charge for both from the start.
Italy and Greece
In Italy the number is the codice fiscale. It is issued by the Italian tax authority and can be requested through an Italian consulate or a tax office in Italy. You will need it for the purchase, the bank account and the utility contracts.
In Greece it is the AFM, issued by the Greek tax office. Most foreign buyers ask a lawyer or accountant to obtain it for them, along with access to the online tax system.
Other countries have their own arrangements. Your lawyer will tell you exactly what is needed and when.

Getting it in good time
The simplest approach is to apply as soon as you are serious about a country, before you start viewing. The number has no ongoing cost, and having it ready means a good home is not held up while you wait for paperwork. It also helps if you plan an autumn viewing trip: you can open a bank account while you are there.
Keep a copy of the certificate or letter with your other property papers. You will need the number again every year if the country taxes non-resident owners, and again when you sell.
A short checklist
- Check which number the country requires and whether a tax representative is needed.
- Decide whether to apply yourself or through a lawyer.
- Apply for every buyer named on the purchase.
- Keep the documents safe and note the number somewhere you can find it.
With the number in hand, you can turn to the costs themselves. Our post on budgeting for the extras is a good next step, and our Spain property buying costs calculator shows the taxes and fees line by line if Spain is on your list.
