Deductions & credits

This answer is correct. Just be aware that some states do not recognize QCDs, so you may owe state taxes.