26 CFR 31.3503-1 – Tax under chapter 21 or 22 paid under wrong chapter
If, for any period, an amount is paid as tax—
(a) Under chapter 21 or corresponding provisions of prior law by a person who is not liable for tax for such period under such chapter or prior law, but who is liable for tax for such period under chapter 22 or corresponding provisions of prior law, or
(b) Under chapter 22 or corresponding provisions of prior law by a person who is not liable for tax for such period under such chapter or prior law, but who is liable for tax for such period under chapter 21 or corresponding provisions of prior law,