N.Y. Real Property Tax Law § 726
1. If in a final order in any proceeding under this article it is determined that the assessment reviewed was excessive, unequal or unlawful, or that real property was misclassified, and ordered or directed that the same be corrected or stricken from the roll, and such order is not made in time to enable the assessors or other appropriate officer, board or body to make a new or corrected assessment or to strike such assessment from the roll prior to the imposing of any tax or special ad valorem levy upon the real property the assessment of which has been determined to be excessive, unequal or unlawful, or which has been determined to be misclassified, then any amount at any time collected upon such excessive, unequal or unlawful assessment, or as a result of such misclassification shall be refunded as follows:
5.