First version
Authority having jurisdiction (AHJ)
The office that enforces building, electrical and fire codes for a project, often the city or county building department. For home solar it issues the permits and inspects the work. It is a separate body from the utility, which approves the grid connection.
Applies to: US building, electrical and fire code enforcement, including home solar and battery permits. Who holds the role varies by city, county and state.