Receiving stock with AI when orders count cases and inventory counts units
Design a receiving workflow that converts cases, packs and units from approved item data, holds conflicting quantities and prevents duplicate stock movements.
Published by Mentrix Digital ·

Key points
- Have AI extract the stated quantity and unit, retaining the source before conversion.
- Use a packing factor from the approved item master that applies to that receipt.
- Keep ordered, received and posted quantities separate, and test partial receipts and repeated submissions.
Why a quantity of three cannot be posted yet
A fictional wholesaler orders three cases of tea and tracks stock in tins. An accurate reading of the digit three still produces a wrong inventory movement if it is posted as three tins. Capture the document line, product identifier, raw quantity, stated unit and original text. A receiver checks the delivery and labels before confirming what actually arrived.
Tie the conversion to the specific item
The GS1 US guidance on grocery product attributes illustrates a hierarchy of items, packs and cases with quantities at each level. For this example, the item master owner approves four packs per case and six tins per pack. Store the mapping revision and its effective date. The factor of 24 applies to this item and package configuration.
Work a partial receipt from the loading bay to the order
An order for three cases represents 72 tins. The first delivery brings two full cases and one loose pack. The receipt is 2 × 24 + 6 = 54 tins, with 18 still undelivered. If one tin is damaged, record 54 received, 53 available and one quarantined. An authorised buyer decides whether to request a replacement. Keep that decision separate from the original 18 still due.
Hold the receipt when the evidence conflicts
A new carton label says 20 tins while the master says 24. Have AI point to the conflicting line and label, then hold that item for the warehouse lead and buyer to identify the pack version. An approved change gets an effective date. Record the physical version received when both cartons are in circulation. Preserve the historical factor already applied to earlier receipts.
Accept the workflow before enabling stock writes
Run four acceptance cases with sample documents: a full delivery, a split delivery, a label conflict and the same receipt submitted twice. Identify a movement by receipt and line so separate deliveries on one order are accepted, while retrying one receipt posts only once. Trace a posted quantity back to its raw unit, factor, revision and approver. Review sampled incorrect postings and time spent waiting for resolution before extending to more products.
Use redacted purchase orders and receipts to scope matching rules and acceptance cases with our team. Custom AI Solutions for Business →
Sources
- Standards guidance · GS1 US: Guidance for Sharing Product Attributes via GDSN in Retail Grocery · Accessed


