The way in which individuals and bodies corporate pay tax in Spain varies depending on whether or not they are residents of Spain.
1. INDIVIDUALS
Individuals shall be deemed to have their principal residence in Spain if they meet any of the following conditions:
• They spend more than 183 days per calendar year in Spain. Occasional absences shall be taken into account to calculate the period of residence, except when said individuals prove they have their tax residence in another country. In the case of countries or territories classified as tax havens, the Spanish tax authorities may request proof of residence in the tax haven for 183 days per calendar year.