(a)
In general.
Section 1031(a)(1) is amended by striking “property” each place it appears and inserting “real property”.
¶
(2)
Exception for real property held for sale.
This subsection shall not apply to any exchange of real property held primarily for sale.
¶
(3)
Section 1031, as amended by paragraph (2), is amended by inserting after subsection (d) the following new subsection:
¶
(e)
Application to certain partnerships.
For purposes of this section, an interest in a partnership which has in effect a valid election under section 761(a) to be excluded from the application of all of subchapter K shall be treated as an interest in each of the assets of such partnership and not as an interest in a partnership.
¶
(h)
Special rules for foreign real property.
Real property located in the United States and real property located outside the United States are not property of a like kind.
¶
(i)
Special rules for mutual ditch, reservoir, or irrigation company stock.
For purposes of subsection (a), shares in a mutual ditch, reservoir, or irrigation company shall be treated as real property if at the time of the exchange—
¶
(1)
the mutual ditch, reservoir, or irrigation company is an organization described in section 501(c)(12)(A) (determined without regard to the percentage of its income that is collected from its members for the purpose of meeting losses and expenses), and
¶
(2)
the shares in such company have been recognized by the highest court of the State in which such company was organized or by applicable State statute as constituting or representing real property or an interest in real property.
¶
(7)
The table of sections for part III of subchapter O of chapter 1 is amended by striking the item relating to section 1031 and inserting the following new item:
¶
(1)
In general.
Except as otherwise provided in this subsection, the amendments made by this section shall apply to exchanges completed after December 31, 2017.
¶
(A)
the property disposed of by the taxpayer in the exchange is disposed of on or before December 31 2017, or
¶
(B)
the property received by the taxpayer in the exchange is received on or before December 31, 2017.
¶