any group that file (or are required to file) a consolidated return with respect to the tax imposed by chapter 1 for a taxable year shall be treated as a single corporation. (7) Regulations The Secretary may issue such regulations or other guidance as are necessary or appropriate to carry out the purposes of this subsection. . (b) Effective date The amendments made by this section shall apply to taxable years beginning after the date of the enactment of this Act. 7. Modifications to rules relating to inverted corporations (a) In general Subsection (b) of section 7874 of the Internal Revenue Code of 1986 is amended to read as follows: (b) Inverted corporations treated as domestic corporations (1) In general Notwithstanding section 7701(a)(4), a foreign corporation shall be treated for purposes of this title as a domestic corporation if— (A) such corporation would be a surrogate foreign corporation if subsection (a)(2) were applied by substituting 80 percent for 60 percent , or (B) such corporation is an inverted domestic corporation. (2) Inverted domestic corporation For purposes of this subsection, a foreign corporation shall be treated as an inverted domestic corporation if, pursuant to a plan (or a series of related transactions)— (A) the entity completes after May 8, 2014, the direct or indirect acquisition of— (i) substantially all of the properties held directly or indirectly by a domestic corporation, or (ii) substantially all of the assets of, or substantially all of the properties constituting a trade or business of, a domestic partnership, and (B) after the acquisition, more than 50 percent of the stock (by vote or value) of the entity is held— (i) in the case of an acquisition with respect to a domestic corporation, by former shareholders of the domestic corporation by reason of holding stock in the domestic corporation, or (ii) in the case of an acquisition with respect to a domestic partnership, by former partners of the domestic partnership by reason of holding a capital or profits interest in the