General information about the NIE number in Spain:
The NIE number in Spain (Número de Identificación de Extranjero) is  the identification number for everyone who is not a Spanish citizen.

The NIE Number is issued by the National Police of Spain and in accordance to Spanish law is required for the purchase or sale of any real estate property, […]