When is a Certificate of Occupancy required?

Certificate of Occupancy is required for any change to a structure, and for all home sales and all rental units.