All posts
Operations

Subcontract Liability Allocation: How Consultancies and Vietnam Delivery Partners Split Responsibility When a Bug Reaches the End Client in Production

Published on 27 Oct 2026

subcontract-liability-allocation-how-consultancies-and-vietnam-delivery-partners-split-responsibility-when-a-bug-reaches

Subcontract liability allocation is the contractual process of deciding who bears financial and legal responsibility when work performed by a subcontractor causes harm, loss, or breach of service to the end client. In construction and infrastructure projects, this concept is well established: the main contractor typically stays liable to the employer.

When a production bug traces back to code written by a subcontracted delivery partner, liability does not default to the subcontractor automatically. It is determined by what the consulting agreement actually says about responsibility, notice periods, and acceptance testing, combined with the contractual relationship between the consultancy and its end client.

In most structures, the consultancy remains directly responsible to the end client regardless of who wrote the faulty code, while the subcontract agreement separately determines whether and how much of that cost gets passed back to the delivery partner.

TL;DR

  • Liability for a production bug rests first with whoever has the direct contractual relationship with the end client, usually the consultancy, not the subcontracted delivery team.

  • A well-drafted consulting or subcontract agreement must explicitly state that the subcontractor remains responsible for its own work quality, even though the consultancy carries the external-facing liability.

  • Vague liability clauses are the most common failure mode in cross-border subcontracting relationships, particularly when the subcontractor is based in a different jurisdiction.

  • Acceptance testing, defect classification (critical vs. minor), and notice periods should be defined in the contract before work starts, not negotiated after an incident.

  • 724SOFTWARE structures every dedicated-team and ODC engagement with clear scope ownership, QA checkpoints, and incident response SLAs so liability questions are answered by the contract, not by argument after the fact.

About the Author: 724SOFTWARE is a Vietnam-based engineering company providing dedicated teams and ODC capacity for software consultancies and implementation partners across Fintech, retail, and enterprise projects in 10+ countries, with direct operational experience in how liability clauses function when incidents occur in production.

What Does "Subcontract Liability Allocation" Actually Mean in Software Delivery?

r all subcontracted work, while a separate subcontract agreement determines how much of that liability flows back to the subcontractor.

Software delivery works the same way structurally, even though the industry rarely uses the same legal vocabulary. A consultancy that wins a client engagement and then brings in a Vietnam-based delivery partner to staff the project is, in effect, the main contractor. The end client's contract is with the consultancy. If a bug written by the delivery partner's engineer causes a production incident, the end client's first call is to the consultancy, not to the subcontractor, because that is who they have a direct agreement with.

This matters because many consultancies assume the opposite. They treat the delivery partner as fully liable for its own output and under-specify their own exposure. That assumption only holds if the subcontract agreement explicitly transfers responsibility back, with language a court or arbitrator would actually enforce.

Who Is Legally Responsible When a Bug Reaches Production?

Responsibility splits into two layers: external liability to the end client, and internal liability between the consultancy and the delivery partner. The consultancy almost always carries the external liability because the end client has no contractual relationship with the subcontractor. The internal liability question, who pays for the fix, who absorbs reputational damage, who covers any penalty clause, depends entirely on what the consulting agreement says about the subcontractor's ongoing responsibility for the quality of its own work.

A consulting agreement template used in Vietnam-based engagements typically needs two clauses working together: one that clarifies the consultant (or lead delivery partner) remains responsible for the performance of the subcontractor towards the end client, and a second that specifies the extent of the subcontractor's liability back to the consultant. Without the second clause, the consultancy has no recourse. It absorbs the cost of the bug entirely, even if the root cause was a specific engineer's error.

This is the single most common gap in subcontract delivery arrangements: consultancies focus the contract on deliverables and payment milestones, and treat liability as boilerplate. It is not boilerplate. It is the clause that determines who pays when things go wrong, and it should be negotiated with the same rigor as the commercial terms.

How Should Liability Be Split Between the Consultancy and the Delivery Partner?

Building on the legal structure above, the practical question is how to allocate liability fairly rather than just contractually. A workable split usually separates liability by defect category and by acceptance checkpoint, rather than by a blanket percentage.

Defect scenario

Who typically bears cost

Why

 

Bug in code that passed consultancy-defined acceptance criteria

Shared or consultancy-led

Acceptance testing is the consultancy's gate; a defect that cleared it reflects a process gap on both sides

Bug in code never submitted for review or QA sign-off

Delivery partner

Work bypassed the agreed quality process

Bug caused by a requirements error from the end client, implemented as specified

Consultancy

Delivery partner built to spec; the spec was wrong

Critical production incident with no documented root cause within the SLA window

Delivery partner, if response time breached the contract

SLA breach is independently measurable

The mechanism that makes this table work is the acceptance checkpoint. Think of it like a quality gate on a factory line: once a part passes inspection and gets stamped, the inspector who stamped it shares responsibility for anything that slips through. If a part is installed without ever reaching the inspection station, responsibility sits entirely with whoever skipped the process. Software QA checkpoints function the same way. A bug that passed code review, automated tests, and staging sign-off is a shared failure of the process both parties agreed to. A bug that never went through that process is a clear-cut failure of the party that skipped it.

This is why 724SOFTWARE embeds QA and DevOps roles directly into dedicated teams rather than treating testing as an afterthought bolted onto delivery. When defect liability is disputed, the first question any arbitrator or client will ask is "did this go through the agreed QA gate." Having that answer documented, not reconstructed after the fact, is what protects both the consultancy and the delivery partner.

What Should a Subcontract Agreement Specify Before Work Starts?

A subcontract or staff augmentation agreement should specify liability terms before the first sprint, not after the first incident. At minimum, it needs:

  • Scope ownership: which modules, features, or services the delivery partner is responsible for end to end, versus components they only touch under consultancy direction.

  • Acceptance criteria: the defined test suite, code review standard, or sign-off process that constitutes "accepted" work.

  • Defect severity classification: what counts as critical (production down, data loss, security exposure) versus minor (cosmetic, non-blocking).

  • Notice and response windows: how quickly the delivery partner must acknowledge and respond to a reported defect, tied to a measurable SLA rather than a vague commitment.

  • Liability caps and carve-outs: whether liability is capped at contract value, and whether gross negligence or security breaches are excluded from any cap.

  • Insurance and indemnity: whether either party carries professional indemnity coverage relevant to the engagement.

International subcontracting introduces an added layer: cross-border enforcement. When the delivery partner is in a different jurisdiction than the consultancy or the end client, the contract should state which jurisdiction's law governs disputes and how damage claims get resolved, because unclear regulation on subcontractor liability across borders is a documented source of dispute in international projects.

How Does 724SOFTWARE Structure Liability in Dedicated Team and ODC Engagements?

As a long-term technology partner to software consultancies and implementation partners, 724SOFTWARE operates dedicated team and ODC (offshore development center) models designed to eliminate liability ambiguity. Rather than working as a transactional delivery vendor, we embed engineers directly into your delivery workflow with clearly defined scope ownership and QA checkpoints established at engagement outset.

In this structure, scope ownership and QA checkpoints are defined at team setup, not improvised mid-project. Teams operate under a follow-the-sun support model with incident response committed at under 10 minutes, which matters directly for liability allocation: a documented, time-stamped response is evidence in any dispute about whether an SLA was met. 724SOFTWARE's alignment with ISO 9001 and ISO 27001:2022 standards also gives consultancies an auditable process trail, which is often what an end client's own compliance team asks to see before accepting a subcontracted delivery arrangement.

Frequently Asked Questions

Does the end client ever have direct legal recourse against the subcontracted delivery partner?

Usually not, unless the subcontract or a separate agreement explicitly grants the end client that right. Absent that, the end client's recourse is against the consultancy they contracted with.

Should liability clauses differ for fixed-scope projects versus ongoing dedicated teams?

Yes. Fixed-scope work can tie liability to specific deliverables and acceptance dates. Dedicated team arrangements need liability tied to ongoing process adherence (QA gates, SLA response times) since there is no single delivery milestone to anchor it to.

What happens if a bug's root cause is disputed between the consultancy and the delivery partner?

This is why documented acceptance testing and code review logs matter. Without them, liability disputes become arguments about memory rather than evidence.

Is it normal for a Vietnam IT company to carry liability insurance for subcontracted work?

It varies by engagement size and industry. Consultancies working in regulated sectors like Fintech or healthcare should ask about this explicitly during vendor evaluation rather than assuming it is standard.

How does jurisdiction affect liability enforcement in cross-border subcontracting?

Unclear or unaddressed jurisdiction clauses are a known source of dispute when subcontractors operate abroad. The contract should name a governing jurisdiction rather than leaving it implied.

Can a consultancy cap its own liability exposure from a subcontractor's error?

Yes, through liability caps and indemnity clauses in the subcontract agreement, though these are only enforceable if clearly specified in advance.

About 724SOFTWARE

724SOFTWARE is a Vietnam-based engineering company providing dedicated teams, ODC setups, and embedded staff augmentation for software consultancies, implementation partners, and SaaS companies. With 200+ professionals, 58% at senior level, and delivery experience across 10+ countries, we structure every engagement around defined scope, QA checkpoints, and incident response under 10 minutes.

Our alignment with ISO 9001 and ISO 27001:2022 standards, combined with a 95% client retention rate, gives clients an auditable process to reference when liability questions arise. As your long-term technology partner, 724SOFTWARE makes liability allocation a non-issue by embedding process rigor and transparency before code ships.

If your consultancy or implementation partner needs dedicated delivery capacity with clearly defined scope and accountability terms from day one, contact 724SOFTWARE at https://724software.com.vn/.

Share this article

Operations

Shrimpie Tran

AI Engineer

Keep Reading

Explore more from our experts.

View all

Stay ahead with our insights.

Get the latest on software design, strategy, and what's working in the field.

We respect your inbox. Unsubscribe anytime from any email.