Retirement tax questions

Thank you for responding. So does that mean if my pension is $70,000 and the required RMD from the inherited IRA is $8,700 and I am the only beneficiary, that NY should exclude $28,700? Turbotax only shows me $20,000 for pension and annuity exclusion.