In the event that any employer deducts and withholds taxes from the compensation of an employee but fails to pay over the money so deducted and withheld to the Commonwealth, such employee shall not be held liable for the payment of such taxes but shall be entitled to a credit for the moneys so deducted and withheld as if the same had legally been paid over by the employer as required by this chapter. The burden of proving that such an employer deducted and lawfully withheld state income tax shall rest upon the employee.
Va. Code § 58.1-468