All foreigners need what is known as a NIE number in order to buy Spanish property, open a Spanish bank account, to inherit, and even to pay taxes.