A quality dispute with a Chinese factory almost never turns on whether the goods were bad. It turns on what the parties agreed “good” meant, who had the right to decide, and what the buyer was entitled to do when the answer was no. By the time the container is loaded, all three questions have already been answered — by the purchase order, the specification annex, the sample that was signed in a meeting room, or by nothing at all.

That is why the most expensive quality failures we see are not manufacturing failures. They are drafting failures that a factory exploits within the terms it was given. A buyer inspects, finds a defect rate it considers unacceptable, refuses the shipment, and then discovers that the contract defined acceptance by reference to a standard the factory met, that the inspection was not a contractual precondition to payment, or that passing a pre-shipment inspection was expressed to be final acceptance, which extinguishes the warranty claim that follows six months later.

The practical conclusion is that quality control in China is a contract design exercise with an inspection programme attached. The inspection is evidence. The contract is the right. A company that spends its budget on inspectors and nothing on the quality agreement is buying photographs of a problem it cannot remedy.

This guide sets out the framework a foreign buyer should put in place with a Chinese manufacturer: the document chain and which document prevails, the specification set that makes inspection meaningful, inspection and audit rights that can actually be exercised, the acceptance event, the sampling standard and its traps, warranty and the gap between the buyer’s promise to its own customers and the factory’s promise to the buyer, and the ladder of remedies when the goods are wrong.

Quality is a drafting problem before it is an inspection problem

A manufacturing relationship runs on six or seven documents, and they are usually negotiated by different people at different times. The NDA is signed by legal. The development agreement is signed by engineering. The supply agreement is signed by procurement. The specification annex is attached by a project manager. The purchase order is generated by an ERP system with boilerplate that nobody has read since it was loaded. The inspection report is issued by a third party. The bill of lading is issued by a shipping line.

Each document can contain a quality term, and they will conflict. The supply agreement says the buyer may reject non-conforming goods. The purchase order’s reverse side says acceptance occurs on delivery to the carrier. The specification annex refers to a drawing revision that has since been superseded. When the dispute arrives, a Chinese court or arbitral tribunal will apply the contract’s own order of precedence clause, and if there is none it will apply general rules on interpretation that favour the written terms the parties actually negotiated last.

The remedy is a precedence clause in the master agreement that ranks the documents expressly: the supply agreement first, then the quality agreement and specifications, then the purchase order, then the factory’s standard terms, which should be excluded altogether. The purchase order should be a call-off against the master terms, not a fresh contract, and it should say so on its face. Companies that skip this step discover that a factory’s quotation terms, printed on the back of an acknowledgement, contain a warranty of ninety days and an exclusion of consequential loss.

The second drafting point is the definition of conformity. “In accordance with the specifications” is only useful if the specifications are identified by revision number, dated, and attached. A reference to “the drawings provided by the buyer” invites an argument about which drawings were provided and when. The quality agreement should list the controlled documents, give each a revision and a date, and state that a change requires a written engineering change notice signed by both sides.

The third is the allocation of the standard. If the contract is silent on a parameter, the factory’s own process standard fills the gap, and the factory’s standard is set for its yield and its cost, not for the buyer’s market. Silence is not neutral. It is a transfer of risk.

The specification set that makes inspection possible

An inspector cannot inspect an intention. The specification set is what converts a commercial expectation into a measurable criterion, and it has to be complete before the first production run rather than assembled during it.

The core documents are the drawing package with tolerances, the bill of materials with approved manufacturers and part numbers, the golden sample, the cosmetic criteria, the functional test procedure, the packaging specification and the labelling artwork. Each does a specific job and each is routinely incomplete in the same way.

Drawings need tolerances on every dimension that matters, not only the critical ones, because a dimension without a tolerance will be interpreted by the factory as a nominal target with its own process capability applied. They need a revision block and a date. They need a note on which surfaces are cosmetic and which are hidden. A drawing that shows a part but not the assembly interface leaves the fit to be discovered at the pilot run.

The bill of materials needs the approved manufacturer and part number for every component that affects function, reliability or certification, together with a statement that substitution requires written approval. Without that clause, a factory facing a shortage or a price rise will substitute a capacitor with a different temperature rating and the product will pass inspection and fail in the field eighteen months later. The clause is only enforceable if the buyer also has the right to see incoming material records, which is an audit right rather than an inspection right.

The golden sample is the most misunderstood document in the set. It is not a prototype. It is a production unit, drawn from a run the buyer has approved, signed and dated by both parties, sealed, and held in two places — one at the factory and one with the buyer, so that neither side can produce a different sample later. It should be accompanied by a written record of what it represents, including any accepted deviations, because a sample without a deviation note becomes a standard the factory cannot meet at volume and the buyer cannot enforce.

Cosmetic criteria need limit samples rather than adjectives. “No visible scratches” is not a criterion; a set of physical samples showing acceptable and unacceptable levels of a scratch, a sink mark, a weld line and a colour variation is. Consumer hardware disputes are frequently about appearance, and appearance is the category where a written specification is least likely to exist and where the buyer’s own marketing team has the strongest and latest opinion.

The functional test procedure should be written as a sequence an inspector can execute without engineering judgement: what to power on, what to pair, what to measure, what constitutes a pass, and what to record. For a connected device, it should include the firmware version, the app version and the network conditions, because a failure that cannot be reproduced is a failure the factory will attribute to the buyer’s software.

The packaging specification covers the carton, the insert, the protection, the master carton quantity, the marking and the drop requirement. Packaging failures are cheap to prevent and expensive to discover at the destination port, where the goods are already yours and the remedy is a credit note rather than a replacement.

Inspection rights: drafting them so they can be exercised

Most manufacturing agreements contain a right to inspect. Few contain a right that can be used on a Tuesday afternoon when the factory has decided to load the container.

A workable inspection clause has six elements. A right of access to the factory, to the production line and to the warehouse during business hours and, where production runs continuously, outside them. A right to inspect at any stage, including during production, not only at the end. A right to be represented by the buyer’s employees or by a third party nominated by the buyer, without the factory’s approval of the individual. A right to test samples at a laboratory of the buyer’s choosing. A right to audit records relevant to conformity, including incoming material records, calibration records and sub-supplier certificates. And an obligation on the factory not to ship until it has received a written release from the buyer, which converts inspection from a right into a gate.

The gate is the single most valuable clause in the quality agreement. Without it, an inspection that finds a problem becomes a negotiation conducted while the container is at the port, with demurrage running and the buyer’s own customer waiting. With it, the factory carries the cost of delay caused by its own non-conformity, provided the contract says so.

The clause should also deal with the factory’s sub-suppliers. A final assembly plant that buys modules from a third party will attribute every defect to that third party, and the buyer has no privity with it. The agreement should require the factory to flow down the specification and the audit right to named sub-suppliers, and to disclose the identity of any sub-supplier that the buyer has not approved.

Two limits matter. The first is that an inspection right is not a right to direct the factory’s workforce, and a buyer’s engineer who starts instructing the line creates an employment and liability question that nobody wants. The second is that frequent unannounced inspections damage the relationship and are less effective than a resident inspector during ramp-up; the clause should permit both, and the buyer should choose which to use.

Acceptance, and the moment quality becomes your problem

Acceptance is the event that transfers the risk of non-conformity, and it is defined less often than companies assume. Delivery terms under Incoterms govern carriage, insurance and the transfer of risk of loss or damage in transit. They do not govern whether the goods conform, and a contract that treats FOB shipment as acceptance has given away the buyer’s quality position at the moment of loading.

The quality agreement should define acceptance as a separate event: the buyer’s written acceptance after receipt and inspection at destination, or after a defined period of examination, whichever comes first. Where the buyer needs the goods urgently, acceptance can be deemed after a short examination window, but the clause should carve out latent defects, which by definition cannot be found on arrival, and defects that a reasonable inspection would not reveal.

The deemed acceptance trap is worth spelling out. Many factory standard terms provide that goods are deemed accepted if the buyer does not object within a fixed number of days of arrival. The period is often shorter than the time needed to clear customs, move the goods to a warehouse and run a functional test. The buyer then finds a defect in week six and is told that acceptance occurred in week two. The answer is to negotiate the window against the actual logistics, and to exclude latent defects expressly.

Inspection and acceptance should also be separated from payment. Where payment is by letter of credit, the bank pays against documents, and the documents will show a clean bill of lading whether or not the goods conform. The quality remedy then has to operate as a claim after payment rather than as a withholding right, which makes the security package — a retention, a guarantee or a set-off right — the practical substitute.

AQL, defect classification and the sampling traps

AQL, the acceptable quality limit, is a sampling scheme published as ANSI/ASQ Z1.4 and its international equivalent ISO 2859. It answers two questions: how many units from a batch to inspect, and how many defects in that sample are tolerable before the batch is rejected. For most consumer products the market convention is General Inspection Level II, with AQL 2.5 for major defects and AQL 4.0 for minor defects. For products where a failure is a safety event, the levels tighten, and critical defects are given zero acceptance.

Four misunderstandings recur, and each has cost a buyer money.

The first is that AQL 2.5 means a 2.5 per cent defect rate. It does not. AQL is the quality level that the scheme is designed to accept most of the time, and the actual defect rate in an accepted lot can be materially higher, particularly at small sample sizes. A buyer who needs a tight defect rate in the field needs either a tighter AQL, a larger sample, or a 100 per cent test on the parameter that matters. AQL manages risk; it does not certify quality.

The second is that passing a pre-shipment inspection is a waiver. It is not, unless the contract says so, and the contract should say the opposite: that inspection, acceptance of a sample, or failure to inspect does not waive the buyer’s rights in respect of latent defects, non-conformity not reasonably discoverable at inspection, or a defect appearing within the warranty period.

The third is the defect classification itself. Critical, major and minor are only meaningful if they are defined for the specific product, with examples. For an AI hardware product, a critical defect might be a battery that swells, a charger that fails a dielectric test, or firmware that fails to limit a thermal condition; a major defect might be a device that will not pair, a sensor that reads outside its calibrated range, or a housing that will not seat; a minor defect might be a cosmetic blemish within the limit sample. If the classification is left to the inspector’s judgement, the factory will argue that every defect is minor and the buyer will argue that every defect is major, and the argument will be settled by whoever wrote the clause.

The fourth is lot definition. AQL applies to a lot, and the factory controls how the lot is presented. A batch of ten thousand units can be presented as one lot or as ten lots of a thousand, and the sampling plan and the acceptance number change accordingly. The quality agreement should define the lot by production run and by date, and should require the factory to identify lots on the carton.

Sampling also has a structural blind spot: it inspects the end of the process. A defect created at incoming material inspection, at the SMT line or at the calibration station may be present at a rate that sampling will miss and that a process audit would catch. This is why the inspection programme needs a process element and not only a product element, and why the audit right over incoming material records matters more than an extra inspection day.

Warranty and the gap between your promise and theirs

The warranty is where the buyer’s exposure to its own customers meets the factory’s exposure to the buyer, and the two are rarely aligned. A buyer that sells with a longer warranty than it receives from the factory carries the difference itself. That may be a deliberate commercial choice, but it should be a choice, and it should be priced.

Four terms determine the size of the gap. The start date: shipment, arrival, delivery to the end customer, or first activation. Each produces a different exposure, and the factory will argue for shipment because it is the earliest. The scope: workmanship and materials only, or also design where the factory designed the product, and also firmware where the factory wrote it. The exclusions: misuse, water damage, unauthorised repair and normal wear are standard, but a broad exclusion for “improper use” can swallow the warranty entirely. And the remedy: repair, replacement, credit or refund, with a defined turnaround and a defined freight allocation.

Two clauses are worth more than the rest. The first is a batch failure clause, which allows the buyer to reject an entire production lot, or to require a recall, where the failure rate in the field exceeds a threshold defined by reference to the lot rather than to individual units. Field failure rates are the only real measure of quality, and a warranty that operates unit by unit cannot address a systematic defect.

The second is a spare parts and serviceability obligation. A connected device that fails in year two needs a replacement module, and a factory that has discontinued the module has ended the buyer’s ability to honour the warranty. The agreement should require the factory to hold spares for a defined period after the last shipment, or to give the buyer the last-time-buy opportunity and the documentation needed to have the part made elsewhere.

Firmware raises a question the standard warranty does not answer: is a software defect a quality defect? If the device fails because an over-the-air update bricks a batch, the factory will say the hardware conformed and the buyer will say the product did not work. The quality agreement should define conformity to include the firmware version supplied with the device, and should allocate responsibility for defects introduced by an update the factory supplied.

Remedies: the ladder from rework to termination

When goods fail, the buyer needs a sequence of remedies that escalates without requiring a fresh negotiation at each step. The contract should set out the ladder in advance.

Rework at the factory is the first rung, and it is the right answer for most minor and many major defects. The clause should give the factory a defined period to rework, at its own cost, with a re-inspection at the buyer’s option and at the factory’s expense where the rework fails.

Sorting is the second rung, used where the defect rate is unknown or where the factory cannot rework at scale. A sorting team screens every unit, at the factory’s cost, and the buyer receives only conforming goods. The clause should say who may perform the sorting, where, and who pays for the labour and the delay.

Price reduction is the third rung and the most commonly used in practice, because it is faster than rework and cheaper than rejection. It should be available only by the buyer’s election, not as a default the factory can impose, and it should be calculated by reference to the affected units rather than negotiated as a discount on the whole order.

Rejection and replacement is the fourth. The buyer rejects the lot, the factory replaces it at its own cost including freight, and the buyer’s payment obligation for the rejected lot is suspended. The clause should deal with what happens to the rejected goods — storage, return, destruction — and who bears the cost of each.

Cover purchase is the fifth and the most powerful. The buyer buys conforming goods elsewhere and charges the factory the difference. It only works if the contract provides for it, because it is otherwise a mitigation argument rather than a contractual right, and it only works commercially if the buyer has a second qualified source, which returns the analysis to supply chain design.

Liquidated damages for late delivery and for quality failure are the sixth. Chinese law permits the parties to agree a liquidated sum, and permits a court or tribunal to adjust it where it is disproportionately higher than the actual loss. A figure that is commercially defensible and tied to a real cost — the cost of a delayed launch, the cost of a sorting exercise — is more likely to survive than a round number chosen as a deterrent.

Termination for persistent failure is the last rung. It should be available on a defined number of consecutive failed inspections or a defined failure rate, and it should trigger the tooling recovery, the return of drawings and the transition assistance that the buyer needs to move production. A termination clause without a transition clause leaves the buyer with a right and no product.

Security sits underneath the ladder. A retention withheld from each invoice, a bank guarantee, a parent company guarantee where the factory is part of a group, or a right of set-off against future orders converts a judgment into money. In practice the security determines whether the ladder is worth climbing.

Running the programme: matching effort to risk

Inspection effort should follow risk, and risk is highest when three things are new at once: a new factory, a new product and new tooling. Any one of the three justifies more inspection than a repeat order from a known supplier.

Pre-production inspection checks the materials, the components and the factory’s readiness before the line starts. It is most valuable with a new factory or a new bill of materials, and least valuable on a repeat order where nothing has changed.

During-production inspection, at the point where roughly ten to thirty per cent of the order is complete, checks the process and the early output while there is still time to correct it. It is the only inspection that can prevent a defect rather than merely detect it, and it is the one most often omitted because it requires an inspector on a day that is inconvenient.

Pre-shipment inspection, at completion with the goods packed, is the market standard and the minimum. It samples finished goods against the specification and the golden sample, checks function, appearance, packaging, labelling and quantity, and produces the report that either releases the shipment or stops it. For a first order, a pre-shipment inspection alone is too late.

Container loading inspection verifies quantity, packaging condition and loading method at the point of loading. It is the control against short shipment and against substitution, and it is cheap relative to the loss it prevents.

Production monitoring places an inspector on the line for a period, sometimes with a hundred per cent test of a critical parameter. It is used during ramp-up, after a quality failure, or where the product’s failure mode is a safety event. It costs the most per day and is the only option when the process itself is unstable.

Third-party inspection in China is priced per man-day. Companies typically quote between about USD 250 and USD 500 per man-day depending on location and scope; the large international firms charge more, and competent local firms less. A standard pre-shipment inspection is usually one man-day; a large order, a complex product or a multi-line factory will need more. The cost is trivial against the cost of a rejected container, and the mistake companies make is not the price but the choice of firm: an inspector who also sells sourcing services has a conflict that shows up in the report.

The programme should also include a first article inspection at the start of production, a pilot run before mass production for any new product, and a retained sample from each lot so that a field failure can be compared against what was shipped.

Documents, milestones and timing

StepWho runs itTypical timingWhat foreign companies miss
Quality agreement and specification annexBuyer’s legal and engineeringBefore the first purchase orderNo order of precedence, so the purchase order boilerplate wins
Golden sample signed and sealedBoth partiesBefore the pilot runOne sample only, held by the factory
First article inspectionBuyer or third partyAt the start of productionSkipped when the schedule slips
Pilot run and process auditBuyer’s engineeringBefore mass productionTreated as a formality rather than a gate
Pre-production inspectionThird partyBefore the line startsOrdered only when a problem is already suspected
During-production inspectionThird party or resident inspectorAt roughly ten to thirty per cent completionOmitted because it is inconvenient
Pre-shipment inspectionThird partyAt completion, goods packedTreated as acceptance rather than as evidence
Container loading inspectionThird partyAt loadingNot ordered on the first shipment
Warranty claim process and RMA termsBuyer’s legalBefore the first shipmentNo turnaround time, no freight allocation
Security packageBuyer’s finance and legalBefore the first paymentNo retention, no guarantee, no set-off

Where foreign companies get this wrong

The first failure is buying inspection instead of buying a contract. A company that engages a reputable inspection firm but signs the factory’s standard terms has bought evidence for a case it will lose, because the standard terms define conformity by reference to the factory’s own standard.

The second is the purchase order as the operative contract. The PO is generated by a system, signed by nobody, and contains terms that were drafted for a different product category. It should be a call-off, and the master agreement should say so.

The third is the single sample. A golden sample held only by the factory can be replaced, and a dispute about whether the production unit matches the sample becomes a dispute about a physical object that only one party controls.

The fourth is treating a passed inspection as a release from risk. Passing a pre-shipment inspection at AQL 2.5 is consistent with a field failure rate that will cost more than the order, and the contract must preserve the warranty claim that follows.

The fifth is the warranty mismatch. A buyer that promises twenty-four months and receives twelve has accepted a year of exposure that nobody has priced, and a buyer that promises replacement within seven days and receives a forty-five-day factory turnaround has accepted a service failure it cannot remedy.

The sixth is the absence of a second source. Every remedy in the ladder depends on the buyer having somewhere else to go, and a buyer with a single factory has a right without a remedy.

Practical checklist

Where to go next

Quality control is a supply chain discipline and a contract discipline at the same time, and the contract is the part that survives the relationship. A buyer that gets the documents right can change inspectors, change factories and change countries without renegotiating its position on quality. A buyer that does not will spend its time arguing about what the words meant.

Geason Law Offices advises foreign AI and hardware companies on manufacturing agreements, quality and warranty terms, and supply chain disputes in China. The commercial contracts practice page describes how the firm structures supply agreements, and China manufacturing contracts: OEM, ODM and IP protection covers the IP allocation that sits alongside the quality terms. For the factory selection stage, how to select and vet factories in China sets out the diligence that precedes the contract, and product assembly, testing and final inspection in China deals with the production process in more detail. Companies deciding whether they need a local presence to supervise any of this should read Do I need a Chinese entity?.

Frequently Asked Questions↑ Back to article

What are the different types of quality inspections?

"The main types are: (1) Pre-production inspection (check raw materials and components before production starts), (2) During production inspection (check the process and early output), (3) Pre-shipment inspection (check finished goods before they leave the factory), (4) Container loading inspection (supervise the loading of containers), and (5) Production monitoring (ongoing presence on the line for critical periods).

When should I do inspections?

"At minimum: pre-shipment inspection before every shipment. For new products or new factories: add during-production inspection and possibly pre-production inspection. For high-volume or critical products: consider production monitoring during ramp-up. The more critical the quality and the less you know the factory, the more inspections you need.

How much does quality inspection cost in China?

"Third-party inspection companies typically charge $250-$500 per man-day, depending on the company, location, and type of inspection. A standard pre-shipment inspection is usually one man-day. Production monitoring is charged per day or per week. Some companies also offer all-inclusive packages.

What if the factory fails inspection?

"You have several options: (1) Re-inspection after the factory fixes the issues — this is the most common outcome for minor issues, (2) Rework at the factory — the factory reworks the defective units, (3) Accept with a price reduction — for minor cosmetic issues or defects that do not affect function, (4) Reject the shipment — for serious quality problems, and (5) Sorting — hire a team to sort good units from bad. The manufacturing contract should specify what happens when quality issues are found.

Can I rely on the factory's own QC?

"You should not rely solely on the factory's QC. Factories have their own quality control, but their incentives are different from yours — they want to ship on time and minimise cost, while you want perfect quality. Third-party inspections provide an independent check. That said, a factory with a strong QC system is much better than one without.

What is AQL sampling and how does it work?

AQL (Acceptable Quality Limit) is an internationally recognized sampling standard (ANSI/ASQ Z1.4, equivalent to ISO 2859) that defines how many units to inspect and how many defects are acceptable based on batch size and desired quality level. For most consumer products, General Inspection Level II with AQL 2.5 for major defects and AQL 4.0 for minor defects is standard. AQL provides an objective basis for accepting or rejecting shipments. You should specify AQL levels in your manufacturing contract so both sides agree on what constitutes acceptable quality.

What is the difference between critical, major, and minor defects?

Critical defects are those that could cause safety hazards or legal issues and have zero acceptance — any critical defect means the batch fails. Major defects significantly affect product function or appearance, and a reasonable buyer would likely return the product. Minor defects do not significantly affect function or use and are primarily cosmetic issues. You need to define what counts as each defect type before inspection, using a detailed defect list with examples. This classification is essential for applying AQL standards correctly and for clear communication with the factory about quality expectations.

Geason Law Offices AI Industry Research Group | Reviewed by He Qianggao (Lawyer License No. 14403201310092337, 10+ years of practice)