There shall be included with respect to each debt-financed property as an item of gross income derived from an unrelated trade or business an amount which is the same percentage (but not in excess of 100 percent) of the total gross income derived during the taxable year from or on account of such property as (A) the average acquisition indebtedness (as defined in subsection (c)(7)) for the taxable year with respect to the property is of (B) the average amount (determined under regulations prescribed by the Secretary) of the adjusted basis of such property during the period it is held by the organization during such taxable year.
There shall be allowed as a deduction with respect to each debt-financed property an amount determined by applying (except as provided in the last sentence of this paragraph) the percentage derived under paragraph (1) to the sum determined under paragraph (3). The percentage derived under this paragraph shall not be applied with respect to the deduction of any capital loss resulting from the carryback or carryover of net capital losses under section 1212.
The sum referred to in paragraph (2) is the sum of the deductions under this chapter which are directly connected with the debt-financed property or the income therefrom, except that if the debt-financed property is of a character which is subject to the allowance for depreciation provided in section 167, the allowance shall be computed only by use of the straight-line method.
If an organization acquires real property for the principal purpose of using the land (commencing within 10 years of the time of acquisition) in the manner described in paragraph (1)(A) and at the time of acquisition the property is in the neighborhood of other property owned by the organization which is used in such manner, the real property acquired for such future use shall not be treated as debt-financed property so long as the organization does not abandon its intent to so use the land within the 10-year period. The preceding sentence shall not apply for any period after the expiration of the 10-year period, and shall apply after the first 5 years of the 10-year period only if the organization establishes to the satisfaction of the Secretary that it is reasonably certain that the land will be used in the described manner before the expiration of the 10-year period.
If an organization for any taxable year has not used land in the manner to satisfy the actual use condition of subparagraph (B) before the time prescribed by law (including extensions thereof) for filing the return for such taxable year, the tax for such year shall be computed without regard to the application of subparagraph (B), but if and when such use condition is satisfied, the provisions of subparagraph (B) shall then be applied to such taxable year. If the actual use condition of subparagraph (B) is satisfied for any taxable year after such time for filing the return, and if credit or refund of any overpayment for the taxable year resulting from the satisfaction of such use condition is prevented at the close of the taxable year in which the use condition is satisfied, by the operation of any law or rule of law (other than chapter 74, relating to closing agreements and compromises), credit or refund of such overpayment may nevertheless be allowed or made if claim therefor is filed before the expiration of 1 year after the close of the taxable year in which the use condition is satisfied.
Where property (no matter how acquired) is acquired subject to a mortgage or other similar lien, the amount of the indebtedness secured by such mortgage or lien shall be considered as an indebtedness of the organization incurred in acquiring such property even though the organization did not assume or agree to pay such indebtedness.
Where property subject to a mortgage is acquired by an organization by bequest or devise, the indebtedness secured by the mortgage shall not be treated as acquisition indebtedness during a period of 10 years following the date of the acquisition. If an organization acquires property by gift subject to a mortgage which was placed on the property more than 5 years before the gift, which property was held by the donor more than 5 years before the gift, the indebtedness secured by such mortgage shall not be treated as acquisition indebtedness during a period of 10 years following the date of such gift. This subparagraph shall not apply if the organization, in order to acquire the equity in the property by bequest, devise, or gift, assumes and agrees to pay the indebtedness secured by the mortgage, or if the organization makes any payment for the equity in the property owned by the decedent or the donor.
For purposes of this section, an extension, renewal, or refinancing of an obligation evidencing a pre-existing indebtedness shall not be treated as the creation of a new indebtedness.
For purposes of this section, the term “acquisition indebtedness” does not include indebtedness the incurrence of which is inherent in the performance or exercise of the purpose or function constituting the basis of the organization’s exemption, such as the indebtedness incurred by a credit union described in section 501(c)(14) in accepting deposits from its members.
For purposes of this section, the term “average acquisition indebtedness” for any taxable year with respect to a debt-financed property means the average amount, determined under regulations prescribed by the Secretary of the acquisition indebtedness during the period the property is held by the organization during the taxable year, except that for the purpose of computing the percentage of any gain or loss to be taken into account on a sale or other disposition of debt-financed property, such term means the highest amount of the acquisition indebtedness with respect to such property during the 12-month period ending with the date of the sale or other disposition.
Except as provided in subparagraph (B), the term “acquisition indebtedness” does not, for purposes of this section, include indebtedness incurred by a qualified organization in acquiring or improving any real property. For purposes of this paragraph, an interest in a mortgage shall in no event be treated as real property.
Except as provided in regulations, a partnership may without violating the requirements of this subparagraph provide for chargebacks with respect to disproportionate losses previously allocated to qualified organizations and disproportionate income previously allocated to other partners. Any chargeback referred to in the preceding sentence shall not be at a ratio in excess of the ratio under which the loss or income (as the case may be) was allocated.
The Secretary shall prescribe such regulations as may be necessary to carry out the purposes of this subparagraph, including regulations which may provide for exclusion or segregation of items.
For purposes of clauses (iii) and (iv) of subparagraph (B), a lease to a person described in such clause (iii) or (iv) shall be disregarded if no more than 25 percent of the leasable floor space in a building (or complex of buildings) is covered by the lease and if the lease is on commercially reasonable terms.
For purposes of this subparagraph, the term “foreclosure property” means any real property acquired by the financial institution as the result of having bid on such property at foreclosure, or by operation of an agreement or process of law, after there was a default (or a default was imminent) on indebtedness which such property secured.
For purposes of this subtitle, if the property was acquired in a complete or partial liquidation of a corporation in exchange for its stock, the basis of the property shall be the same as it would be in the hands of the transferor corporation, increased by the amount of gain recognized to the transferor corporation upon such distribution and by the amount of any gain to the organization which was included, on account of such distribution, in unrelated business taxable income under subsection (a).
Where debt-financed property is held for purposes described in subsection (b)(1)(A), (B), (C), or (D) as well as for other purposes, proper allocation shall be made with respect to basis, indebtedness, and income and deductions. The allocations required by this section shall be made in accordance with regulations prescribed by the Secretary to the extent proper to carry out the purposes of this section.