Deductions & credits

If you earned income in a country that has a tax treaty with the US, then you can claim a foreign tax credit if you paid tax in that country. Here is a TurboTax article that explains the details.