The buyer on notifying the seller of his 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.
13 Pa.C.S. § 2717
Deduction of damages from price
Known as the Uniform Commercial Code
The act spans §§ 13–13 (634 sections).
Official source: Pennsylvania General Assembly. Reproduced from public-domain Pennsylvania statutes; confirm against the official source for the current text. Not legal advice.