you went wrong at 'i heard'. read up on it yourself from a reliable official site as to what constitutes a thai tax resident. otherwise you deserve to get it wrong. why leave such critical information to hearsay or other people on the net youve never met??