When do I need a permit?

A permit is required to construct, enlarge, alter, repair, move or change the occupancy of a building or structure, or to erect, install, enlarge, alter, repair, convert or replace any electrical, gas, mechanical or plumbing system.