There's a lot more to tax residence in most countries than a simple time limit.
For Germany, for example, there are other specific triggers, other than the 6 consective month rule. One would be having an abode in Germany. Covered in reasonable detail in this KPMG report (pdf).
Tax residence generally implies you have to pay tax to that country on your ...
Staatsbürger aus allen EU-Mitgliedstaaten sowie aus Island, Norwegen
und Liechtenstein genießen volle Niederlassungsfreiheit in Deutschland
ohne Einschränkungen. Dies gilt im Unterschied zur
Dienstleistungsfreiheit und zur Arbeitnehmerfreizügigkeit auch für das
neue EU-Mitglied Kroatien
Free translation: In contrast to the freedom ...
Yes, as a permanent resident you should be able to register your own company. There are various legal forms, and sometimes it's not clear what is the best choice for conducting a business.
You should better consult with tax consultant what is the best option for your case.
Also check the following site, which describes various things concerning freelancers ...
Each country where you are working, contracting or residing might try to tax some or all of your income based on the local rules and those are not fully unified even in the European Union. Worse case scenario, you could be taxed several times for the same income. Some countries like the US will also want a bite at the apple as long as you are a citizen, no ...
The H1B process takes time, luck, qualifications, fees, and skilled form-filling. I suggest avoiding it by never working in the US. You would go on living in Spain and only visit the US for short periods.
In practice, you would use the Visa Waiver Program, but B-1 Temporary Business Visitor lists the permitted business activities for a visitor to the US.
Incorporate back home (in India) and treat every sale of a product as
and export from India and import into US
No, you cannot do it while you're on H1b. You'd be breaking the law. Working for an employer other than your petitioner, even if it is yourself, is illegal.
Move to Chile or Canada which have much simpler immigration policies
for startups .
Best talk to an tax expert, as Informatiker you could meet the criteria for becoming a "Freiberufler". This has several legal and tax benefits, but requires fulfillment of very strict conditions. If you explain more what you plan to do as your business model maybe we can give more input.
Yes, your company would probably need to be registered in the US. You'd need to get H1b visas for your employees as contractors for your client. This is a fairly standard process that a lot of consulting firms (like Infosys, Wipro, Tata - all from India) follow.
However, if you're small, this, coupled with legal fees for the visa process and the time/quota ...
Rob Hoare mentioned, correctly "There's a lot more to tax residence in most countries than a simple time limit". One consideration is that of being in the country's medical system. Tohecz, for example, said that he lives in France half the time but has no taxable income there. That would, AFAIK, preclude him from receiving any medical benefits.