Upon the death, resignation, removal or expiration of the term of any officer, the City Auditor shall examine the accounts of such officer, and if such officer be found indebted to the City, the City Auditor shall immediately give notice thereof to the Mayor and the Director of Law, and the latter shall proceed to collect such indebtedness.