Compensation takes place by operation of law when two persons owe to each other sums of money or quantities of fungible things identical in kind, and these sums or quantities are liquidated and presently due.
In such a case, compensation extinguishes both obligations to the extent of the lesser amount.
Delays of grace do not prevent compensation.
La. C.C. § 1893