thereof) with respect to the principal residence of 
the taxpayer. 
‘‘(3) EXCEPTION
FOR
DISCHARGES
ON
AC-
COUNT OF SERVICES PERFORMED FOR THE LEND-
ER.—Subsection (a)(1)(E) shall not apply to the dis-
charge of a loan if the discharge is on account of 
services performed for the lender. 
‘‘(4) PRINCIPAL RESIDENCE.—For purposes of 
this subsection, the term ‘principal residence’ has 
the same meaning as when used in section 121.’’. 
(c) COORDINATION.— 
(1) Subparagraph (A) of section 108(a)(2) of 
such Code is amended by striking ‘‘and (D)’’ and in-
serting ‘‘, (D), and (E)’’. 
(2) Paragraph (2) of section 108(a) of such 
Code is amended by adding at the end the following 
new subparagraph: 
‘‘(C) PRINCIPAL
RESIDENCE
EXCLUSION 
TAKES PRECEDENCE OVER INSOLVENCY EXCLU-
SION
UNLESS
ELECTED
OTHERWISE.—Para-
graph (1)(B) shall not apply to a discharge to 
which paragraph (1)(E) applies unless the tax-
payer elects to apply paragraph (1)(B) in lieu 
of paragraph (1)(E).’’. 
VerDate Aug 31 2005 
02:06 Sep 26, 2007
Jkt 059200
PO 00000
Frm 00003
Fmt 6652
Sfmt 6201
E:\BILLS\H3648.IH
H3648
hmoore on PRODPC68 with HMBILLS
(d) EFFECTIVE DATE.—The amendments made by 
this section shall apply to discharges of indebtedness on 
or after January 1, 2007. 
SEC. 2. LONG-TERM EXTENSION OF DEDUCTION FOR MORT-
GAGE INSURANCE PREMIUMS. 
(a) IN GENERAL.—Subparagraph (E) of section 
163(h)(3) of the Internal Revenue Code of 1986 (relating 
to mortgage insurance premiums treated as interest) is 
amended by striking clauses (iii) and (iv) and inserting 
the following new clause: 
‘‘(iii) APPLICATION.—Clause (i) shall 
not apply with respect to any mortgage in-
surance contract issued before January 1, 
2007, or after December 31, 2014.’’. 
(b) EFFECTIVE DATE.—The amendment made by 
subsection (a) shall apply to contracts issued after Decem-
ber 31, 2006. 
SEC. 3. ALTERNATIVE TESTS FOR QUALIFYING AS COOPER-
ATIVE HOUSING CORPORATION. 
(a) IN GENERAL.—Subparagraph (D) of section 
216(b)(1) of the Internal Revenue Code of 1986 (defining 
cooperative housing corporation) is amended to read as 
follows: 
‘‘(D) meeting 1 or more of the following 
requirements for the taxable year in which the 
VerDate Aug 31 2005 
02:06 Sep 26, 2007
Jkt 059200
PO 00000
Frm 00004
Fmt 6652
Sfmt 6201
E:\BILLS\H3648.IH
H3648
hmoore on PRODPC68 with HMBILLS
taxes and interest described in subsection (a) 
are paid or incurred: 
‘‘(i) 80 percent or more of the cor-
poration’s gross income for such taxable 
year is derived from tenant-stockholders. 
‘‘(ii) At all times during such taxable 
year, 80 percent or more of the total 
square footage of the corporation’s prop-
erty is used or available for use by the ten-
ant-stockholders for residential purposes or 
purposes ancillary to such residential use. 
‘‘(iii) 90 percent or more of the ex-
penditures of the corporation paid or in-
curred during such taxable year are paid 
or incurred for the acquisition, construc-
tion, management, maintenance, or care of 
the corporation’s property for the benefit 
of the tenant-stockholders.’’. 
(b) EFFECTIVE DATE.—The amendment made by 
this section shall apply to taxable years ending after the 
date of the enactment of this Act. 
VerDate Aug 31 2005 
02:06 Sep 26, 2007
Jkt 059200
PO 00000
Frm 00005
Fmt 6652
Sfmt 6201
E:\BILLS\H3648.IH
H3648
hmoore on PRODPC68 with HMBILLS
SEC. 4. GAIN FROM SALE OF PRINCIPAL RESIDENCE ALLO-
CATED TO NONQUALIFIED USE NOT EX-
CLUDED FROM INCOME. 
(a) IN GENERAL.—Subsection (b) of section 121 of 
the Internal Revenue Code of 1986 (relating to limita-
tions) is amended by adding at the end the following new 
paragraph: 
‘‘(4) EXCLUSION OF GAIN ALLOCATED TO NON-
QUALIFIED USE.— 
‘‘(A) IN
GENERAL.—Subsection (a) shall 
not apply to so much of the gain from the sale 
or exchange of property as is allocated to peri-
ods of nonqualified use. 
‘‘(B) GAIN
ALLOCATED
TO
PERIODS
OF 
NONQUALIFIED USE.—For purposes of subpara-
graph (A), gain shall be allocated to periods of 
nonqualified use based on the ratio which— 
‘‘(i) the aggregate periods of non-
qualified use during the period such prop-
erty was owned by the taxpayer, bears to 
‘‘(ii) the period such property was 
owned by the taxpayer. 
‘‘(C) PERIOD
OF
NONQUALIFIED
USE.— 
For purposes of this paragraph— 
‘‘(i) IN GENERAL.—The term ‘period 
of nonqualified use’ means any period 
VerDate Aug 31 2005 
02:06 Sep 26, 2007
Jkt 059200
PO 00000
Frm 00006
Fmt 6652
Sfmt 6201
E:\BILLS\H3648.IH
H3648
hmoore on PRODPC68 with HMBILLS
(other than the portion of any period pre-
ceding January 1, 2008) during which the 
property is not used as the principal resi-
dence of the taxpayer or the taxpayer’s 
spouse or former spouse. 
‘‘(ii) EXCEPTIONS.—The term ‘period 
of nonqualified use’ does not include— 
‘‘(I) any portion of the 5-year pe-
riod described in subsection (a) which 
is after the last date that such prop-
erty is used as the principal residence 
of the taxpayer or the taxpayer’s 
spouse, 
‘‘(II) any period (not to exceed 
an aggregate period of 10 years) dur-
ing which the taxpayer or the tax-
payer’s spouse is serving on qualified 
official extended duty (as defined in 
subsection (d)(9)(C)) described in 
clause (i), (ii), or (iii) of subsection 
(d)(9)(A), and 
‘‘(III) any other period of tem-
porary absence (not to exceed an ag-
gregate period of 2 years) due to 
change of employment, health condi-
VerDate Aug 31 2005 
02:06 Sep 26, 2007
Jkt 059200
PO 00000
Frm 00007
Fmt 6652
Sfmt 6201
E:\BILLS\H3648.IH
H3648
hmoore on PRODPC68 with HMBILLS
tions, or such other unforeseen cir-
cumstances as may be specified by the 
Secretary. 
‘‘(D) COORDINATION
WITH
RECOGNITION 
OF GAIN ATTRIBUTABLE TO DEPRECIATION.— 
For purposes of this paragraph— 
‘‘(i) subparagraph (A) shall be applied 
after the application of subsection (d)(6), 
and 
‘‘(ii) subparagraph (B) shall be ap-
plied without regard to any gain to which 
subsection (d)(6) applies.’’. 
(b) EFFECTIVE DATE.—The amendment made by 
this section shall apply to sales and exchanges after De-
cember 31, 2007. 
SEC. 5. TIME FOR PAYMENT OF CORPORATE ESTIMATED 
TAXES. 
Subparagraph (B) of section 401(1) of the Tax In-
crease Prevention and Reconciliation Act of 2005 is 
amended by striking ‘‘114.75 percent’’ and inserting 
‘‘116.50 percent’’. 
Æ 
VerDate Aug 31 2005 
02:06 Sep 26, 2007
Jkt 059200
PO 00000
Frm 00008
Fmt 6652
Sfmt 6301
E:\BILLS\H3648.IH
H3648
hmoore on PRODPC68 with HMBILLS