Hello RaoulDuke
I singlehandedly joined to cautiously warn you about a lot of the advice you are getting here (which I know its mostly provided on good faith). But I can tell you by experience some of the advice here isn't properly documented. What works in theory doesn't necessarily work in practice. There are a hundred different kind of setups you can go with, it just depends on what you are willing to concede (in all senses)
Bottom line, you have to relocate (which seems to be something you are willing to do). Great. Now lets talk about where should you move.
You cannot move︀ to any of the EU black list countries + the countries Spain considers a Tax︁ haven (check those out, its a much larger list than EUs) as a bonus recommendation︂ you should not move to a country that has a Double tax treaty with Spain,︃ so to the EU blacklist add pretty much all the countries that Spain does not︄ hold a Double Tax Treaty with to sum up the countries which are not an︅ option for you. With the exception of Gibraltar (where there is a Tax treaty but︆ you should consider it as if there isn't one), this is VERY controlled in Spain︇ (for obvious reasons) Gibraltar is not an option for your company, there is a special︈ treaty that states if the majority ownership of the Gibraltar company is Spanish, you tax︉ in Spain (EVEN if you have permanent establishment in Gibraltar). This removes places like Paraguay,︊ Costa Rica, Monaco just to name a few. Also as you already know ZEC and︋ Ceuta/Melilla companies aren't easy to maintain (the setup is relatively simple) but maintaining said setup︌ is a bit of a nightmare, especially ZEC. Most people here don't mention that in︍ order to maintain that ZEC status and avoid finding yourself in a pickle (loosing previous︎ Tax benefits) you need to at least have employees contracted for 4-5 years with an️ investment. Opening a ZEC company to do this 2-3 years and then leave isn't going to work, ZEC is designed for a medium-long term relation investment in Canarias (that is why its not considered a Tax Haven).
Great, now lets look into where you can relocate (including obtaining tax residency to live on that country). If we take into consideration those available for "easy" residence/VISA and that you are not open to pay large amounts of cash to obtain residency this is going to leave you with an absurdly low amount of countries (If what you are looking to do is pay little to no︀ taxes while living in an "good-acceptable" life-standards country).
Basically you are narrowed to:
1)UAE
2) Andorra (strict and highly controlled)
3) UK and Ireland with Nom-Dom Status where you only︁ get taxed on income you introduce into these countries (although you need to be sure︂ you aren't abusing this and incurring General Anti Avoidance Tax Rules). If the income you︃ introduce is too small a fraction of your total income it could be problematic.
4)Barbados *
5)Thailand * (you keep your money in a bank outside Thailand and you will︄ pay 0% taxes)
6) Hong Kong*
7) Singapore*
*(The last 4 you will need to︅ contract an agency that "hires you" on your own request, so you get a "work"︆ permit or work VISA) something like velocity global. You basically have your newly created company︇ contract HR services from a specialized hiring agency that onboards employees through their structure on︈ your behalf in a specific country (in this case you are hiring yourself). In most︉ cases they can hire foreigners and will provide you with a work permit that you︊ will need in order to obtain tax residency and live there or live there and︋ work with full legal compliance, it sounds trickier than it is, and its trickier in︌ places like Hong Kong. This way you can create a company almost anywhere and obtain︍ permanent establishment for the company ( especially if you have majority control) of said company︎ As well as tax residency through your work permit/ViSA prolonged stay.
If all you are️ looking to do is to save is a 10-15% in taxes and have similar living standards you get a lot more countries into that list (mostly in Europe with a few South-American. If you asked me....Unless you want the adventure or specifically love a country, a relocation to have a medium-low tax isn't worth the hassle. You either take this mostly as a life experience with a minor tax saving bonus or you look at this as a prolongation of your job obligations which you are doing to increase future company and life opportunities with saved taxes (which doesn't means you cant enjoy life, it︀ just means that at least for a period fun isn't necessarily your priority).
Remember not︁ only do you have to move for 183 days to another country (within the tax︂ year), you also need to have a valid reasoning for why you made that move︃ to that specific country on the first place, If Spain comes asking and the main︄ reason is "to save taxes" you are going to be taxed in Spain. You need︅ to create proper substances wherever you go and have valid reasoning for business ( and︆ as a bonus personal purposes).
You have to cut ties with Spain if you want︇ to avoid troubles down the line and announce your exit of the country. Spain is︈ likely Europe's most inquisitive tax agency. This means your "permanent home" needs to be elsewhere.︉ No rent, No Padron, No Autonomos, No recurrent paid bills, no car, no property under︊ your name (This is not strictly necessary but heavily recommended if you want to be︋ bullet proof) just sever your ties entirely with Spain before you move.
Going back and︌ forth changing tax residency between Spain and "x" country the year that you release its︍ a big no-no. If you want to return to Spain you need to see this︎ as something you do for either a short period of time and you don't keep️ repeating, or something you do for all the length of the process (many years) and then return to Spain.
Regards
**as a bonus recommendation you should not move to a country that DOESNT has a Double tax treaty with Spain**