(a) A certificate of occupancy issued by the city clerk is required in advance of the use or occupancy of: (1) Any lot or a change in the use thereof. (2) A building hereafter erected or altered or a change in the use of an existing building. (3) Any nonconforming use that exists at the time of the enactment of this chapter or an amendment thereto that is changed, extended, altered, or rebuilt thereafter. (b) The certificate of occupancy shall state specifically wherein the nonconforming use fails to meet the provisions of this chapter. (c) No certificate of occupancy shall be issued unless the lot or building or structure complies with all provisions of this chapter. (d) A record of all certificates of occupancy shall be kept on file in the office of the city clerk and a copy shall be furnished, on request, to any person having a proprietary or tenancy interest in the building or land involved.