I am a U.S. citizen currently residing in a country which has a tax treaty with the USA. It specifies that capital gains, regardless of in which country they occur, are to be treated as having taken place in the country of residence. I would then have to file a Form 8833 indicating this.
But my question is where/if the gain should be listed? On form 8949, but not transferred to Schedule D? Forward to Schedule D, but not included in the calculation of tax? Included in the calculation of tax, but getting the Foreign Tax Credit?