The legal of Thailand, For sales include VAT to customer. I understand for VAT the company pay to revenue department but the outstanding customer of Thailand booking include VAT.
For VAT of sales not return to company. It is legal of Thailand for provision bad debt.
I hope you are understanding for the legal of Thailand.