So how do you manage your banking and tax issues without going insane? Is your company providing you with high-quality tax advisors that help you deal with this issue?
If you're on your own, you presumably have to hire an appropriate accountant.
This comes up even internally in the US if you're spending a lot of time in a number of states as a non-resident.