Deduction of Damages From the Price

N.Y. Uniform Commercial Code Law § 2-717, under Remedies.

N.Y. Uniform Commercial Code Law § 2-717

Section 2--717. Deduction of Damages From the Price.\n The buyer on notifying the seller of his intention to do so may deduct\nall or any part of the damages resulting from any breach of the contract\nfrom any part of the price still due under the same contract.\n