UPS
/
Warehouse Shipping Advice
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from UPS. Contact UPS for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
UPS logo

X12 945 Warehouse Shipping Advice

X12 Release 5010
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI sample
  • Sample
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/ups/warehouse-shipping-advice/01H28RMTEBZM0F5KJAR8GYG5SZ
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
0100
Transaction Set Header
Max use 1
Required
W06
0200
Warehouse Shipment Identification
Max use 1
Required
0100 Loop
N9
0900
Extended Reference Information
Max use 10
Optional
G62
1100
Date/Time
Max use 5
Optional
NTE
1200
Note/Special Instruction
Max use 20
Optional
W27
1300
Carrier Details (Warehouse)
Max use 1
Optional
W28
1400
Consolidation Information
Max use 1
Optional
G72
1550
Allowance or Charge
Max use 5
Optional
detail
0300 Loop
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1
Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)
00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10
ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)
00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10
ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15
ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15
ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format
ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format
ISA-11
I65
Repetition Separator
Required
String (AN)
Min 1Max 1
^
Repetition Separator
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
00501
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1
0
No Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
ISA-15
I14
Interchange Usage Indicator
Required
Identifier (ID)
Min 1Max 1
I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1
>
Component Element Separator

Functional Group Header

RequiredMax use 1
Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)
SW
Warehouse Shipping Advice (945)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15
GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9
GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2
T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)
005010
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003

Heading

ST
0100
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
945
Warehouse Shipping Advice
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
W06
0200
Heading > W06

Warehouse Shipment Identification

RequiredMax use 1
Example
If either Master Reference (Link) Number (W06-07) or Link Sequence Number (W06-08) is present, then the other is required
W06-01
514
Reporting Code
Required
Identifier (ID)
F
Full Detail
W06-02
285
Depositor Order Number
Optional
String (AN)
Min 1Max 22
Usage notes
Optional
Date (DT)
CCYYMMDD format
Usage notes
W06-04
145
Shipment Identification Number
Optional
String (AN)
Min 1Max 30
W06-05
531
Agent Shipment ID Number
Optional
String (AN)
Min 1Max 12
W06-06
324
Purchase Order Number
Optional
String (AN)
Min 1Max 22
Usage notes
W06-07
474
Master Reference (Link) Number
Optional
String (AN)
Min 1Max 22
Usage notes
W06-08
472
Link Sequence Number
Optional
Numeric (N0)
Min 6Max 6
Usage notes
W06-09
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3
W06-11
640
Transaction Type Code
Optional
Identifier (ID)
Min 2Max 2
W06-12
306
Action Code
Optional
Identifier (ID)
Min 1Max 2
0100 Loop
RequiredMax >1
N1
0400
Heading > 0100 Loop > N1

Party Identification

RequiredMax use 1
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
BT
Bill-to-Party
SF
Ship From
SO
Sold To If Different From Bill To
ST
Ship To
WH
Warehouse
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N2
0500
Heading > 0100 Loop > N2

Additional Name Information

OptionalMax use 1
Example
Required
String (AN)
Min 1Max 60
Optional
String (AN)
Min 1Max 60
N3
0600
Heading > 0100 Loop > N3

Party Location

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
0700
Heading > 0100 Loop > N4

Geographic Location

OptionalMax use 1
Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
0100 Loop end
N9
0900
Heading > N9

Extended Reference Information

OptionalMax use 10
Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Min 2Max 3
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
G62
1100
Heading > G62

Date/Time

OptionalMax use 5
Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
G62-01
432
Date Qualifier
Optional
Identifier (ID)
04
Purchase Order Date
09
Process Date
10
Requested Ship Date/Pickup Date
11
Shipped on This Date
17
Estimated Delivery Date
37
Ship Not Before Date
38
Ship Not Later Than Date
85
Date Issued
Optional
Date (DT)
CCYYMMDD format
NTE
1200
Heading > NTE

Note/Special Instruction

OptionalMax use 20
Example
NTE-01
363
Note Reference Code
Optional
Identifier (ID)
BOL
Bill of Lading Note
COD
Corrected Data
CRK
Closing Comment
GEN
Entire Transaction Set
PKG
Packaging Instructions
WHI
Warehouse Instruction
NTE-02
352
Description
Required
String (AN)
Min 1Max 80
W27
1300
Heading > W27

Carrier Details (Warehouse)

OptionalMax use 1
Example
At least one of Standard Carrier Alpha Code (W27-02) or Routing (W27-03) is required
W27-01
91
Transportation Method/Type Code
Required
Identifier (ID)
H
Customer Pickup
M
Motor (Common Carrier)
T
Best Way (Shippers Option)
W27-02
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4
Usage notes
W27-03
387
Routing
Optional
String (AN)
Min 1Max 35
Usage notes
W27-04
146
Shipment Method of Payment
Optional
Identifier (ID)
CC
Collect
PP
Prepaid (by Seller)
PU
Pickup
TP
Third Party Pay
W27-06
206
Equipment Initial
Optional
String (AN)
Min 1Max 4
W28
1400
Heading > W28

Consolidation Information

OptionalMax use 1
Example
W28-01
604
Consolidation Code
Required
Identifier (ID)
Min 1Max 1
W28-08
598
Bill of Lading/Waybill Number
Optional
String (AN)
Min 1Max 25
G72
1550
Heading > G72

Allowance or Charge

OptionalMax use 5
Example
G72-01
340
Allowance or Charge Code
Required
Identifier (ID)
504
Freight
G72-02
331
Allowance or Charge Method of Handling Code
Required
Identifier (ID)
06
Charge to be Paid by Customer
G72-08
360
Allowance or Charge Total Amount
Optional
Numeric (N2)
Min 1Max 15
Heading end

Detail

0300 Loop
OptionalMax >1
LX
0050
Detail > 0300 Loop > LX

Transaction Set Line Number

RequiredMax use 1
Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6
MAN
0100
Detail > 0300 Loop > MAN

Marks and Numbers Information

OptionalMax use >1
Example
If either Marks and Numbers Qualifier (MAN-04) or Marks and Numbers (MAN-05) is present, then the other is required
If Marks and Numbers (MAN-06) is present, then Marks and Numbers (MAN-05) is required
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
Min 1Max 2
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
MAN-03
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-04
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
Min 1Max 2
MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
0310 Loop
OptionalMax >1
W12
0200
Detail > 0300 Loop > 0310 Loop > W12

Warehouse Item Detail

RequiredMax use 1
Example
At least one of U.P.C. Case Code (W12-06) or Product/Service ID Qualifier (W12-07) is required
If either Product/Service ID Qualifier (W12-07) or Product/Service ID (W12-08) is present, then the other is required
If either Product/Service ID Qualifier (W12-17) or Product/Service ID (W12-18) is present, then the other is required
If either Product/Service ID Qualifier (W12-21) or Product/Service ID (W12-22) is present, then the other is required
W12-01
368
Shipment/Order Status Code
Required
Identifier (ID)
Min 2Max 2
W12-02
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
W12-03
382
Number of Units Shipped
Optional
Decimal number (R)
Min 1Max 10
W12-04
383
Quantity Difference
Optional
Decimal number (R)
Min 1Max 9
W12-05
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
W12-06
438
U.P.C. Case Code
Optional
String (AN)
Min 12Max 12
W12-07
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
W12-08
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
W12-09
451
Warehouse Lot Number
Optional
String (AN)
Min 1Max 12
W12-17
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
W12-18
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
W12-21
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
W12-22
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
G69
0300
Detail > 0300 Loop > 0310 Loop > G69

Line Item Detail - Description

OptionalMax use 5
Example
G69-01
369
Free-form Description
Required
String (AN)
Min 1Max 45
N9
0400
Detail > 0300 Loop > 0310 Loop > N9

Extended Reference Information

OptionalMax use 200
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
4B
Shipment Origin Code
ACC
Status
BV
Purchase Order Line Item Identifier (Buyer)
L2
Location on Product Code
LI
Line Item Identifier (Seller's)
LT
Lot Number
PO
Purchase Order Number
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
Optional
Date (DT)
CCYYMMDD format
Usage notes
LS
1050
Detail > 0300 Loop > 0310 Loop > LS

Loop Header

OptionalMax use 1
Example
LS-01
447
Loop Identifier Code
Required
String (AN)
Min 1Max 6
0340 Loop
OptionalMax >1
LX
1100
Detail > 0300 Loop > 0310 Loop > 0340 Loop > LX

Transaction Set Line Number

RequiredMax use 1
Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6
N9
1200
Detail > 0300 Loop > 0310 Loop > 0340 Loop > N9

Extended Reference Information

OptionalMax use >1
Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
SE
Serial Number
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
0340 Loop end
LE
1650
Detail > 0300 Loop > 0310 Loop > LE

Loop Trailer

OptionalMax use 1
Example
LE-01
447
Loop Identifier Code
Required
String (AN)
Min 1Max 6
0310 Loop end
0300 Loop end
Detail end

Summary

W03
0100
Summary > W03

Total Shipment Information (Warehouse)

OptionalMax use 1
Example
If either Weight (W03-02) or Unit or Basis for Measurement Code (W03-03) is present, then the other is required
If either Volume (W03-04) or Unit or Basis for Measurement Code (W03-05) is present, then the other is required
W03-01
382
Number of Units Shipped
Required
Decimal number (R)
Min 1Max 10
W03-02
81
Weight
Optional
Decimal number (R)
Min 1Max 10
W03-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
W03-04
183
Volume
Optional
Decimal number (R)
Min 1Max 8
W03-05
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
SE
0200
Summary > SE

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10
SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Summary end

Functional Group Trailer

RequiredMax use 1
Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6
GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Interchange Control Trailer

RequiredMax use 1
Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5
IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
EDI Samples

Sample

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231101*0211*^*00501*000000001*0*T*>
GS*SW*SENDERGS*RECEIVERGS*20231101*021111*000000001*X*005010
ST*945*0001
W06*F*7947427*20160203*653526*203702256128*PO00035085*0802256128*999999****OD
N1*ST*Trudell Med Marketing*91*S174327
N3*2350 Guenette St
N4*SAINT-LAURENT*QC*H4R 2H2*CA
N1*SO*Trudell Med Marketing*91*B153209
N3*785 Third St
N4*London*ON*N5V 5J7*CA
N1*WH*UPS SUPPLY CHAIN SOLUTIONS*54*2037
N3*11811 Landon Dr
N4*Mira Loma*CA*91752*US
G62*10*20160202
G62*11*20160203
G62*09*20160202
NTE*COD*5161.50
NTE*GEN*CARRIER#
NTE*GEN*FREIGHT TERMS: COLLECT
W27*M*PU*Ground COLLECT*CC
W28*C*******203702256128
G72*504*06******123
LX*1
MAN*CP*353546185*0.1
MAN*CP*353546185*0.1
MAN*S*TOTAL SHIPPING COST*0.2
W12*CC*1700*1700*0*EA**VN*B9438*3178934********PJ*20210101
G69*8" Smallbore Ext Set w/Clave Clamp
N9*LI*11
W12*CC*300*300*0*EA**VN*B9438*3169646********PJ*20201201
G69*8" Smallbore Ext Set w/Clave Clamp
N9*LI*11
W12*CC*200*200*0*EA**VN*B9857*3180520
G69*19" EXT SET W/FLOW CONTROLLER CLAVE
N9*LI*12
W12*CC*100*100*0*EA**VN*B9857*3165696
G69*19" EXT SET W/FLOW CONTROLLER CLAVE
N9*LI*12
W12*CC*3500*3500*0*EA**VN*CH6007*3173384********PJ*20201201
G69*Male/Female Dead End Cap
N9*LI*16
W12*CC*200*200*0*EA**VN*B4154*3179918********PJ*20210101
G69*3 Gang 3-Way Stopcocks w/Rotating
N9*LI*32
W12*CC*150*150*0*EA**VN*B4154*3165930********PJ*20201201
G69*3 Gang 3-Way Stopcocks w/Rotating
N9*LI*32
W12*CC*600*600*0*EA**VN*CH3034*3158473********PJ*20210101
G69*5" (13 CM) APPX 1.5 ML BAG SPIKE AD
N9*LI*35
W03*6750*5889*LB
SE*50*0001
GE*1*000000001
IEA*1*000000001

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.