(1) In general Except as otherwise provided in paragraphs (2) and (3), such decisions may be reviewed by the United States court of appeals for the circuit in which is located
(A) in the case of a petitioner seeking redetermination of tax liability other than a corporation, the legal residence of the petitioner,
(B) in the case of a corporation seeking redetermination of tax liability, the principal place of business or principal office or agency of the corporation, or, if it has no principal place of business or principal office or agency in any judicial circuit, then the office to which was made the return of the tax in respect of which the liability arises,
(C) in the case of a person seeking a declaratory decision under section
7476, the principal place of business, or principal office or agency of the employer,
(D) in the case of an organization seeking a declaratory decision under section
7428, the principal office or agency of the organization,
(E) in the case of a petition under section
6226,
6228 (a),
6247, or
6252, the principal place of business of the partnership, or
(F) in the case of a petition under section
6234 (c)
(i) the legal residence of the petitioner if the petitioner is not a corporation, and
(ii) the place or office applicable under subparagraph (B) if the petitioner is a corporation.
If for any reason no subparagraph of the preceding sentence applies, then such decisions may be reviewed by the Court of Appeals for the District of Columbia. For purposes of this paragraph, the legal residence, principal place of business, or principal office or agency referred to herein shall be determined as of the time the petition seeking redetermination of tax liability was filed with the Tax Court or as of the time the petition seeking a declaratory decision under section 7428 or 7476 or the petition under section 6226, 6228 (a), or 6234 (c), was filed with the Tax Court.
(3) Declaratory judgment actions relating to status of certain governmental obligations In the case of any decision of the Tax Court in a proceeding under section
7478, such decision may only be reviewed by the Court of Appeals for the District of Columbia.