If that's the case
@Ro***
, I would go to the thai immigration office that you use and get the hand out for a yearly extension of stay based on marriage to a thai using monthly income gained from legally working inside thailand. It's your contract, your pay stubs, your social security contributions, documents from your employer showing the thais that work for them which allow them to hire a foreigner etc.