Any question arising with reference to the amount to be allowed to the department, the expenditure of the fund, the accounting therefor, and the repayment thereof to the state treasurer, shall be finally determined by the ruling of the state comptroller.