Section 6103 does not apply to any fee or charge for official services established by a city, county, city and county, or district as a reasonable and nondiscriminatory inspection fee to defray the costs of the inspection by such city, county, city and county, or district of building construction work performed within the boundaries of such city, county, city and county, or district, whether such work is done pursuant to franchise, statutory authority, or otherwise. Section 6103 does not apply to a reasonable and nondiscriminatory fee or charge established by a city, county, city and county, or district ordinance to defray the costs of providing plan-checking services to any applicant, whether such plan-checking services are performed by the city, county, city and county, or district having jurisdiction over the construction or are contracted by such city, county, city and county, or district to an independent plan-checking firm. This section does not authorize a fee or charge for the mere issuance of a permit to do such work, nor does this section authorize the assessment against, or collecting of any fee or charge from, the state or its agencies when, and to the extent that, such inspection or services are otherwise required by law, to be, and are in fact, performed by another governmental agency.
Ca. Gov. Code § 6103.7