Retirement tax questions

Bottom line: I believe the calculation of "EARNED INCOME" in turbotax is not comprehensive.

 

Basically to contribute to an IRA you need EARNED INCOME. It seems to me Turbotax is not considering all the earned incomes scenarios like for instance the one of QBI. What are your thoughts?