In the case of a nonresident alien individual present in the United States for a period or periods aggregating 183 days or more during the taxable year, there is hereby imposed for such year a tax of 30 percent of the amount by which his gains, derived from sources within the United States, from the sale or exchange at any time during such year of capital assets exceed his losses, allocable to sources within the United States, from the sale or exchange at any time during such year of capital assets. For purposes of this paragraph, gains and losses shall be taken into account only if, and to the extent that, they would be recognized and taken into account if such gains and losses were effectively connected with the conduct of a trade or business within the United States, except that such gains and losses shall be determined without regard to section 1202 and such losses shall be determined without the benefits of the capital loss carryover provided in section 1212. Any gain or loss which is taken into account in determining the tax under paragraph (1) or subsection (b) shall not be taken into account in determining the tax under this paragraph. For purposes of the 183-day requirement of this paragraph, a nonresident alien individual not engaged in trade or business within the United States who has not established a taxable year for any prior period shall be treated as having a taxable year which is the calendar year.
For purposes of this section, a nonresident alien individual who (without regard to this subsection) is not engaged in trade or business within the United States and who is temporarily present in the United States as a nonimmigrant under subparagraph (F), (J), (M), or (Q) of section 101(a)(15) of the Immigration and Nationality Act, as amended (8 U.S.C. 1101(a)(15)(F), (J), (M), or (Q)), shall be treated as a nonresident alien individual engaged in trade or business within the United States, and any income described in the second sentence of section 1441(b) which is received by such individual shall, to the extent derived from sources within the United States, be treated as effectively connected with the conduct of a trade or business within the United States.
If an election has been made under paragraph (1) and such election has been revoked, a new election may not be made under such paragraph for any taxable year before the 5th taxable year which begins after the first taxable year for which such revocation is effective, unless the Secretary consents to such new election.
Except as provided in subparagraph (B), the term “original issue discount obligation” means any bond or other evidence of indebtedness having original issue discount (within the meaning of section 1273).
The determination of the amount of the original issue discount which accrues during any period shall be made under the rules of section 1272 (or the corresponding provisions of prior law) without regard to any exception for short-term obligations.
Except to the extent provided in regulations prescribed by the Secretary, the determination of whether any amount described in subsection (a)(1)(C) is from sources within the United States shall be made at the time of the payment (or sale or exchange) as if such payment (or sale or exchange) involved the payment of interest.
In the case of any portfolio interest received by a nonresident individual from sources within the United States, no tax shall be imposed under paragraph (1)(A) or (1)(C) of subsection (a).
The term “portfolio interest” shall not include any interest described in paragraph (2) which is received by a 10-percent shareholder.
The term “related person” means any person who is related to the debtor within the meaning of section 267(b) or 707(b)(1), or who is a party to any arrangement undertaken for a purpose of avoiding the application of this paragraph.
Subparagraph (A) shall not apply to the payment of interest on any obligation which is issued on or before the date of the publication of the Secretary’s determination under such subparagraph.
For purposes of this subsection, the term “registered form” has the same meaning given such term by section 163(f).
No tax shall be imposed under paragraph (1)(A) or (1)(C) of subsection (a) on any amount described in paragraph (2).
No tax shall be imposed under paragraph (1)(A) of subsection (a) on the proceeds from a wager placed in any of the following games: blackjack, baccarat, craps, roulette, or big-6 wheel. The preceding sentence shall not apply in any case where the Secretary determines by regulation that the collection of the tax is administratively feasible.
Except as provided in subparagraph (B), no tax shall be imposed under paragraph (1)(A) of subsection (a) on any interest-related dividend received from a regulated investment company which meets the requirements of section 852(a) for the taxable year with respect to which the dividend is paid.
Except as provided in clause (ii), an interest related dividend is any dividend, or part thereof, which is reported by the company as an interest related dividend in written statements furnished to its shareholders.
Except as provided in subclause (II), the excess reported amount (if any) which is allocable to the reported interest related dividend amount is that portion of the excess reported amount which bears the same ratio to the excess reported amount as the reported interest related dividend amount bears to the aggregate reported amount.
In the case of any taxable year which does not begin and end in the same calendar year, if the post-December reported amount equals or exceeds the excess reported amount for such taxable year, subclause (I) shall be applied by substituting “post-December reported amount” for “aggregate reported amount” and no excess reported amount shall be allocated to any dividend paid on or before December 31 of such taxable year.
The term “reported interest related dividend amount” means the amount reported to its shareholders under clause (i) as an interest related dividend.
The term “excess reported amount” means the excess of the aggregate reported amount over the qualified net interest income of the company for the taxable year.
The term “aggregate reported amount” means the aggregate amount of dividends reported by the company under clause (i) as interest related dividends for the taxable year (including interest related dividends paid after the close of the taxable year described in section 855).
The term “post-December reported amount” means the aggregate reported amount determined by taking into account only dividends paid after December 31 of the taxable year.
For purposes of subparagraph (C), the term “qualified net interest income” means the qualified interest income of the regulated investment company reduced by the deductions properly allocable to such income.
For purposes of this paragraph, the term “10-percent shareholder” has the meaning given such term by subsection (h)(3)(B).
Except as provided in subparagraph (B), no tax shall be imposed under paragraph (1)(A) of subsection (a) on any short-term capital gain dividend received from a regulated investment company which meets the requirements of section 852(a) for the taxable year with respect to which the dividend is paid.
Subparagraph (A) shall not apply in the case of any nonresident alien individual subject to tax under subsection (a)(2).
Except as provided in clause (ii), the term “short-term capital gain dividend” means any dividend, or part thereof, which is reported by the company as a short-term capital gain dividend in written statements furnished to its shareholders.
Except as provided in subclause (II), the excess reported amount (if any) which is allocable to the reported short-term capital gain dividend amount is that portion of the excess reported amount which bears the same ratio to the excess reported amount as the reported short-term capital gain dividend amount bears to the aggregate reported amount.
In the case of any taxable year which does not begin and end in the same calendar year, if the post-December reported amount equals or exceeds the excess reported amount for such taxable year, subclause (I) shall be applied by substituting “post-December reported amount” for “aggregate reported amount” and no excess reported amount shall be allocated to any dividend paid on or before December 31 of such taxable year.
The term “reported short-term capital gain dividend amount” means the amount reported to its shareholders under clause (i) as a short-term capital gain dividend.
The term “excess reported amount” means the excess of the aggregate reported amount over the qualified short-term gain of the company for the taxable year.
The term “aggregate reported amount” means the aggregate amount of dividends reported by the company under clause (i) as short-term capital gain dividends for the taxable year (including short-term capital gain dividends paid after the close of the taxable year described in section 855).
The term “post-December reported amount” means the aggregate reported amount determined by taking into account only dividends paid after December 31 of the taxable year.
For purposes of subparagraph (C), the term “qualified short-term gain” means the excess of the net short-term capital gain of the regulated investment company for the taxable year over the net long-term capital loss (if any) of such company for such taxable year. For purposes of this subparagraph, the net short-term capital gain of the regulated investment company shall be computed by treating any short-term capital gain dividend includible in gross income with respect to stock of another regulated investment company as a short-term capital gain.
Except as provided in clause (iv), a corporation meets the 80-percent foreign business requirements of this subparagraph if it is shown to the satisfaction of the Secretary that at least 80 percent of the gross income from all sources of such corporation for the testing period is active foreign business income.
For purposes of this subsection, the term “testing period” means the 3-year period ending with the close of the taxable year of the corporation preceding the payment (or such part of such period as may be applicable). If the corporation has no gross income for such 3-year period (or part thereof), the testing period shall be the taxable year in which the payment is made.
The corporation referred to in paragraph (1)(A) and all of such corporation’s subsidiaries shall be treated as one corporation.
For purposes of subparagraph (A), the term “subsidiary” means any corporation in which the corporation referred to in subparagraph (A) owns (directly or indirectly) stock meeting the requirements of section 1504(a)(2) (determined by substituting “50 percent” for “80 percent” each place it appears and without regard to section 1504(b)(3)).
For purposes of subsection (a), sections 881 and 4948(a), and chapters 3 and 4, a dividend equivalent shall be treated as a dividend from sources within the United States.
The term “long party” means, with respect to any underlying security of any notional principal contract, any party to the contract which is entitled to receive any payment pursuant to such contract which is contingent upon, or determined by reference to, the payment of a dividend from sources within the United States with respect to such underlying security.
The term “short party” means, with respect to any underlying security of any notional principal contract, any party to the contract which is not a long party with respect to such underlying security.
The term “underlying security” means, with respect to any notional principal contract, the security with respect to which the dividend referred to in paragraph (2)(B) is paid. For purposes of this paragraph, any index or fixed basket of securities shall be treated as a single security.
For purposes of this subsection, the term “payment” includes any gross amount which is used in computing any net amount which is transferred to or from the taxpayer.
In the case of any chain of dividend equivalents one or more of which is subject to tax under subsection (a) or section 881, the Secretary may reduce such tax, but only to the extent that the taxpayer can establish that such tax has been paid with respect to another dividend equivalent in such chain, or is not otherwise due, or as the Secretary determines is appropriate to address the role of financial intermediaries in such chain. For purposes of this paragraph, a dividend shall be treated as a dividend equivalent.
For purposes of chapters 3 and 4, each person that is a party to any contract or other arrangement that provides for the payment of a dividend equivalent shall be treated as having control of such payment.