Short answer. Yes. Article 1283 allows it: if one of the parties to a suit over an obligation has a claim for damages against the other, the former may set it off by proving his right to those damages and the amount. So you can raise your damages claim in the same case and have it offset against the debt.
What the law says
If one of the parties to a suit over an obligation has a claim for damages against the other, the former may set it off by proving his right to said damages and the amount thereof.
Civil Code, Article 1283 — Compensation of Damages Claims. Read the full provision →
The rule permits set-off of a damages claim
Ordinary legal compensation requires two debts that are already liquidated — fixed in amount — and due. A claim for damages is usually neither; its existence and size have to be established first. Article 1283 makes room for it anyway inside litigation: If one of the parties to a suit over an obligation has a claim for damages against the other, the former may set it off by proving his right to said damages and the amount thereof. So when you are sued on a debt, you are not forced to pay in full now and chase your damages claim in a separate case later. You may assert it in the same proceeding.
You must prove both the right and the amount
The permission comes with a burden. The article lets you set off by proving his right to said damages and the amount thereof. Two things must be shown, not merely alleged: first, that you actually have a right to damages against the other side; and second, how much those damages are. A bare assertion that they owe you something will not reduce the debt. The court has to be satisfied that the damages are real and to fix their amount before they can be applied against what you owe. Until proven, your claim does not automatically wipe out or shrink the debt sued upon.
How the set-off works within the case
Because the damages are established in the same suit, the court can weigh both sides of the account together. If you prove damages of a certain amount, that figure is offset against the debt the other party is claiming, and only the balance is enforced. This spares everyone the waste of two lawsuits over intertwined dealings and avoids the unfairness of paying the whole debt while your own valid claim waits. The set-off is asserted as part of your answer to the obligation being sued on, and it stands or falls on the proof you bring for the damages.
What this does not do
This provision does not hand you an automatic reduction. It is an opportunity to prove a damages claim within the suit, not a declaration that your claim is valid. If you fail to establish the right or the amount, there is nothing to set off and the debt stands in full. Nor does it let you smuggle in a wholly unrelated grievance simply to delay payment — the claim must be a genuine one you can prove against the same party. And it does not change what damages the law otherwise allows; it governs the setting-off, not the measure of the damages themselves.
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.
- Lara’s Gifts & Decors, Inc. vs. Midtown Industrial Sales, Inc, G.R. No. 225433, August 28, 2019 — read the decision on LawPhil →
- Republic of the Philippines represented by the Department of Agriculture vs. Alberto Looyuko, doing business under the name and style of Noah's Ark Sugar Holdings and Wilson T. Go, G.R. No. 170966, June 22, 2016 — read the decision on LawPhil →
- Linear Construction Corporation vs. Dolmar Property Ventures, Inc, G.R. No. 212327, November 17, 2021 — read the decision on LawPhil →