
UPS 940 Warehouse Shipping Order
UPS · X12 005010
The UPS 940 is the warehouse shipping order a brand sends to tell its warehouse or 3PL what to ship.
UPS’s published 940 specification, rendered as an interactive guide. Expand any segment to see its elements, data types, lengths and accepted codes — then validate your own document against it below.
Specification
20 of 20 segments
HEADING
ST
Transaction Set Header ST
pos 0100
Optional
max —
W05
Shipping Order Identification W05
pos 0200
Required
max —
0100 Loop
N1
Party Identification N1
pos 0400
Required
max —
N2
Additional Name Information N2
pos 0500
Optional
max 2
N3
Party Location N3
The N3 segment can occur twice where
N301 (1) = Street Address 1
N302 (1) = Street Address 2
N301 (2) = Street Address 3
pos 0600
Optional
max 2
N4
Geographic Location N4
pos 0700
Optional
max —
PER
Administrative Communications Contact PER
pos 0800
Optional
max 5
N9
Extended Reference Information N9
pos 0900
Optional
max 10
G62
Date Time G62
pos 1100
Optional
max 10
NTE
Note Special Instruction NTE
pos 1200
Optional
max —
W66
Warehouse Carrier Information W66
pos 1400
Optional
max —
DETAIL
0300 Loop
LX
Transaction Set Line Number LX
pos 0050
Required
max —
0310 Loop
W01
Line Item Detail Warehouse W01
pos 0200
Required
max —
G69
Line Item Detail Description G69
pos 0300
Optional
max 5
N9
Extended Reference Information N9
pos 0400
Optional
max 200
NTE
Note Special Instruction NTE
pos 0450
Optional
max —
W20
Line Item Detail Packing W20
pos 0500
Optional
max 3
AMT
Monetary Amount Information AMT
pos 0800
Optional
max —
G62
Date Time G62
pos 0900
Optional
max 10
SUMMARY
SE
Transaction Set Trailer SE
pos 0200
Optional
max —
Validate your 940
Paste or upload a document and check it against UPS’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on UPS’s 940 in days, not months
Connect this guide to your accounting system and test with UPS yourself, or leave the mapping and the test cycle to us, at no extra charge.