In the settlement the county treasurer shall receive from the State his actual expenses necessarily incurred in making the trip from the county seat to Sacramento and return. The State Controller shall draw his warrant in favor of the county treasurer on consummation of the settlement with the State and the State Treasurer shall pay the warrant.