they are not talking about a Certificate of Residency from the Immigration dept. They are referring to a Thai Tax Residency Certificate issued by the Revenue Department. Separate things for separate purposes.
You are confused. You need a TM47 application form. Just go to your local immigration office information desk and ask for one or you can download from the Immigration website.