1118. The sheriff has free access to the registers, valuation rolls, collection rolls and other documents deposited in the office of the corporation of every municipality in which he must levy the money, and he may command the services of the officers of such corporation, under the ordinary penalties.