Foreign gift voucher not working
If you have a valid US Apple ID, it should accept the US iTunes gift card.  It should not matter in which country you are physically.  I know because I do this myself.  Does your account show the correct balance, in other words was the voucher correctly processed?

I expect that there is just a small fluke and likely you should try again later to see if the purchase can be completed.