Except as provided in subsection (b), this section shall apply to any case under chapter 7 (relating to liquidations) or chapter 11 (relating to reorganizations) of title 11 of the United States Code in which the debtor is an individual.
For purposes of subsection (a), a partnership shall not be treated as an individual, but the interest in a partnership of a debtor who is an individual shall be taken into account under this section in the same manner as any other interest of the debtor.
Except as otherwise provided in this section, the taxable income of the estate shall be computed in the same manner as for an individual. The tax shall be computed on such taxable income and shall be paid by the trustee.
Except as provided in paragraph (2), the taxable year of the debtor shall be determined without regard to the case under title 11 of the United States Code to which this section applies.
In the case of a married individual (within the meaning of section 7703), the spouse may elect to have the debtor’s election under subparagraph (A) also apply to the spouse, but only if the debtor and the spouse file a joint return for the taxable year referred to in subparagraph (A)(i).
No election may be made under subparagraph (A) by a debtor who has no assets other than property which the debtor may treat as exempt property under section 522 of title 11 of the United States Code.
For purposes of this subsection, the term “commencement date” means the day on which the case under title 11 of the United States Code to which this section applies commences.
The gross income of the estate for each taxable year shall include the gross income of the debtor to which the estate is entitled under title 11 of the United States Code. The preceding sentence shall not apply to any amount received or accrued by the debtor before the commencement date (as defined in subsection (d)(3)).
The gross income of the debtor for any taxable year shall not include any item to the extent that such item is included in the gross income of the estate by reason of paragraph (1).
A transfer (other than by sale or exchange) of an asset from the debtor to the estate shall not be treated as a disposition for purposes of any provision of this title assigning tax consequences to a disposition, and the estate shall be treated as the debtor would be treated with respect to such asset.
In the case of a termination of the estate, a transfer (other than by sale or exchange) of an asset from the estate to the debtor shall not be treated as a disposition for purposes of any provision of this title assigning tax consequences to a disposition, and the debtor shall be treated as the estate would be treated with respect to such asset.
The carryover of excess charitable contributions determined under section 170(d)(1).
Any amount to which section 111 (relating to recovery of tax benefit items) applies.
The carryovers of any credit, and all other items which, but for the commencement of the case, would be required to be taken into account by the debtor with respect to any credit.
Any administrative expense allowed under section 503 of title 11 of the United States Code, and any fee or charge assessed against the estate under chapter 123 of title 28 of the United States Code, to the extent not disallowed under any other provision of this title, shall be allowed as a deduction.
There shall be allowed as a deduction for the taxable year an amount equal to the aggregate of (i) the administrative expense carryovers to such year, plus (ii) the administrative expense carrybacks to such year.
If a net operating loss would be created or increased for any estate taxable year if section 172(c) were applied without the modification contained in paragraph (4) of section 172(d), then the amount of the net operating loss so created (or the amount of the increase in the net operating loss) shall be an administrative expense loss for such taxable year which shall be an administrative expense carryback to each of the 3 preceding taxable years and an administrative expense carryover to each of the 7 succeeding taxable years.
The portion of any administrative expense loss which may be carried to any other taxable year shall be determined under section 172(b)(2), except that for each taxable year the computation under section 172(b)(2) with respect to the net operating loss shall be made before the computation under this paragraph.
In the case of a termination of an estate, the debtor shall succeed to and take into account the items referred to in paragraphs (1), (2), (3), (4), (5), and (6) of subsection (g) in a manner similar to that provided in such paragraphs (but taking into account that the transfer is from the estate to the debtor instead of from the debtor to the estate). In addition, the debtor shall succeed to and take into account the other tax attributes of the estate, to the extent provided in regulations prescribed by the Secretary as necessary or appropriate to carry out the purposes of this section.
Notwithstanding section 442, the estate may change its annual accounting period one time without the approval of the Secretary.
If any carryback year of the estate is a taxable year before the estate’s first taxable year, the carryback to such carryback year shall be taken into account for the debtor’s taxable year corresponding to the carryback year.
The debtor may not carry back to a taxable year before the debtor’s taxable year in which the case commences any carryback from a taxable year ending after the case commences.
The term “carryback” means a net operating loss carryback under section 172 or a carryback of any credit provided by part IV of subchapter A.
The term “carryback year” means the taxable year to which a carryback is carried.