In the case of any nonresident alien individual or foreign corporation, there is hereby imposed for each taxable year a tax equal to 4 percent of such individual’s or corporation’s United States source gross transportation income for such taxable year.
Except as provided in paragraphs (2) and (3), the term “United States source gross transportation income” means any gross income which is transportation income (as defined in section 863(c)(3)) to the extent such income is treated as from sources in the United States under section 863(c)(2). To the extent provided in regulations, such term does not include any income of a kind to which an exemption under paragraph (1) or (2) of section 883(a) would not apply.
The term “United States source gross transportation income” shall not include any income taxable under section 871(b) or 882.
The term “United States source gross transportation income” does not include any income taxable in a possession of the United States under the provisions of this title as made applicable in such possession.
Any income taxable under this section shall not be taxable under section 871, 881, or 882.