Have a Tax Question? Ask a Tax Expert
Hello and thank you for using Just Answer,
When an asset, such as a share of stock (or any other security), is held for investment, any gain or loss on its sale or other disposition is usually considered a capital gain or loss. When a nonresident sells investment stocks or securities at a gain, that gain is exempt from U.S. tax unless the foreign investor is an individual present in the U.S. at least 183 days during the year. The exemption applies equally to long-term (assets held for more than one year) capital gains and short-term capital gains. Losses from the sale of investment securities cannot be used by a nonresident to offset other types of income that are subject to U.S. tax.
As an exception to this general tax exemption, gains from the disposition of stock in companies with substantial U.S. real property holdings may be subject to U.S. tax.
They may require you fill out a Form W8 Ben, this would cover the withholding agent and is not sent to the US federal taxing authority (IRS) but kept for their records to show why they did not withhold tax on the sale.