Deductions & credits

No.  Code D is for a 401K not an IRA.  They are different things. A 401K comes out of your pay pretax and has already been deducted from the wages in box 1 and you can't deduct them  again.  Only enter it from your W2 nowhere else.

 

A IRA is a plan outside of work you contribute to on your own.