(5) Section 129(e)(1) of such Code is amended—
(A) by striking The term and inserting the following:
(A) In general The term,
(B) by striking under section 21(b)(2) (relating to expenses for household and dependent care services necessary for gainful employment), and
(C) by adding at the end the following:
(i) In general The term employment-related expenses means amounts paid for the following expenses, but only if such expenses are incurred to enable the taxpayer to be gainfully employed for any period for which there are 1 or more qualifying individuals with respect to the taxpayer:
(I) Expenses for household services, and
(II) Expenses for the care of a qualifying individual.
Such term shall not include any amount paid for services outside the taxpayer's household at a camp where the qualifying individual stays overnight.
(ii) Exception Employment-related expenses described in clause (i) which are incurred for services outside the taxpayer's household shall be taken into account only if incurred for the care of—
(I) a dependent of the taxpayer (as defined in section 152(a)(1)) who has not attained age 13,
(II) a dependent of the taxpayer (as defined in section 152, determined without regard to subsections (b)(1), (b)(2), and (d)(1)(B)) who is physically or mentally incapable of caring for himself or herself, who has the same principal place of abode as the taxpayer for more than one-half of such taxable year, and who regularly spends at least 8 hours each day in the taxpayer's household, or
(III) the spouse of the taxpayer, if the spouse is physically or mentally incapable of caring for himself or herself, has the same principal place of abode as the taxpayer for more than one-half of such taxable year, and regularly spends at least 8 hours each day in the taxpayer's household.
(iii) Dependent Care Centers Employment-related expenses described in clause (i) which are incurred for services provided outside the taxpayer's household by a dependent care center shall be taken into account only if—
(I) such center complies with all applicable laws and regulations of a State or unit of local government, and
(II) The requirements of clause (ii) are met.
(iv) Dependent Care Center Defined For purposes of this paragraph, the term dependent care center means any facility which—
(I) provides care for more than six individuals (other than individuals who reside at the facility), and
(II) receives a fee, payment, or grant for providing services for any of the individuals (regardless of whether such facility is operated for profit).
(B) Employment-related expenses.
(6) Section 213 of such Code is amended by striking subsection (e).