@Terary *********
not sure what Edna and art are talking about, but you need to get a tax identification number for her, in order to file married jointly.
Go to the American citizen services area on the US embassy Bangkok website and follow the mail-instructions for certifying a Thai passport. You mail her passport to them and they send back a certified copy.
Then you fill out form w7, the application for the ITIN, and include it with a *paper* 1040 when you do your 2022 tax return in 2023. Also include the passport certification from the embassy and a copy of your Thai marriage certificate. You cannot file electronically. You have to mail paper w7 and 1040 together to the ITIN processing center in San Antonio. The address is on the w7. They will issue the TIN and forward your paper 1040 for processing. You'll have to pay DHL about 1500 baht to get these documents back to the USA
Then, be warned, you will wait 6-8 months for your tax refund because the IRS budget has been slashed and there aren't enough personnel to process paper filings.
Pm me if you have more questions