No clerk, sheriff or other officer shall receive payment out of the state treasury for any services rendered in cases of the Commonwealth, whether in a court of record or a court not of record, except as allowed by statute. Localities shall be exempt from paying fees for services rendered by a clerk or other court officer for cases, whether in a court of record or a court not of record, when the locality is a party to a case commenced in a court serving that locality or in any other jurisdiction when the localities have a reciprocal waiver of fees agreement. Sheriffs may, in writing, grant a waiver of the sheriff's fee to one or more localities.
Va. Code § 17.1-266