Deductions & credits

The person who would issue the 1099-S is the same person listed on your HUD-1 as settlement agent.  Possibly the bank attorney, I guess.  No 1099-S is required if the proceeds from the sale are less than $250,000 (or $500,000 if you are married), so you may not get one at all.