That question was recently asked and
@Tod ********
replied...
"okay, let's get this hashed out.
As far as the 90 day online system, it cross checks passport and address information with the TM30 system.
SOME offices require you file a new TM30 if you stay somewhere else other than your primary residence (where you have your TM30 filed) during inside thailand travel
SOME offices only require you to file a new TM30 if you return from international travel
AND
SOME offices only require you to file the TM30 once and whether you travel domestically (staying at a place that files a Tm30 on you) or return from international travel, as long as you go back to the address where your TM30 was filed, they're okay with it
It's office specific, so what we're not going to do is list how each and every one of the 80+ offices in the country handles TM30 requirements <- that's for you people to suss out with your particular immigration office..
As far as the O/P's predicament it was because they'd stayed at a hotel that filed a TM30 on them and then didn't update/re-file a TM30 when they went back home <- meaning their office requires a TM30 update for domestic travel (if you stay where a TM30 is filed inside thailand)
********************************************