Short answer. Yes, you pay but with a deduction. Article 1234 says that when an obligation has been substantially performed in good faith, the obligor may recover as though he had completely fulfilled it, less the damages you suffered from the defects. So you pay the contract price minus what it fairly costs to correct the remaining flaws.
What the law says
If the obligation has been substantially performed in good faith, the obligor may recover as though there had been a strict and complete fulfillment, less damages suffered by the obligee.
Civil Code, Article 1234 — Substantial Performance in Good Faith. Read the full provision →
Substantial performance in good faith
Article 1234 softens the harsh idea that anything short of perfect performance means the performer gets nothing. It provides that if the obligation has been substantially performed in good faith, the obligor may recover as though there had been a strict and complete fulfillment, less damages suffered by the obligee. The doctrine of substantial performance recognises that a contractor who has essentially done the job honestly, leaving only minor items or defects, should not forfeit his whole fee over the shortfall. He is allowed to recover on the contract as if he had finished it — but on the express condition that what you lost because of the defects is subtracted first.
The price is reduced by your damages
The article does not make you pay for imperfect work at the full rate. Recovery is less damages suffered by the obligee. That is precisely the deduction you are asking about. From the contract price you may subtract the reasonable cost of remedying the defects, and any other loss the defects fairly caused you. The contractor is paid for the substantial work he genuinely delivered, and you are made whole for the part he did not. The result is meant to be fair to both sides — he is not stripped of everything for a small failing, and you are not forced to shoulder the cost of fixing his mistakes.
Two conditions must both be present
The doctrine only helps a contractor who meets both of its requirements. First, performance must be substantial — the essential work done, with only minor or incidental defects remaining, not major portions left unfinished. Second, it must be in good faith — an honest effort to comply, not a deliberate cutting of corners or a conscious deviation from the agreement. A contractor who wilfully skimped, or who left significant work undone, cannot invoke Article 1234 to demand near-full payment. The provision rewards honest, nearly complete performance; it does not shield bad faith or genuine non-completion dressed up as a few small defects.
What it does not allow, and your position
Article 1234 does not require you to accept seriously incomplete or bad-faith work and simply dock a bit off the price — those are handled by other rules, including the remedy of having poor work corrected or undone at the contractor's cost. What it prevents is a contractor losing his entire fee over trivial defects, and equally, it prevents you from withholding the whole price when only minor items remain. The sensible course is to agree on the deduction, or to have the defects fixed and offset the cost against what you owe. Either way, document the defects and the reasonable cost of repair, since that figure drives the deduction.
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.
- International Hotel Corporation vs. Francisco B. Joaquin, Jr., et al, G.R. No. 158361, April 10, 2013 — read the decision on LawPhil →
- EK Lee Steel Works Corp. vs. Manila Castor Oil Corp, Romy Lim and the CA, G.R. No. 119033, July 9, 2008 — read the decision on LawPhil →
- Diesel Construction Co Inc vs. UPSI Property Holdings Inc. / UPSI Property Holdings Inc vs. Diesel Construction Co. Inc. et al, G.R. No. 154885 / G.R. No. 154937, March 24, 2008 — read the decision on LawPhil →
- Southstar Construction and Development Corporation vs. Philippine Estates Corporation, G.R. No. 218966, August 1, 2022 — read the decision on LawPhil →