Paying tax in two countries in the same year
If you moved mid-year you might be a tax resident in two countries for that year (split year or tie-breaker in the treaty). You don't necessarily pay twice: the treaty says which country gives credit. Keep a diary of where you slept each night.