§ 527.
(d)
Certain uses not treated as income to candidate
For purposes of this title, if any political organization—
(1)
contributes any amount to or for the use of any political organization which is treated as exempt from tax under subsection (a) of this section,
(2)
contributes any amount to or for the use of any organization described in paragraph (1) or (2) of section 509(a) which is exempt from tax under section 501(a), or
(3)
deposits any amount in the general fund of the Treasury or in the general fund of any State or local government,
such amount shall be treated as an amount not diverted for the personal use of the candidate or any other person. No deduction shall be allowed under this title for the contribution or deposit of any amount described in the preceding sentence.
(f)
Exempt organization, which is not political organization, must include certain amounts in gross income
(1)
In general
If an organization described in section 501(c) which is exempt from tax under section 501(a) expends any amount during the taxable year directly (or through another organization) for an exempt function (within the meaning of subsection (e)(2)), then, notwithstanding any other provision of law, there shall be included in the gross income of such organization for the taxable year, and shall be subject to tax under subsection (b) as if it constituted political organization taxable income, an amount equal to the lesser of—
(A)
the net investment income of such organization for the taxable year, or
(B)
the aggregate amount so expended during the taxable year for such an exempt function.
(2)
Net investment income
For purposes of this subsection, the term “net investment income” means the excess of—
(A)
the gross amount of income from interest, dividends, rents, and royalties, plus the excess (if any) of gains from the sale or exchange of assets over the losses from the sale or exchange of assets, over
(B)
the deductions allowed by this chapter which are directly connected with the production of the income referred to in subparagraph (A).
For purposes of the preceding sentence, there shall not be taken into account items taken into account for purposes of the tax imposed by section 511 (relating to tax on unrelated business income).
(3)
Certain separate segregated funds
(Added [Pub. L. 93–625, § 10(a)], Jan. 3, 1975, [88 Stat. 2116]; amended [Pub. L. 94–455, title XIX, § 1901(b)(33)(C)], Oct. 4, 1976, [90 Stat. 1801]; [Pub. L. 95–502, title III, § 302(a)], Oct. 21, 1978, [92 Stat. 1702]; [Pub. L. 95–600, title III, § 301(b)(6)], Nov. 6, 1978, [92 Stat. 2821]; [Pub. L. 97–34, title I, § 128(a)], Aug. 13, 1981, [95 Stat. 203]; [Pub. L. 98–369, div. A, title IV, § 474(r)(16)], title VII, § 722(c), July 18, 1984, [98 Stat. 843], 973; [Pub. L. 99–514, title I, § 112(b)(1)], Oct. 22, 1986, [100 Stat. 2108]; [Pub. L. 100–647, title I, § 1001(b)(3)(B)], Nov. 10, 1988, [102 Stat. 3349]; [Pub. L. 106–230], §§ 1(a), 2(a), July 1, 2000, [114 Stat. 477], 479; [Pub. L. 107–276], §§ 1(a), 2(a), (b), 5(a), 6(a)–(c), (e)–(g), Nov. 2, 2002, [116 Stat. 1929], 1932–1934; [Pub. L. 113–295, div. A, title II, § 220](l), Dec. 19, 2014, [128 Stat. 4036]; [Pub. L. 115–97, title I, § 13001(b)(2)(D)], Dec. 22, 2017, [131 Stat. 2096]; [Pub. L. 116–25, title III, § 3101(b)(1)], July 1, 2019, [133 Stat. 1015].)