Build a retail EDI 856 Advance Ship Notice (ASN) generator and submit it to a trading partner via Stedi after warehouse dispatch

domain: stedi.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Trigger ASN generation from your WMS or shipping system when a shipment is confirmed — capture shipDate, carrierCode (e.g., 'UPS', 'FDXE'), trackingNumber, BOL number, and packed carton contents (quantity per SKU per carton/pallet).
  2. Map the shipment data to the JEDI JSON structure for X12 856: BSN segment (shipmentIdentificationNumber, date, time, hierarchicalStructureCode), HL loops for shipment > order > item hierarchy, TD1 for carrier/pack details, TD5 for routing, and REF segments for PO and order references.
  3. POST the JEDI JSON to Stedi's translate endpoint with the 856 Guide ID to produce X12 EDI text; review the translated output for correct HL nesting (HL01 shipment, HL02 order, HL03 item parent-child references).
  4. Send the translated 856 via the Stedi outbound API to the retailer's trading partner profile — many retailers require the ASN to be transmitted before or at the time of physical delivery.
  5. Await and process the retailer's 997 Functional Acknowledgment — an accepted 997 does not mean the ASN was reconciled against the PO; monitor for any subsequent 824 Application Advice indicating content errors.
  6. Store the BSN02 shipmentIdentificationNumber and the PO references in your order management system so the 810 invoice can cross-reference the same shipment.

Known gotchas

Related routes

Transmit an EDI 856 Advance Ship Notice (ASN) to a retail trading partner
logistics-general · 6 steps · unrated
Submit an inbound Advanced Ship Notice (ASN) as an EDI 856 transaction and process it in a WMS to pre-stage receiving
manh.com · 5 steps · unrated
Onboard a new retail trading partner and transmit an EDI 850 Purchase Order via the Stedi EDI platform
stedi.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans