@Salli ***************
You work in Thailand, does not matter if this work is just typing letters on a key board. You are psychically in Thailand, use Thai internet etc to do your job. Therefor you need a Work Permit and Non Immigrant B visa. Don't let you get fooled by many who tell you, it is okay it is no problem, unless they explain you the punishment of working illegal and on incorrect visa. Than you can make a choice for yourself if you think it is worth it.