Items of gross income, expenses, losses, and deductions, other than those specified in sections 861(a) and 862(a), shall be allocated or apportioned to sources within or without the United States, under regulations prescribed by the Secretary. Where items of gross income are separately allocated to sources within the United States, there shall be deducted (for the purpose of computing the taxable income therefrom) the expenses, losses, and other deductions properly apportioned or allocated thereto and a ratable part of other expenses, losses, or other deductions which cannot definitely be allocated to some item or class of gross income. The remainder, if any, shall be included in full as taxable income from sources within the United States.
In the case of gross income derived from sources partly within and partly without the United States, the taxable income may first be computed by deducting the expenses, losses, or other deductions apportioned or allocated thereto and a ratable part of any expenses, losses, or other deductions which cannot definitely be allocated to some item or class of gross income; and the portion of such taxable income attributable to sources within the United States may be determined by processes or formulas of general apportionment prescribed by the Secretary. Gains, profits, and income—
(1) from services rendered partly within and partly without the United States,
(2) from the sale or exchange of inventory property (within the meaning of section 865(i)(1)) produced (in whole or in part) by the taxpayer within and sold or exchanged without the United States, or produced (in whole or in part) by the taxpayer without and sold or exchanged within the United States, or
(3) derived from the purchase of inventory property (within the meaning of section 865(i)(1)) within a possession of the United States and its sale or exchange within the United States,
50 percent of all transportation income attributable to transportation which—
(1) Transportation beginning and ending in the United States All transportation income attributable to transportation which begins and ends in the United States shall be treated as derived from sources within the United States.
50 percent of all transportation income attributable to transportation which—
(A) In general50 percent of all transportation income attributable to transportation which— (i) is not described in paragraph (1), and (ii) begins or ends in the United States, shall be treated as from sources in the United States.
(B) Special rule for personal service incomeSubparagraph (A) shall not apply to any transportation income which is income derived from personal services performed by the taxpayer, unless such income is attributable to transportation which— (i) begins in the United States and ends in a possession of the United States, or (ii) begins in a possession of the United States and ends in the United States. In the case of transportation income derived from, or in connection with, a vessel, this subparagraph shall only apply if the taxpayer is a citizen or resident alien.
For purposes of this subsection, the term “transportation income” means any income derived from, or in connection with—
(A) the use (or hiring or leasing for use) of a vessel or aircraft, or
(B) the performance of services directly related to the use of a vessel or aircraft.
Except as provided in regulations, any income derived from a space or ocean activity—
Except as provided in regulations, any income derived from a space or ocean activity—
(A) if derived by a United States person, shall be sourced in the United States, and
(B) if derived by a person other than a United States person, shall be sourced outside the United States.
For purposes of paragraph (1)—
(A) In generalThe term “space or ocean activity” means— (i) any activity conducted in space, and (ii) any activity conducted on or under water not within the jurisdiction (as recognized by the United States) of a foreign country, possession of the United States, or the United States. Such term includes any activity conducted in Antarctica.
(B) Exception for certain activitiesThe term “space or ocean activity” shall not include— (i) any activity giving rise to transportation income (as defined in section 863(c)), (ii) any activity giving rise to international communications income (as defined in subsection (e)(2)), and (iii) any activity with respect to mines, oil and gas wells, or other natural deposits to the extent within the United States or any foreign country or possession of the United States (as defined in section 638). For purposes of applying section 638, the jurisdiction of any foreign country shall not include any jurisdiction not recognized by the United States.
In the case of any United States person, 50 percent of any international communications income shall be sourced in the United States and 50 percent of such income shall be sourced outside the United States.
In the case of any United States person, 50 percent of any international communications income shall be sourced in the United States and 50 percent of such income shall be sourced outside the United States.
(A) United States persons In the case of any United States person, 50 percent of any international communications income shall be sourced in the United States and 50 percent of such income shall be sourced outside the United States.
(B) Foreign persons (i) In general Except as provided in regulations or clause (ii), in the case of any person other than a United States person, any international communications income shall be sourced outside the United States. (ii) Special rule for income attributable to office or fixed place of business in the United States In the case of any person (other than a United States person) who maintains an office or other fixed place of business in the United States, any international communications income attributable to such office or other fixed place of business shall be sourced in the United States.
(2) Definition For purposes of this section, the term “international communications income” includes all income derived from the transmission of communications or data from the United States to any foreign country (or possession of the United States) or from any foreign country (or possession of the United States) to the United States.
(Aug. 16, 1954, ch. 736, 68A Stat. 277; Pub. L. 94–455, title XIX, §§ 1901(b)(26)(C), (D), 1906(b)(13)(A), Oct. 4, 1976, 90 Stat. 1798, 1799, 1834; Pub. L. 98–369, div. A, title I, § 124(a), July 18, 1984, 98 Stat. 646; Pub. L. 99–514, title XII, §§ 1211(b)(1)(A), 1212(a), (e), 1213(a), Oct. 22, 1986, 100 Stat. 2536, 2539, 2540; Pub. L. 100–647, title I, § 1012(e)(3)(A), (f), Nov. 10, 1988, 102 Stat. 3500; Pub. L. 101–239, title VII, § 7811(i)(2), Dec. 19, 1989, 103 Stat. 2409; Pub. L. 105–34, title XI, § 1174(a)(2), Aug. 5, 1997, 111 Stat. 989; Pub. L. 115–97, title I, § 14303(a), Dec. 22, 2017, 131 Stat. 2225.)