file form 8822
https://www.irs.gov/site-index-search?search=8822&field_pup_historical_1=1&field_pup_historical=1