If you are entering it on the foreign slip, then you would enter the gross amount. There is a separate box at the bottom for any tax that you paid.