Whenever it shall appear to the satisfaction of the Chief Financial Officer from examination of the books of his or her office that the tax collector or the sheriff for any county in this state has paid into the State Treasury, through mistake or otherwise, a larger or greater sum than is actually due from such collector or sheriff, then the Chief Financial Officer may issue a warrant to such collector or sheriff for the sum so found to be overpaid.