dmertz
Level 15

Deductions & credits

Code N has nothing to do with a returned RMD.  You cannot use code N.  You must use the code that is present in box 7 of the Form 1099-R provided by the payer.