The Spanish government requires you to have an official “Número de Identificación de Extranjeros”, more efficiently known as the NIE, if you want to conduct any sort of buying or selling in Spain. It is more important for real estate, cars, boats etc. but if you want to open a Spanish bank account, you will need one.