Short answer. Yes — when what you owe each other is exactly equal, compensation is total under Article 1281 of the Civil Code, meaning both debts are extinguished in full to the extent they match, provided the general requirements for legal compensation are actually met between you and your creditor.
What the law says
Compensation may be total or partial. When the two debts are of the same amount, there is a total compensation.
Civil Code, Article 1281 — Total or Partial Compensation. Read the full provision →
What total compensation means
Article 1281 of the Civil Code draws the line between the two kinds of legal compensation. Compensation may be total or partial. When the two debts are of the same amount, there is a total compensation. In plain terms, compensation is the automatic set-off the law allows when two people are creditor and debtor to each other at the same time — instead of both sides handing money back and forth, the smaller debt cancels out the larger one, or, as in your case, equal debts cancel each other out entirely. If the figures truly match, the law treats both obligations as extinguished to that full extent, not merely reduced.
Equal amounts alone are not enough
Article 1281 tells you what happens once compensation applies to equal debts — it does not, by itself, establish that compensation applies in the first place. Philippine law only allows this set-off between two debts that are both due, both liquidated in amount, and owed directly between the same two people as principal debtor and principal creditor, with neither claim contested by a third party. If any of those conditions is missing — one debt is still disputed, for instance, or is not yet due — the fact that the figures happen to match does not by itself wipe either obligation out.
What happens once it applies
Once genuine legal compensation applies to debts of the same amount, the effect is complete extinguishment on both sides. You no longer owe your creditor, and your creditor no longer owes you, because each claim absorbed the other in full. Neither of you needs to make a physical payment to close out the obligation — the law treats the mutual debts as settled once the requirements for compensation are met, without any further act from either party.
When the amounts differ instead
The same article also covers the more common situation where the two debts are not exactly equal. There, compensation is only partial — the smaller debt is fully extinguished, and the larger debt survives, reduced by the amount that was absorbed. Keeping this distinction in mind matters practically: if you later discover that what you owe and what is owed to you are not perfectly identical after all, you cannot assume the whole debt disappeared, only the portion equal to the smaller of the two.
Cases citing this provision
These Supreme Court decisions cite the provision above. We list them so you can read them yourself; the summaries of what each decided are not ours to give.
- Solar Team Entertainment, Inc. vs. Team Image Entertainment, Inc., and Felix S. Co, G.R. No. 191652, September 13, 2017 — read the decision on LawPhil →
- Coca-Cola Bottlers Philippines, Inc. vs. Sps. Jose R. Bernardo and Lilibeth R. Bernardo, G.R. No. 190667, November 7, 2016 — read the decision on LawPhil →