financial statement which is used for— (I) credit purposes, (II) reporting to shareholders, partners, or other proprietors, or to beneficiaries, or (III) any other substantial nontax purpose, but only if there is no statement described in clause (i), or (iii) filed with any other Federal or State agency for nontax purposes, but only if there is no statement described in clause (i) or (ii), or (B) a financial statement which— (i) is used for a purpose described in subclause (I), (II), or (III) of subparagraph (A)(ii), or (ii) filed with any regulatory or governmental body (whether domestic or foreign) specified by the Secretary, but only if there is no statement described in subparagraph (A). (5) Reporting year For purposes of this subsection, the term reporting year means, with respect to any international financial reporting group, the year with respect to which the consolidated financial statements are prepared. (6) Application to certain entities (A) Partnerships The secretary shall prescribe rules for application of this subsection to any partnership which is a member of any international financial reporting group. Such rules shall treat any such partnership in a manner similar to the way such partnership would be treated under this subsection if it were a domestic corporation which is a member of any international financial reporting group. (B) Foreign corporations engaged in trade or business within the United States Except as otherwise provided by the Secretary in paragraph (7), any deduction for interest paid or accrued by a foreign corporation engaged in a trade or business within the United States shall be limited in a manner consistent with the principles of this subsection. (C) Consolidated groups For purposes of this subsection, the members of 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