Re: it is not easy (or necessarily possible) to define where income was generated.
Sure, the revenue is generated where the customer is.
The cost of goods sold however is a direct input to the profit, and it would of course be farcical to disregard the international contributions and costs involved.
This is why transfer pricing exists, why trade deals exist and why multinational companies have complicated tax affairs.