Interest shall be paid upon the amount of any overpayment of tax at the adjusted annual rate established pursuant to Section 19521 upon the amount found to have been illegally collected from the date of payment of the amount to the date of allowance of credit on account of the overpayment or to a date preceding the date of the refund warrant by not more than 30 days, the date to be determined by the board from the first day of the month following the month the tax becomes due. The interest shall be paid: