If there’s a tax treaty between us and the country in question, they should be able to apply any tax paid to the US to their local taxes.