The provisions of this chapter shall not require the payment of a license tax by any person conducting, managing or carrying on any business, occupation or activity wholly for the benefit of charitable or nonprofit purposes and from which the net gain, monetary or otherwise, is used solely for charitable or nonprofit purposes.
(`78 Code, § 5.02.260.)