Interest shall be collected on tax deficiencies and paid on overpayments as follows:
(1) A tax levied under any state tax law which is not paid when due is delinquent. Interest at the rate of ten percent (10%) per annum shall be collected on the total tax deficiency from the date the return for the tax was due to be filed until the date of payment;
(2) Interest on a tax deficiency shall be assessed at the same time as the tax deficiency. The tax deficiency together with the interest shall be paid upon notice and demand by the Secretary of the Department of Finance and Administration;
(3) When any overpayment has been made by a taxpayer, the overpayment shall be refunded together with interest at the rate of ten percent (10%) per annum;
(4) Interest on overpayments shall be paid from the date the return for the tax was due to be filed or the date the return is filed, whichever occurs later, until a date, to be determined by the secretary, preceding the date of the refund warrant by not more than thirty (30) days, whether or not the warrant is accepted by the taxpayer; and
(5) No interest shall be allowed on an overpayment of tax that is refunded by the secretary within ninety (90) days after the last date provided for filing the return for the tax including any extension of time for filing the return, or ninety (90) days after the date the return is filed, whichever occurs later.