This is the Internal Revenue Service Guidance on the subject
Real property debts of qualified organizations. In general, acquisition indebtedness does not include debt incurred by a qualified organization in acquiring or improving any real property. A qualified organization is:
- A qualified retirement plan under section 401(a),
- An educational organization described in section 170(b) (1)(A)(ii) and certain of its affiliated support organizations,
- A title-holding company described in section 501(c)(25), or
- A retirement income account described in section 403(b)(9) in acquiring or improving real property in tax years beginning on or after August 17, 2006.
This exception from acquisition indebtedness does not apply in the following six situations.
1. The acquisition price is not a fixed amount determined as of the date of the acquisition or the completion of the improvement. However, the terms of a sales contract may provide for price adjustments due to customary closing adjustments such as prorating property taxes. The contract also may provide for a price adjustment if it is for a fixed amount dependent upon subsequent resolution of limited, external contingencies such as zoning approvals, title clearances, and the removal of easements. These conditions in the contract will not cause the price to be treated as an undetermined amount. (But see Note 1 at the end of this list.)
2. Any debt or other amount payable for the debt, or the time for making any payment, depends, in whole or in part, upon any revenue, income, or profits derived from the real property.
3. The real property is leased back to the seller of the property or to a person related to the seller as described in section 267(b) or section 707(b).
4. The real property is acquired by a qualified retirement plan from, or after its acquisition is leased by a qualified retirement plan to, a related person. For this purpose, a related person is:
a. An employer who has employees covered by the plan,b. An owner with at least a 50% interest in an employer described in (a),c. A member of the family of any individual described in (a) or (b),d. A corporation, partnership, trust, or estate in which a person described in (a), (b), or (c) has at least a 50% interest, ore. An officer, director, 10% or more shareholder, or highly compensated employee of a person described in (a), (b), or (d).
5. The seller, a person related to the seller (under section 267(b) or section 707(b)), or a person related to a qualified retirement plan (as described in (4)) provides financing for the transaction on other than commercially reasonable terms.
6. The real property is held by a partnership in which an exempt organization is a partner (along with taxable entities), and the principal purpose of any allocation to an exempt organization is to avoid tax. This generally applies to property placed in service after 1986. For more information, see section 514(c)(9)(B)(vi) and section 514(c)(9)(E).