The balances remaining in any of the funds created by sections 14-501 and 14-502 and against which lawful obligations have not been created shall at the expiration of each fiscal year or biennial period be transferred to the general sinking fund of the city by the department of finance.