Determination of tax liability
Except as provided in paragraph (2) of this subsection, the court may determine the amount or legality of any tax, any fine or penalty relating to a tax, or any addition to tax, whether or not previously assessed, whether or not paid, and whether or not contested before and adjudicated by a judicial or administrative tribunal of competent jurisdiction.
The court may not so determine—
the amount or legality of a tax, fine, penalty, or addition to tax if such amount or legality was contested before and adjudicated by a judicial or administrative tribunal of competent jurisdiction before the commencement of the case under this title;
any right of the estate to a tax refund, before the earlier of—
120 days after the trustee properly requests such refund from the governmental unit from which such refund is claimed; or
a determination by such governmental unit of such request; or
the amount or legality of any amount arising in connection with an ad valorem tax on real or personal property of the estate, if the applicable period for contesting or redetermining that amount under applicable nonbankruptcy law has expired.
The clerk shall maintain a list under which a Federal, State, or local governmental unit responsible for the collection of taxes within the district may—
designate an address for service of requests under this subsection; and
describe where further information concerning additional requirements for filing such requests may be found.
If such governmental unit does not designate an address and provide such address to the clerk under subparagraph (A), any request made under this subsection may be served at the address for the filing of a tax return or protest with the appropriate taxing authority of such governmental unit.
A trustee may request a determination of any unpaid liability of the estate for any tax incurred during the administration of the case by submitting a tax return for such tax and a request for such a determination to the governmental unit charged with responsibility for collection or determination of such tax at the address and in the manner designated in paragraph (1). Unless such return is fraudulent, or contains a material misrepresentation, the estate, the trustee, the debtor, and any successor to the debtor are discharged from any liability for such tax—
upon payment of the tax shown on such return, if—
such governmental unit does not notify the trustee, within 60 days after such request, that such return has been selected for examination; or
such governmental unit does not complete such an examination and notify the trustee of any tax due, within 180 days after such request or within such additional time as the court, for cause, permits;
upon payment of the tax determined by the court, after notice and a hearing, after completion by such governmental unit of such examination; or
upon payment of the tax determined by such governmental unit to be due.
Notwithstanding section 362 of this title, after determination by the court of a tax under this section, the governmental unit charged with responsibility for collection of such tax may assess such tax against the estate, the debtor, or a successor to the debtor, as the case may be, subject to any otherwise applicable law.
(Pub. L. 95–598, Nov. 6, 1978, 92 Stat. 2582; Pub. L. 98–353, title III, § 447, July 10, 1984, 98 Stat. 374; Pub. L. 109–8, title VII, §§ 701(b), 703, 715, Apr. 20, 2005, 119 Stat. 124, 125, 129; Pub. L. 111–327, § 2(a)(14), Dec. 22, 2010, 124 Stat. 3559.)