Deductions & credits

Capital gains taxes can be eliminated based on your income.  That does not mean the actual capital gains is not reported on your tax return as taxable income.