@Andrew ******
that's called a TM30. The landlord or property owner is required to register all foreigners that are staying at the property.
Some offices require proof that a TM30 was filed for a tourist visa extension and some do not.
Bangkok usually doesn't ask for it but Chiang Mai always does for example.