
Hapag Lloyd 322 Terminal Operations and Intermodal Ramp Activity
Hapag Lloyd · X12 004010
The Hapag Lloyd 322 is the terminal operations message reporting container gate and yard activity.
Hapag Lloyd’s published 322 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
17 of 17 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
Q5
Status Details Q5
pos 016
Required
max —
N7 Looprequired
N7
Equipment Details N7
pos 020
Required
max —
V4
Cargo Location Reference V4
pos 030
Optional
max —
DTM
Date Time Reference DTM
pos 040
Optional
max 2
M7
Seal Numbers M7
pos 050
Optional
max 5
W09
Equipment And Temperature W09
pos 060
Optional
max —
W2
Equipment Identification W2
pos 070
Required
max —
NA
Cross Reference Equipment NA
pos 080
Optional
max 30
V1
Vessel Identification V1
pos 110
Optional
max —
R4 Looprequired
R4
Port Or Terminal R4
pos 120
Required
max —
DTM
Date Time Reference DTM
pos 130
Optional
max 15
N1 Loop
N1
Name N1
pos 150
Required
max —
N9
Reference Identification N9
pos 170
Required
max 10
L0 Loop
L0
Line Item Quantity And Weight L0
pos 180
Required
max —
H1
Hazardous Material H1
pos 200
Optional
max 3
SE
Transaction Set Trailer SE
pos 220
Optional
max —
Validate your 322
Paste or upload a document and check it against Hapag Lloyd’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on Hapag Lloyd’s 322 in days, not months
Connect this guide to your accounting system and test with Hapag Lloyd yourself, or leave the mapping and the test cycle to us, at no extra charge.