Receive the EDI 856 Advance Ship Notice from the supplier via your EDI channel; parse the BSN segment for shipment identification and ship date, and the DTM segment for expected delivery date.
Traverse the hierarchical HL loops: the Shipment level (HL with ShipmentCode), Order level (HL with OrderCode), Pack level (HL with PackCode referencing carton SSCC), and Item level (HL with ItemCode) to build a structured ASN object.
Extract from Item-level SN1 segments the ordered quantity and unit of measure, and from PID/LIN segments the product identifier (UPC, GTIN, or SKU); validate each item against your item master in the WMS.
Import the parsed ASN into the WMS (e.g., via Manhattan Active WMS ASN API or Blue Yonder WMS inbound receipt API) to create an expected receipt record; the WMS uses this to pre-allocate putaway locations and stage receiving resources.
When the physical shipment arrives, match received SSCC labels against the ASN to confirm quantities; discrepancies (overages, shortages, item substitutions) must be recorded as receipt exceptions and communicated back to the supplier.
Known gotchas
SSCC labels on cartons must match the SSCC codes in the EDI 856 Pack-level HL loops exactly; mismatches between physical labels and ASN data are common when suppliers print labels at different stages of pick/pack — build a reconciliation step that handles SSCC not found in ASN.
EDI 856s from different suppliers may use different HL hierarchy structures; some omit the Pack level entirely and go straight from Order to Item — your parser must handle both structures rather than assuming a fixed depth.
An ASN is a notice, not a binding receipt; the WMS should not close purchase order lines based solely on ASN quantity — only confirmed receipt scanning closes PO lines to prevent phantom inventory.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp