FWIW in most countries you dont become tax resident until you've been there more than 3 months, in some cases 6.
source: I work(ed) for an international company and missions were somewhat commonplace, you get paid from your subsidiary unless you're there for longer than 3mo.