you need to go immigration with your tm30/ 90 days report on date and they should issue it for your for a small fee if hard just apply to residence certificate with an agent
What document do you need for the driving licence ? Are you talking about residence certificate ? It’s the only document that you need from immigration to apply for a driving licence…
Hello is that possible to know your nationality ? Be careful too when returning to Thailand; I have someone who was working legally as you for few years then stopped the job in Thailand went out from Thailand to her home and back on exemption visa few weeks ago at airport got denied because no visa. If you come back in Thailand; try to get at least a tourist visa…