! In Vientiane it worked perfectly. This is how we wrote the declaration:
"Declaration
SCHOOL hereby declare that NAME, born XXX, passport no XXX
is suitable for stay in Kingdom of Thailand based on the fact that he is a spouse of School’s employee
NAME, born XXX, passport no XXX. We kindly ask for granting
NAME a Non-immigrant visa “O”.
Sincerely,
SCHOOL"
We had it both in English and Thai but I'm not sure if it was necessary. Also I had her employment contract and our marriage certificate. We went together to the Embassy and gave our papers at the same time so they could compare it. They asked us few questions, it took a little longer than with other people, but I got my non-O next day and my wife got non-B.