(a) Whenever the amount of any tax, penalty, or interest has been paid more than once, or has been erroneously or illegally collected or received by the city under this article, it may be offset against any future liability for the tax. (b) If the licensee determines that he has overpaid or paid more than once, which fact has not been determined by the mayor and city council, he will have three years from the date of payment to file claim in writing, stating the specific ground upon which his claim is founded. The claim shall be audited. If the claim is approved by the mayor and city council, the excess amount paid to the city may be credited on any amounts then due and payable from the licensee, or may be refunded to the licensee if the licensee is no longer operating a licensed premises in the city.