If you are a Thai tax resident (180 days or more) and transfer in, carry across the border or spend on an ATM any funds from overseas that are classed as foreign sourced income, then this is potentially taxable. It doesn’t matter what the money is used for.
I recommend you watch our videos on this subject or podcasts which explain what is classed as taxable transfers


