Deductions & credits

What numbers from 1099B are you adding. I added all the positive numbers (gains) to line 13 of Schedule D and my calculated number for 2022 tax return does no match 1116B  lien 1e - which it says is Gross income for all sources. The number that TT has calculated is more than my income as on 1040. 

 

For me this year I had the Adjustment exception as the Foreign Div+LTCG was more than 20K. In the prior year I did not have this exception and the calculated value was reasonably close to my actual gross income on 1040.