> That ultimately the taxes owed should probably be paid out to the countries where the sale occurs.
This is hard to implement in practice.
Imagine selling in a country with 50% tax, and having a country with 10% somehwere, anywhere in the world.
For easier math, let's say you buy dildos from a chinese manufacture for 1eur (including shipping), and sell them for 11eur to end customers. You've just earned 10eur, and you're taxed 5eur, giving you 5eur of profit.
What you then do is open a company in a low-tax country, the company is "completely independent" and the owner (your cousin) works with both the manufacturer and you. You buy the dildos from your cousin for 10eur, he buys them from china for 1eur has them shipped directly to you, and you sell them for 11eur.
So, your cousin earned 9eur, and will pay 10% tax on that (90c, 8.10eur of profit) and you earned 1eur, and will pay 50% tax on that (50c, 50c of profit for you).
So instead of paying 5eur in tax, you only paid 1.40eur, and pocketed 8.6eur. Yes, there are some additional costs (another company + paperwork, some percentage for your cousin) but you still earned more.
The same can be done with patents and licences, branding deals, etc. Company in rich country made 100M of profits... just have the company in a cheap-tax country charge them 99M for licencing, 1M gets taxed in the expensive-tax country, and 99M in the cheap one.