Skip to main content

Quality Control

QC gates two critical handoffs: fabric as it enters the building (before it is issued to cutting) and garments as they come off production (before they become sellable finished goods). A report is created, reviewed, and then posted — and posting is what drives stock disposition and the GL effect in Finindex.

What QC covers

Flow

Fabric QC: create, review, post

Fabric QC reports

Create a fabric QC report

lot_id
string
required
The inbound stock lot being inspected.
inspected_quantity
number
required
Quantity examined, in the lot’s unit of measure.
passed_quantity
number
required
Quantity that met spec; the remainder is treated as failed.
defects
array
Defect records (type, severity, quantity) found during inspection.
Response (201):

Post a fabric QC report

Posting locks the report and applies the disposition: passed quantity becomes usable stock, failed quantity is quarantined or returned, and the inventory effect is journaled.
Response (200):
Posting is irreversible. A report is editable only in draft — review defects and pass/fail quantities carefully before posting, since the failed quantity is removed from usable stock.

Garment QC reports

Same lifecycle as fabric QC — create, review against a garment spec, post — but graded against a measurement template and applied to finished goods.
A garment report references a garment QC spec (/quality-control/garment-qc-specs) that defines measurement points and tolerances. Posting a passed report moves garments into finished goods, making them eligible for Warehouse Outbound allocation.

Inspections and defects

A lighter-weight inspection model for ad-hoc checks, each with attachable defect records.

How QC posting hits the GL

1

Pass

Passed quantity is released to usable stock (fabric) or finished goods (garments) — no loss entry.
2

Fail

Failed quantity is written down to quarantine, returned to the supplier, or scrapped. The value adjustment posts to Finindex as an inventory write-down or supplier claim.
3

Audit

The returned ledger_entry_id links the QC report to its stock ledger entry and the corresponding journal entry in Finindex.
See the API Reference tab for the full endpoint list under the Quality Control tag.