The buyer on notifying the seller of an intention to do so may deduct all or any part of the damages resulting from any breach of the contract from any part of the price still due under the same contract.
Minn. Stat. § 336.2-717
1965 c 811 s 336.2-717; 1986 c 444