What is the foreign tax credit?
The foreign tax credit can reduce the amount of U.S. income tax you owe on money you earned from a foreign source. You must have paid, or owe, taxes on income from a foreign source that is also subject to U.S. income tax.
To claim the credit, you must be a U.S. citizen or resident alien. Nonresident aliens as full year residents of Puerto Rico also qualify.