If you intend to purchase a property in Spain you should quote the NIE number on any documents submitted to the Spanish authorities for example transfer tax assessment papers or in relation to business performed with private institutions such as banks.