The provisions of any state, county or municipal ordinance or law to the contrary notwithstanding, the tax levied and collectible pursuant to Section 40-21-53 shall be deductible from and shall not constitute a part of gross receipts for purposes of computing the amount due under any state, county or municipal tax, excise, license, or fee which is based upon or measured by the gross receipts of any person, firm, municipality, or corporation operating an electric or hydroelectric public utility subject to the tax levied by said section.
Ala. Code § 40-21-54 (1975)