
Hapag Lloyd 301 Confirmation (Ocean)
Hapag Lloyd · X12 004010
The Hapag Lloyd 301 is the ocean booking confirmation a carrier sends back to a 300 request.
Hapag Lloyd’s published 301 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
12 of 12 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
B1
Beginning Segment For Booking Or Pick Up Delivery B1
Example: B1*HLCU*14549844**N~
pos 020
Required
max —
Y3
Space Confirmation Y3
Example: Y3*40114000*HLCU*20130402*20130430****1200*SB~
pos 040
Required
max —
Y4 Loop
Y4
Container Release Y4
Example: Y4*14217407***MTR011*1*4532~
pos 050
Required
max —
N1 Loop
N1
Name N1
pos 060
Required
max —
R4 Looprequired
R4
Port Or Terminal R4
Examples:
R4*R*D*5301*HOUSTON, TX*US*BARBOU017~
R4*L*D*5301*HOUSTON, TX*US*BARBOU003~
pos 110
Required
max —
DETAIL
LX Looprequired
LX
Assigned Number LX
Example: LX*1~
pos 010
Required
max —
N7
Equipment Details N7
Examples:
N7*HLXU*3720639********************2232~
N7*UNKN*0000001********************2200~
pos 020
Optional
max —
W09
Equipment And Temperature W09
Example: W09*CZ*-6.6*CE*****70*10~
pos 021
Optional
max —
K1
Remarks K1
Examples:
K1*CARBON DIOXYD IN PCT*020~
K1*OXYGEN IN PCT*010~
K1*NITROGEN IN PCT*030~
K1*SPECIAL-ATMOSPHERE*CONTROLLED ATMOSPHERE~
K1*REMARKS1*REMARKS2~
K1*REMARKS3*REMARKS4~
pos 030
Optional
max 10
V1
Vessel Identification V1
Example: V1*8406274*ROME EXPRESS**96E16*HLCU***L~
pos 080
Optional
max 2
SUMMARY
SE
Transaction Set Trailer SE
pos 010
Optional
max —
Validate your 301
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 301 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.