26 USC 882 – Tax on income of foreign corporations connected with United States business
(a) Imposition of tax
(1) In general
A foreign corporation engaged in trade or business within the United States during the taxable year shall be taxable as provided in section 11, 55, or 59A,1 on its taxable income which is effectively connected with the conduct of a trade or business within the United States.
(2) Determination of taxable income
In determining taxable income for purposes of paragraph (1), gross income includes only gross income which is effectively connected with the conduct of a trade or business within the United States.
(3) [Cross reference 2]
For special tax treatment of gain or loss from the disposition by a foreign corporation of a United States real property interest, see section 897.
(b) Gross income
In the case of a foreign corporation, except where the context clearly indicates otherwise, gross income includes only—
(1) gross income which is derived from sources within the United States and which is not effectively connected with the conduct of a trade or business within the United States, and
(2) gross income which is effectively connected with the conduct of a trade or business within the United States.
(c) Allowance of deductions and credits
(1) Allocation of deductions
(A) General rule
In the case of a foreign corporation, the deductions shall be allowed only for purposes of subsection (a) and (except as provided by subparagraph (B)) only if and to the extent that they are connected with income which is effectively connected with the conduct of a trade or business within the United States; and the proper apportionment and allocation of the deductions for this purpose shall be determined as provided in regulations prescribed by the Secretary.
(B) Charitable contributions
The deduction for charitable contributions and gifts provided by section 170 shall be allowed whether or not connected with income which is effectively connected with the conduct of a trade or business within the United States.
(2) Deductions and credits allowed only if return filed
A foreign corporation shall receive the benefit of the deductions and credits allowed to it in this subtitle only by filing or causing to be filed with the Secretary a true and accurate return, in the manner prescribed in subtitle F, including therein all the information which the Secretary may deem necessary for the calculation of such deductions and credits. The preceding sentence shall not apply for purposes of the tax imposed by section 541 (relating to personal holding company tax), and shall not be construed to deny the credit provided by section 33 for tax withheld at source or the credit provided by section 34 for certain uses of gasoline.
(3) Foreign tax credit
Except as provided by section 906, foreign corporations shall not be allowed the credit against the tax for taxes of foreign countries and possessions of the United States allowed by section 901.
(4) Cross reference
For rule that certain foreign taxes are not to be taken into account in determining deduction or credit, see section 906(b)(1).
(d) Election to treat real property income as income connected with United States business
(1) In general
A foreign corporation which during the taxable year derives any income—
(A) from real property located in the United States, or from any interest in such real property, including (i) gains from the sale or exchange of real property or an interest therein, (ii) rents or royalties from mines, wells, or other natural deposits, and (iii) gains described in section 631(b) or (c), and
(B) which, but for this subsection, would not be treated as income effectively connected with the conduct of a trade or business within the United States,
may elect for such taxable year to treat all such income as income which is effectively connected with the conduct of a trade or business within the United States. In such case, such income shall be taxable as provided in subsection (a)(1) whether or not such corporation is engaged in trade or business within the United States during the taxable year. An election under this paragraph for any taxable year shall remain in effect for all subsequent taxable years, except that it may be revoked with the consent of the Secretary with respect to any taxable year.
(2) Election after revocation, etc.
Paragraphs (2) and (3) of section 871(d) shall apply in respect of elections under this subsection in the same manner and to the same extent as they apply in respect of elections under section 871(d).
(e) Interest on United States obligations received by banks organized in possessions
In the case of a corporation created or organized in, or under the law of, a possession of the United States which is carrying on the banking business in a possession of the United States, interest on obligations of the United States which is not portfolio interest (as defined in section 881(c)(2)) shall—
(1) for purposes of this subpart, be treated as income which is effectively connected with the conduct of a trade or business within the United States, and
(2) shall be taxable as provided in subsection (a)(1) whether or not such corporation is engaged in trade or business within the United States during the taxable year.
(f) Returns of tax by agent
If any foreign corporation has no office or place of business in the United States but has an agent in the United States, the return required under section 6012 shall be made by the agent.