No!By applying for a tax number Spain nothing changes in your tax liability with respect to your home country. You are in the land tax where you have