pen-name
New Member

Deductions & credits

Thank you very much, Caro, and bine22 had also previously helped me, so thanks again.  
I am still confused however, because of a correction that the IRS made to our return a couple of years ago.
I had entered on line 16b of Form 1040 the taxable part of my pension from a US state and on line 20b the calculated taxable part of my husband's US social security benefit.  Together with a German pension, which was taxed here in Germany, this made up the total income on line 22, which was also entered on Form 1116, line 2e, as the gross income from all sources.
The IRS later sent a check and explained that I had made an error and directed me to Publication 915, where I read  "U.S. citizens who are residents of the following countries are exempt from U.S. tax on their benefits. Canada. Egypt. Germany. Ireland. Israel. Italy. (You must also be a citizen of Italy for the exemption to apply.) Romania. United Kingdom. The SSA will not withhold U.S. tax."
The difference between their calculation of our adjusted gross income, line 37, and ours was exactly the amount that I had entered on line 20b, which confirmed to me that the whole of the US Social Security income was not taxable by the US.
However, the IRS made no adjustment to my calculation of the foreign tax credit, which had included most of the US Social Security benefit in the gross income from all sources on line 2e, therefore my question.     

I hope I've been clearer.  Thanks again.