COMPENSATION, in Law. When the same person is debtor and creditor to another, the mutual obligations, if they are for equal sums, are extinguished by compensation; if for unequal, the lesser obligation is extinguished, and the greater diminished, as far as the concourse of debt and credit goes.