Obligations and Contracts › Obligations › Extinguishment › Compensation

Compensation is one of the six modes of extinguishing obligations under Article 1231 of the Civil Code and ranks among the most frequently tested topics in Bar essay questions on Obligations and Contracts. Essay questions typically present mutual debts between two parties, often with an assignment of credit, an unliquidated claim, or a prohibited situation (deposit, support, or penal liability). To score well, you must accurately determine whether legal compensation has occurred ipso jure, apply the five requisites element-by-element, handle assignment rules under Article 1285 with precision, and correctly invoke the statutory prohibitions—always citing specific codal provisions and concluding with the exact extent of extinguishment.

Core Legal Basis and Definition

The governing provisions are Articles 1278 to 1290 of the Civil Code (Republic Act No. 386).

Article 1278 provides: “Compensation shall take place when two persons, in their own right, are creditors and debtors of each other.”

Compensation is the mode of extinguishment whereby two reciprocal obligations between the same parties are cancelled to the extent of their concurrent amounts, either automatically by operation of law (legal compensation), by agreement of the parties (conventional compensation), or by judicial declaration (judicial compensation). It operates as a fictitious or simultaneous payment without actual delivery of money or performance.

Essential Requisites for Legal Compensation

Legal compensation requires the strict concurrence of all five requisites under Article 1279:

  1. Each obligor is bound principally and is at the same time a principal creditor of the other. (Guarantors and sureties in their secondary capacity generally cannot invoke it on the main obligation, though Article 1280 allows a guarantor to set up compensation as to what the creditor owes the principal debtor.)

  2. Both debts consist in a sum of money, or if the things due are consumable, they are of the same kind and also of the same quality if the latter has been stated. (Non-consumable or specific things generally do not qualify for legal compensation.)

  3. Both debts are due. (Obligations subject to a suspensive period or condition that has not yet occurred are not demandable for this purpose.)

  4. Both debts are liquidated and demandable. (The existence and amount must be certain or capable of ready determination; unliquidated claims, such as damages not yet fixed by agreement or judgment, do not qualify for legal compensation.)

  5. Over neither debt is there any retention or controversy commenced by third persons and communicated in due time to the debtor. (Garnishment, attachment, or adverse claim by a third party that has been properly notified bars legal compensation.)

When all five requisites are present, Article 1290 declares: “Compensation takes effect by operation of law, and extinguishes both debts to the concurrent amount, even though the creditors and debtors are not aware of the compensation.”

Article 1281 further provides that compensation may be total (when the debts are equal in amount) or partial (when one debt exceeds the other; the balance remains enforceable).

Kinds of Compensation

  • Legal compensation — Automatic (ipso jure) upon concurrence of all Article 1279 requisites; no agreement or court action required.
  • Conventional (voluntary) compensation — Effected by agreement of the parties under Article 1282, even if the debts are not yet due or other legal requisites are absent.
  • Judicial compensation — Declared by the court in a pending action (e.g., when a party sets up compensation as a counterclaim under Article 1283 after proving the right and amount of damages). The court may decree it even if some legal requisites are lacking, after it liquidates or determines the debt.
  • Facultative compensation — Occurs where the law or circumstances allow only one party to invoke compensation (the other being precluded by a personal defense or prohibition), though in the cases covered by Articles 1287–1288 it is generally disallowed altogether.

Landmark Supreme Court Doctrines

Jurisprudence prior to the June 30, 2025 cut-off firmly upholds the codal framework:

  • Silahis Marketing Corporation v. Intermediate Appellate Court, G.R. No. 74027, December 7, 1989: The Supreme Court held that a party cannot unilaterally impose compensation or offset without either satisfying all the legal requisites under Article 1279 or entering into a specific agreement; a mere unproven claim to commissions or credits does not authorize compensation against an admitted debt.

  • The Court has consistently ruled that legal compensation operates ipso jure under Article 1290 the moment all five requisites concur, resulting in automatic pro tanto extinguishment without need of prior notice, demand, application by the parties, or awareness on their part. Strict compliance with every requisite is required; the absence of even one (particularly liquidation/demandability or absence of third-party controversy) prevents legal compensation from taking place.

Key Exceptions, Qualifications, and Distinctions

Statutory Prohibitions (Articles 1287 and 1288) — Compensation shall not be proper when:

  • One of the debts arises from a depositum or from the obligations of a depositary or bailee in commodatum (protects the depositor from set-off that could impair return of the specific thing).
  • It is set up against a creditor who has a claim for support due by gratuitous title (subject to Article 301, paragraph 2).
  • One of the debts consists in civil liability arising from a penal offense.

Assignment of Credit (Article 1285 — Highly Testable):

  • If the debtor consented to the assignment: He cannot set up compensation against the assignee unless, at the time of giving consent, he notified the assignor and expressly reserved his right to compensation.
  • If the creditor communicated the cession but the debtor did not consent: The debtor may set up compensation only for debts prior to the cession, but not for subsequent ones.
  • If the assignment was made without the knowledge of the debtor: He may set up compensation for all credits prior to the assignment and also later ones until he acquired knowledge of it.

Other Important Rules:

  • Compensation is possible even if the debts are payable at different places, subject to indemnity for exchange or transportation costs (Article 1286).
  • Rescissible or voidable debts may be compensated against each other before they are judicially rescinded or avoided (Article 1284).
  • If a person has several debts susceptible of compensation, the rules on application of payments govern the order (Article 1289).

Key Distinctions:

  • From confusion/merger (Article 1275): Confusion merges the qualities of creditor and debtor in one person for the same obligation; compensation involves two distinct persons and two separate obligations.
  • From payment: Payment requires actual delivery or rendition; compensation is a simultaneous fictitious payment by offsetting—no actual transfer occurs.
  • From novation: Novation creates a new obligation; compensation extinguishes existing obligations pro tanto without substituting a new one.
  • From remission/condonation: Remission is a unilateral, usually gratuitous waiver by the creditor; compensation is bilateral and grounded on mutuality of debts.

How This Topic Appears in Bar Essay Questions

Typical fact patterns include:

  • Two parties with admitted mutual monetary obligations that may or may not meet all five requisites.
  • Assignment of one credit to a third party, directly testing the three scenarios in Article 1285.
  • One “debt” that is unliquidated (e.g., claim for actual damages), arises from a criminal civil liability, constitutes support by gratuitous title, or stems from a true depositum or commodatum.
  • Questions asking whether the obligation has been (or can be) extinguished by compensation, to what extent, and the rights of the parties after an assignment.

Common examinee mistakes:

  • Checking only some of the five requisites (especially overlooking the “no third-person controversy communicated in due time” or the “liquidated and demandable” requirements).
  • Assuming legal compensation requires the parties’ knowledge, consent, or affirmative act.
  • Misapplying the three distinct rules of Article 1285 on assignment.
  • Treating ordinary bank deposits as depositum under Article 1287 (bank deposits ordinarily create a debtor-creditor relationship; set-off is often permissible by agreement or under banking law and jurisprudence).
  • Confusing compensation with other modes of extinguishment or with a mere procedural counterclaim.

Best answer structure:

  1. Identify compensation as the mode and cite Articles 1278–1290.
  2. Classify the kind (legal, conventional, judicial).
  3. Apply each relevant article or requisite element-by-element to the facts.
  4. State whether it has taken (or can take) effect and the extent (total or partial).
  5. Address any assignment, prohibition, or remaining balance.
  6. Conclude with the precise legal effects on the parties.

Practical Application Tips and Memory Aids

  • Mnemonic for the five requisites (Article 1279): “Principals mutually bound + Same kind/quality + Due + Liquidated & demandable + No third-party retention or controversy” (“Please Serve Delicious Lunch Now”).
  • Core phrase to internalize: “Compensation takes effect by operation of law… even though the creditors and debtors are not aware of the compensation” (Article 1290).
  • For Article 1285, classify the assignment scenario immediately: (1) consent + reservation?, (2) notified but no consent (prior debts only), or (3) unknown to debtor (prior + post-knowledge).
  • In every essay answer, begin with “Under Article ___ of the Civil Code…” and apply the provisions systematically to the given facts. This structure maximizes points for organization and legal accuracy.
  • Remember that while Article 1287 bars compensation involving true depositum, ordinary bank deposits are treated as loans (mutuum) under Article 1980, allowing set-off under separate principles or stipulations.

Must Remember

  • Legal compensation extinguishes obligations pro tanto (to the amount of the smaller debt) the instant all five Article 1279 requisites concur; any balance remains demandable.
  • Legal compensation is ipso jure—automatic, self-executing, and effective even without knowledge or consent of the parties.
  • Article 1285 on assignment is a high-yield trap; master its three distinct rules based on the debtor’s consent and knowledge.
  • Strictly observe the absolute prohibitions in Articles 1287 and 1288; these are non-negotiable bars.
  • Always distinguish compensation from confusion, payment, novation, and remission both in definition and in legal effects.
  • In Bar answers, cite specific article numbers, quote key phrases where helpful, and apply every element directly to the facts for maximum scoring.

Master these rules, distinctions, and application techniques and you will confidently handle any essay question on compensation in the 2026 Bar Examinations.

Disclaimer: This content is not legal advice and may involve AI assistance. Information may be inaccurate.