Most permits are needed/required if it exceeds 24 inches in height at its highest point to ground, attached to any existing building and exceeds 100 ft.²
These three simple rules implement dozens of other rules.… Like proper fastening and fasteners, Heights of handrails, stringers, footing...