Needed one of these for a Halb-tax/Visa card application, cost me 30 CHF - got mine from the Einwoheneramt of my town, it's called a "Wohnsitzbestaetigung".
(Only reason I needed one I reckon was because I've changed residence, so my B Permit ID does not have the 'correct' address on it)
In addition to taking probably 2 minutes to prepare, it was printed on nice stiff paper, so I suppose I got my money's worth!