I will only end this and say if we exceed 180 days we are residents and not a tourist, which is called a non-resident! And we are also a tax resident. There is only one law difining this in Thailand. You should all knew your own DTA, double tax agreement with your homecountry.
This do not disagree with the tax law, tax is a part of it. You have to visit the tax office if you have PR. We who have ordinary extension only go if we like. I do because I earn money, nobody told me to go. Still, the only law defining....