I'd say you need to go to the Pasaport Polis NOT Gümrük.
You're probably going to have to provide 4 passport sized photos, a photo-copy of the personal detail page of your passport together with the original passport and of course the mashed-up Residence Permit.