@Thierry *******
you didn't have problems because immigration didn't know you quit until you told them. Taking your name off the payroll is the same as quitting, and normally the business doesn't inform immigration. They simply quit paying Thai social security on you. The accountant is just that, an accountant, and has no interaction with immigration at all, except to proving the company documents immigration needs for your visa extension, when asked. They don't initiate anything dealing with immigration. They are licensed accountants, not immigration agents. Larger businesses, like the one my wife is the licensed accountant for, just hires a legitimate immigration agents to take care of those details. If not, then it is your responsibility. As soon as you made immigration aware of the situation, it was documented in the system. Before that they were not aware. It is really that simple.