The buyer on notifying the seller of the intention to do so may deduct all or any part of the damages resulting from a breach of the contract from any part of the price still due under the same contract.
AS 45.02.717
Deduction of damages from the price
Known as the Uniform Commercial Code
The act spans §§ 45–45 (615 sections).
Official source: Alaska State Legislature. Reproduced from public-domain Alaska statutes; confirm against the official source for the current text. Not legal advice.