Expat capital gains tax — what actually applies when you sell US stocks abroad?
I've been living in Germany for three years on a work visa, still a US citizen, filing with the IRS every year. This spring I sold a chunk of US brokerage shares — mix of long-term and short-term lots — and now I'm trying to figure out the expat capital gains tax situation. My broker sent a 1099-B with cost basis reported. I know I still owe the IRS but I'm not clear on whether the foreign tax I paid to Germany on the same gain reduces what I owe the US, and if so, which form handles that. Also unclear whether I report on Form 8949 the same way a domestic filer would or if there's a different procedure for expats. I've searched the IRS site and read Topic 409 but it doesn't say anything specific about living abroad. What's the actual process here?