Where a party has essentially completed their obligations with only minor defects, they are entitled to the price, less the cost of putting the defects right.
Example
A decorator finishes the job but a cupboard door sticks; they are paid in full minus the cost of fixing the door.
Where it comes from
Hoenig v Isaacs (1952), softening the strict rule in Cutter v Powell (1795).