@Qi *******
you pay taxes on funds you remit to the kingdom any year you live here over 180 days..
Tax residency has no bearing on where your income source is.. It is also entirely possible to be tax resident in Thailand, and not in your home or passport country, while paying zero tax. I do and have done for years.
I am a cross border tax specialist.. Thailands loopholes are a large reason I am here.