Residency determines tax status ultimately, so you cant base erode/price transfer if you don't live in that country.
Depending on outside factors like customer base and actual product determines where tax is due.
For example (NOT ADVICE!!)
Thai resident
Digital products or consulting.
US LLC sets up and UK LTD to access market and banking.
UK can invoice on behalf of the US as an intermediary as some clients can not or will not contract with a US company (clients preference).
UK charges a fee for administration and then delivers the funds to US.
Issues that may arise
UK company receives more than £82K in payment from UK customers therefor, VAT liable. So US, bills UK clients directly.
Definition of dividend, as US LLC does not pay dividends but in Thailand they don't differentiate LLP/LLC to a LTD. Remit funds to personal account and then deliver them to Thailand the year after. That's the official way but as we know people don't follow this rule and have not had any issues (I do not condone nor advise this).
Tax status of both companies. UK LTD tax status can be applied for and fillings on profit/loss on fees remitted to HMRC and tax certificate produced for the accounting period. LLC much the same with the relevant US documents.