The clerk shall, immediately after the adjournment of any court, make out two lists of all entries made on behalf of witnesses attending for the Commonwealth, and certify one to the Supreme Court and the other to the county or city treasurer, to which lists shall be attached a certificate to the correctness of the allowances therein and the aggregate amount thereof signed by the judge of the court and by the clerk. Any dispute before or after issuing the certificate between the witness and the party against whom his claim is made as to its justice or amount may, when the case is in a court, be determined by such court. The Comptroller shall not issue a warrant for any claim allowed by a court to a witness unless it appears upon the list certified as herein provided, and, upon the payment of any such claim, the date of approval by the Supreme Court shall be noted on such list.
Va. Code § 17.1-614