Dear Sir/Madam,

If you spend more than 183 days a year in Spain you will be held liable for all your worlwide income.

In your case if you are able to successfully prove, and you will be required to do so, that you are out of this country for more than 200 days you will not be regarded as fiscal resident and therefore will not pay for your income generated abroad.