(A) a petition for redetermination of a deficiency has been filed with the Tax Court within the time prescribed in section
6213 (a), the expiration of 60 days after the decision of the Tax Court becomes final,
(B) an extension of time has been granted under section
6161 or
6166 for payment of the tax shown on the return, or of a deficiency, the date of the expiration of the period of the extension, or
(C) a claim for refund or credit of an overpayment of tax imposed by this chapter has been filed within the time prescribed in section
6511, the latest of the expiration of
(i) 60 days from the date of mailing by certified mail or registered mail by the Secretary to the taxpayer of a notice of the disallowance of any part of such claim,
(ii) 60 days after a decision by any court of competent jurisdiction becomes final with respect to a timely suit instituted upon such claim, or
(iii) 2 years after a notice of the waiver of disallowance is filed under section
6532 (a)(3).
Notwithstanding sections 6511 and 6512, refund based on the deduction may be made if the claim for refund is filed within the period provided in the preceding sentence. Any such refund shall be made without interest.