(810 ILCS 5/2-717) (from Ch. 26, par. 2-717)
    Sec. 2-717. Deduction of damages from the price.
    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.
(Source: Laws 1961, p. 2101.)