If you choose to credit foreign taxes against your tax liability, complete Form 1116, Foreign Tax Credit (Individual, Estate, Trust, or Nonresident Alien Individual), and attach it to your U.S. income tax return.
Your credit cannot be more than the part of your U.S. income tax liability allocable to your taxable income from sources outside the United States. So, if you have no U.S. income tax liability, or if all your foreign income is exempt from U.S. tax, you will not be able to claim a foreign tax credit.
If the foreign taxes you paid or incurred during the year exceed the limit on your credit for the current year, you can carry back the unused foreign taxes as credits to 2 prior tax years and then carry forward any remaining unused foreign taxes to 5 later tax years.
You cannot claim a credit for foreign taxes paid on amounts excluded from gross income under the foreign earned income exclusion or the housing amount exclusion, discussed earlier.
If you choose to deduct all foreign income taxes on your U.S. income tax return, itemize the deduction on Schedule A (Form 1040). You cannot deduct foreign taxes paid on income you exclude from your U.S. income tax return.