When a State statute—
(1) provides for the collection of a tax either by imposing on employers generally the duty of withholding sums from the pay of employees and making returns of the sums to the State, or by granting to employers generally the authority to withhold sums from the pay of employees if any employee voluntarily elects to have such sums withheld; and
(2) imposes the duty or grants the authority to withhold generally with respect to the pay of employees who are residents of the State;
This section does not give the consent of the United States to the application of a statute which imposes more burdensome requirements on the United States than on other employers, or which subjects the United States or its employees to a penalty or liability because of this section. An agency of the United States may not accept pay from a State for services performed in withholding State income taxes from the pay of the employees of the agency.
For the purpose of this section, “State” means a State, territory, possession, or commonwealth of the United States.
For the purpose of this section and sections 5516 and 5520, the terms “serve as a member of the armed forces” and “service as a member of the Armed Forces” include—
(1) participation in exercises or the performance of duty under section 502 of title 32, United States Code, by a member of the National Guard; and
(2) participation in scheduled drills or training periods, or service on active duty for training, under section 10147 of title 10, United States Code, by a member of the Ready Reserve.
(Pub. L. 89–554, Sept. 6, 1966, 80 Stat. 478; Pub. L. 94–455, title XII, § 1207(a)(1), (b), (c), Oct. 4, 1976, 90 Stat. 1704, 1705; Pub. L. 100–180, div. A, title V, § 505(1), Dec. 4, 1987, 101 Stat. 1086; Pub. L. 103–337, div. A, title XVI, § 1677(a)(1), Oct. 5, 1994, 108 Stat. 3019; Pub. L. 105–34, title XIV, § 1462(a), Aug. 5, 1997, 111 Stat. 1057.)