Table of contents
Supplier's remote warehouses or third-party warehouse Partners use warehouse shipping advices to communicate to the supplier that they have shipped the purchased products to the buyer’s location.
Contact your TraceLink Services representative for more information about integrating with this message.
- Message Type: MPC_WAREHOUSE_SHIP_ADVICE (Warehouse Shipping Advice)
- X12 Format: 945
- Transform Names:
- B2B_EDI_X12_945_WHS_ShipAdvice_IB_V3
- B2B_EDI_X12_945_WHS_ShipAdvice_OB_V1

Input Element | Occurs | Length | Description | Example | |||
---|---|---|---|---|---|---|---|
ISA | – | Required.ISA interchange envelope. | – | ||||
ISA01 | 2/2 | Required.Qualifier for authorization control number in ISA02. Valid values:
| 00 | ||||
ISA02 | 10/10 | Required.Information used for additional identification or authorization of the interchange sender or the data in the interchange/ 10 spaces a valid entry. | – | ||||
ISA03 | 2/2 | Required.Qualifier for security information in ISA04. Valid values:
| 00 | ||||
ISA04 | 10/10 | Required.Identifies security information about the interchange sender or data. | – | ||||
ISA05 | 2/2 | Required.Interchange sender partner ID qualifier. Valid values:
| 07 | ||||
ISA06 | 15/15 | Required.EDI sender ID mapping to file control header and to ServiceLinkId (see row 23). | 7777776067344 | ||||
ISA07 | 2/2 | Required.Interchange receiver partner ID qualifier. Valid values:
| 01 | ||||
ISA08 | 15/15 | Required.EDI receiver ID mapping to file control header. | 888888404358877 | ||||
ISA09 | 6/6 | Required.Interchange date in 6 char YYMMDD format. | 231020 | ||||
ISA10 | 4/4 | Required.Interchange time in 4 char HHMM format. | 1420 | ||||
ISA11 | 1/1 | Required.Repetition separator. Delimiter that separates repeated occurrences of a data element or composite data structure. Must be different than the data element separator, component separator, and segment terminator. | U | ||||
ISA12 | 5/5 | Required.Interchange control version number. Valid value is 00501 . | 00501 | ||||
ISA13 | 9/9 | Required.Interchange Control Number for file control header. | 0000000000619827 | ||||
ISA14 | 1/1 | Required.Interchange level acknowledgment requested. Valid values:
| 0 | ||||
ISA15 | 1/1 | Required.Indicates whether the interchange is for production, test, or information purposes. Valid values:
| P | ||||
ISA16 | 1/1 | Required.Component element separator. Delimiter that separates data elements within a composite data structure. Must be different than the data element separator and segment terminator. | > | ||||
GS | – | GS group functional envelope. Child of ISA. Only one GS group expected per interchange. | – | ||||
GS01 | 2/2 | Required.GS group function code. Valid value is SW - Ship Advice. | SW | ||||
GS02 | 2/15 | Required.Application sender's code. | 2222224043588 | ||||
GS03 | 2/15 | Required.Application receiver's code. | TRACELINK | ||||
GS04 | 8/8 | Required.Current date stamp in 8 char X12 date format YYYYMMDD. | 20301020 | ||||
GS05 | 4/8 | Required.Current time stamp in 6 char X12 time format HHMMSS. | 142000 | ||||
GS06 | 1/9 | Required.Group control ID number. | 619827 | ||||
GS07 | 1/2 | Required.Responsible agency code. Valid values:
| X | ||||
GS08 | 1/12 | Required.X12 message version code. | 005010 | ||||
ST | – | ST transaction set envelope. Child of GS group. Only one ST transaction expected. | – | ||||
ST01 | 3/3 | Required.Transaction set identifier code. | 850 | ||||
ST02 | 4/9 | Required.Transaction set ID number. Counter for each ST segment beginning with 1. | 0001 | ||||
W06 | – | Required.Warehouse shipment identification. Child of ST transaction set. | – | ||||
W0601 | 1/1 | Required.Reporting code specifying the basis used when reporting shipment information. Valid values:
| N | ||||
W0602 | 1/22 | Depositor order number. | – | ||||
W0603 | 8/8 | Date in YYYYMMDD format. | 20230916 | ||||
W0604 | 1/30 | Shipment identification number assigned by the shipper. | 2114 | ||||
W0606 | 1/22 | Purchase order number. | 4500003288 | ||||
N1 | – | Name segment loop for:
| – | ||||
N101 | 2/3 | Entity identifier code for party identifier and address information for:
Valid value:
| ST | ||||
N102 | 1/60 | Name. | Wholesale Inc | ||||
N103 | 1/2 | Identifier code qualifier. ![]()
| 11 | ||||
N104 | 2/80 | Ship to party identifier, as qualified by N103. | 3333331013655 | ||||
N3 | – | N3: Address. Child of Ship to N1 Name segment. | – | ||||
N301 | 1/55 | Street address 1. | 555 Neelan Road | ||||
N302 | 1/55 | Street address 2. | Suite 123 | ||||
N4 | – | N4: Geographic Location. Child of ship to N1 name segment. | – | ||||
N401 | 2/30 | City name. | Sacramento | ||||
N402 | 2/2 | State or province code. Code (Standard state/province) as defined by appropriate government agency. | CA | ||||
N403 | 3/15 | Postal code. Code defining international postal zone code excluding punctuation and blanks (zip code for United States). | 95833 | ||||
N404 | 2/3 | Country code. | US | ||||
N405 | 1/2 | Placeholder for future use of SGLN. | – | ||||
N406 | 1/30 | Origin or destination shipping location ID. SGLN number. | – | ||||
LX | – | Transaction set line number loop. | – | ||||
LX01 | 1/6 | Transaction set line number. | 1 | ||||
N9 | – | Extended reference information. | – | ||||
N901 | 2/3 | Reference identification qualifier. Valid values:
| PO | ||||
N902 | 1/50 | Reference identification. | K018293-00010 | ||||
N903 | 1/45 | Free form description. | TEST ITEM1 | ||||
N904 | 8/8 | Date in YYYYMMDD format. | 20231001 | ||||
N905 | 4/8 | Time in HH:MM:SS format. | – | ||||
W12 | – | Warehouse item detail loop. | – | ||||
W1201 | 2/2 | Shipment or order status code. | A | ||||
W1202 | 0/15 | Quantity ordered This is the total quantity in the ordered. | 400 | ||||
W1203 | 1/10 | Number of units shipped. This is the total quantity delivered. | 395 | ||||
W1204 | 1/9 | Quantity difference. This records the difference between the delivery or shipment quantity and the quantity actually shipped. | 5 | ||||
W1205 | 2/2 | Unit or basis for measurement code. ![]()
| CA | ||||
W1206 | 12/12 | U.P.C. Case code. | 02 | ||||
W1207 | 2/2 | Product or service ID qualifier. Valid values:
| IN | ||||
W1208 | 1/48 | Product or service ID. | 100021 | ||||
W1209 | 1/12 | Warehouse lot number. | 82943 | ||||
W1210 | 1/10 | Weight. | 20000 | ||||
W1211 | 1/2 | Weight Qualifier. Value values:
| A3 | ||||
W1212 | 1/1 | Weight Unit Code. Valid values:
Not Supported:
| L | ||||
W03 | – | Total shipment information (Warehouse) | – | ||||
W301 | 1/10 | Number of units shipped. | N | ||||
W302 | 1/10 | Weight. | N | ||||
W303 | 2/2 | Unit or basis for measurement code. Valid values:
| N | ||||
CTT | – | CTT-Transaction Totals. | – | ||||
CTT01 | 1/6 | Total number of line items in the transaction set. | 15 | ||||
SE | – | ST … SE transaction set trailer envelope. Child of GS group. Only one ST transaction expected. | – | ||||
SE01 | 1/10 | Total count of segments in ST … SE transaction set including ST and SE segments. | 10 | ||||
SE02 | 4/9 | Transaction set control number. | 0001 | ||||
GE | – | GS … GE functional group trailer envelope. Child of ISA interchange. Only one GS group expected. | – | ||||
GE01 | 1/6 | Number of transaction sets in functional group. | 5 | ||||
GE02 | 1/9 | Functional group control number. | 619827 | ||||
IEA | – | ISA … IEA interchange control trailer envelope. Only one interchange expected per transmission. | – | ||||
IEA01 | 1/5 | Number of functional groups in interchange. | 1 | ||||
IEA02 | 9/9 | Interchange control number. | 0000000000619827 |

ISA*00* *00* *01*FROM *ZZ*TO *071214*1406*U*00204*810000263*0*T*>
GS*SW*5139907700*2038334001*20021104*14051234*31*X*005010
ST*945*000310001
W06*N**20020916*2114**PO-2394750
N1*ST*SHIP TO PARTY (WE/SH)*92*0004000050
N3*Central 101*Local, WST-190. E
N4*Stein*GL*4AA332*CH
N1*BY*Wholesale Inc*9*0001000285
N3*7956 VICTORY*Suite 2
N4*BASEL*GL*4002*CH
N1*BT*Wholesale Inc*11*3333331013655
N3*555 Neelan Road*Suite 123
N4*Sacramento*CA*95833*US
N1*SU*SUPPLIER/VENDOR (LF/SU)*91*0001000286
N3*Stella Maris*Condado Ave 14
N4*San Juan*PR*00902*US
N1*SF*SUPPLIER/VENDOR (LF/SU)*91*0001000288
N3*Stella Maris*Warehouse 14A
N4*San Juan*PR*00902*US
N1*CA*CARRIER PARTY (SP)*91*00045455656
N3*Stree 1
N4*City*TK*3454676*JP
N1*CA*2 CARRIER PARTY (SP)*91*22200090056
N3*Stree 10
N4*2 City*MH*22000*MX
LX*1
N9*2I*K018293*TEST ITEM1*20230205
W12*CL*110*120*15*EA*UPC*AV*SUPPLIER-339408*LT-19284*6600*A3*L
W03*920*46600*01
SE*17*000310001
GE*1*31
IEA*1*000000031
