Deductions & credits

Report as you would any stock or other asset sale.  It eventually goes to Sch D.