100% Offline Reference X12 856 ASN

ASC X12 856 Advance Ship Notice (S → O → T → P → I HL Tree)

Retail chargebacks on 856 ASNs almost always stem from inverted HL packaging trees (SOPI vs. SOIP) or orphan HL-02 pallet/carton parent IDs.

Pick-and-Pack (S-O-T-P-I) vs. Standard Pack (S-O-I-P)

HL-03 CodeLevel NameTypical Child Segments
SShipmentTD1 (Weight/Cartons), TD5 (SCAC Carrier), TD3 (Trailer #), REF*BM (BOL), DTM*011 (Shipped), N1*ST/SF.
OOrderPRF (Purchase Order Number from 850 BEG-03), REF*IA (Vendor #).
TTare (Pallet)MAN*GM*0010... (20-digit GS1-128 SSCC-18 Pallet Barcode).
PPack (Carton)MAN*GM*0000... (20-digit GS1-128 SSCC-18 Carton Barcode).
IItemLIN (UPC/SKU), SN1 (Units Shipped inside parent Carton/Order).
ST*856*0001~
BSN*00*ASN-77201*20261114*1615*0001~         <-- BSN-05 = 0001 (Pick-and-Pack Structure)
HL*1**S~
TD5*B*2*UPSN*M~
REF*BM*BOL998811~
DTM*011*20261114~
N1*ST*MIDWEST DC #14*92*0014~
HL*2*1*O~
PRF*PO-884920~
HL*3*2*P~
MAN*GM*00001234560000000018~                 <-- SSCC-18 Carton Label (Mod-10 Check Digit 8)
HL*4*3*I~
LIN**UP*012345678905*VN*SKU-4410~
SN1**12*CA~
CTT*4~                                       <-- Total HL segments in 856 = 4
SE*16*0001~
EdiPrism Offline Inspector — Zero Network Calls
ASC X12 856 Advance Ship Notice (ASN) Guide: SOTPI HL Hierarchy & MAN GS1-128 — EdiPrism inside JetBrains IDE with EdiPrism

Frequently Asked Engineering Questions

What does CTT-01 count in an 856 ASN?

In an X12 856 transaction, CTT-01 equals the total number of HL segments across the entire transaction set (not just Item-level HLs).

Inspect, Diff, Validate & Scrub This Payload Offline in Your JetBrains IDE

Never paste regulated healthcare PHI (837/835/271) or supply-chain payloads (850/ORDERS) into browser parsers. EdiPrism X12 EDIFACT runs 100% air-gapped inside IntelliJ IDEA, PyCharm, DataGrip, Rider, GoLand, and WebStorm with a free core tier and a 14-day [Pro] trial.

Install Free from JetBrains Marketplace → Read Air-Gap Security Architecture