N.Y. Family Court Act § 229
Cooperation by employer
Employers are authorized and required to report to the court, when so requested, full information as to the earnings of a petitioner or respondent in a proceeding under articles four or five of this act.