Had the same problem happen to a fam member, I went to info desk and told them my problem and they sent someone from Immigration to grab us inside and to fix the stamps.
- I would say most marriage certs dont have id numbers. For my marriage in the US to be recognized in Thailand, I had to go to US Embassy in Thailand and sign an affidavit that I married my Thai wife in the US. I had to translate that into Thai, and then have it stamped at the Thai Ministry of Foreign Affairs. Then I could register my marriage locally at a city office.
They came to me in downtown BK, wanted a copy of my lease, required my spouse to be there & took pics inside my condo. Required me to have an acquaintance there too that could vouch for me and took down his id & info.
I was told at CW in BK while applying for NoN O based on marriage that I needed a minimum of 15 days left on my Visa to apply. I would assume you will need to get a visa extension beforehand.