representing the sale with the return of tax. (d) Tax upon violation of covenant There is imposed a tax on the buyer for a violation of the covenant specified in subsection (b)(1)(C). The amount of such tax shall be 20 percent of the net proceeds after settlement for the sale or exchange of the real property referred to in subsection (b)(1). For purposes of section 501(a), the tax imposed by this subsection shall not be treated as a tax imposed by this subtitle. (e) Regulations The Secretary shall issue such regulations or other guidance as may be necessary to carry out this section, including the recapture under subsection (d). . (b) Credit allowed as part of general business credit Section 38(b) of the Internal Revenue Code of 1986 is amended— (1) by striking plus at the end of paragraph (35), (2) by striking the period at the end of paragraph (36) and inserting , plus , and (3) by adding at the end the following new paragraph: (37) the manufactured home community sale credit determined under section 45S(a). . (c) Conforming amendments (1) Subsection (c) of section 196 of the Internal Revenue Code of 1986 is amended— (A) by striking and at the end of paragraph (13), (B) by striking the period at the end of paragraph (14) and inserting , and , and (C) by adding at the end the following new paragraph: (15) the manufactured home community sale credit determined under section 45S(a). . (2) The table of sections for subpart D of part IV of subchapter A of chapter 1 of the Internal Revenue Code of 1986 is amended by adding at the end the following new item: Sec. 45S. Manufactured home community sale to residents or nonprofit entity. . (d) Effective date The amendments made by this section shall apply to taxable years beginning after December 31, 2017.