In a case wherein there is judgment or decree on behalf of the Commonwealth for costs, there shall be taxed in the costs the charge actually incurred to give any notice, although it be more than fifty cents; and the fees of attorneys and other officers for services, and allowances for attendance, as if such fees and allowances were payable out of the state treasury. What is so taxed for fees of, or allowance to, any person, shall be paid by the sheriff or officer who may receive such costs into the state treasury.
Va. Code § 17.1-628