
Maersk 304 Shipping Instructions
Maersk · X12 004010
Maersk’s published 304 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
44 of 44 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
B2
Beginning Segment For Shipment Information Transaction B2
B2*PP*MAEU*US *512605107*K*CC*2*1****CHK~
pos 020
Required
max —
B2A
Set Purpose B2A
B2A*00~
pos 030
Optional
max —
N9
Reference Identification N9
N9*BM*MAEU601425395~
N9*BN*601425395~
N9*FN*512605107~
N9*SI*11201638~
N9*CG*0902596389~
pos 080
Optional
max 100
V1
Vessel Identification V1
V1*9342516*MAERSK ALFIRK*LR*01103*MAEU***L~
pos 090
Optional
max 2
M0
Letter Of Credit Reference M0
M0*LC*20150101*20150201*20150301~
pos 110
Optional
max —
CUR
Currency CUR
CUR*CY*USD~
pos 115
Optional
max —
N1 Loop
N1
Name N1
N1*SH*FOURSTAR GROUP INC*25*123456789~
N1*CN*WAL-MART STORES, INC.,*25*345287597~
N1*FW*EXPEDITORS (MALAYSIA) SDN. BHD.*25*137584937~
N1*N1*FEDEX TRADE NETWORKS*25*785946385~
pos 160
Required
max —
N2
Additional Name Information N2
N2*SHN201*SHN202~
pos 170
Optional
max 2
N3
Address Information N3
N3*12FLOOR, NO 54, SEC 4*MIN SHENG EAST ROAD~
pos 180
Optional
max 2
N4
Geographic Location N4
N4*CHARLOTTE*NC*28217*US~
pos 190
Optional
max —
G61
Contact G61
G61*IC*Hysmith, Bonnie*EM*bonnie.hysmith@maersk.com~
pos 195
Optional
max 3
R4 Loop
R4
Port Or Terminal R4
R4*R*UN*USLGB*LONG BEACH*US***CA~
R4*D*UN*NLRTM*ROTTERDAM*NL~
pos 200
Required
max —
R2
Route Information R2
MAEU,MCPU,SEAU,SEJJ
pos 220
Optional
max 13
K1
Remarks K1
K1*FREE-FORM MESSAGE*FREE-FORM MESSAGE~
pos 230
Optional
max 12
L11
Business Instructions And Reference Number L11
L11*427342*CT~
pos 240
Optional
max 99
H3
Special Handling Instructions H3
H3**SPECIAL INSTRUCTIONS~
pos 250
Optional
max 6
X1
Export License X1
X1**EXPORT LICE**20150827**2*US*********IDENTIFICATION CODE~
pos 270
Optional
max 25
X2
Import License X2
X2*IMPORT LICENSE NUMBER*20150427*20160428~
pos 280
Optional
max 5
C8 Loop
C8
Certifications And Clauses C8
C8**01*CLAUSE TEXT~
pos 290
Required
max —
C8C
Certifications Clauses Continuation C8C
C8C*CLAUSE TEXT*CERTIFICATION TEXT*CERTIFICATION CLAUSE TEXT~
pos 295
Optional
max 5
SUP
Supplementary Information SUP
SUP*BLC**SAMPLE MESSAGE~
pos 300
Optional
max 10
DETAIL
LX Looprequired
LX
Assigned Number LX
LX*1~
pos 010
Required
max —
Y2
Container Details Y2
Y2*1**PP*42G1~
pos 020
Optional
max 10
N7 Loop
N7
Equipment Details N7
N7*PONU*038254*1705.990*G****25668*X********K*1*HH***42G1~
pos 030
Required
max —
QTY
Quantity QTY
QTY*39*2*CT~
pos 035
Optional
max —
L4
Measurement L4
L4*300*110*122*C~
pos 038
Optional
max —
M7
Seal Numbers M7
M7*MLMY1056165****SH~
pos 050
Optional
max 5
W09
Equipment And Temperature W09
W09*CZ*21*FA****Z*33~
pos 060
Optional
max —
N9
Reference Identification N9
N9*ZZ*METHOD*1~
N9*ZZ*VGM-KGS*1000.00~
pos 130
Optional
max 100
L0 Loop
L0
Line Item Quantity And Weight L0
L0*1***1705.990*G*1243.76*X*31*PCS**K*PP~
pos 170
Required
max —
L4
Measurement L4
L4*300*110*122*C~
pos 177
Optional
max —
L5
Description Marks And Numbers L5
L5*001*COTTON*5201*J**MARKS AND NUMBERS~~
pos 185
Optional
max 999
L12
Alternate Lading Description L12
L12*P*TEST DESCRIPTION~
pos 190
Optional
max 20
X1
Export License X1
X1**EXPORT LICE**20150827**2**********IDENTIFICATION CODE~
pos 240
Optional
max 25
X2
Import License X2
X2*IMPORT LICENSE NUMBER*20150227*20150828~
pos 250
Optional
max 5
C8 Loop
C8
Certifications And Clauses C8
C8*001*01*CERTIFICATION CLAUSE TEXT~
pos 260
Required
max —
H1 Loop
H1
Hazardous Material H1
H1*3166*9*I*ENGINES, INTERNAL COMBUSTION*JOHN SMITH 8008518061*65*70*CE*III~
pos 270
Required
max —
N1 Loop
N1
Name N1
Party receiving document containing weight information from scale Shipper's VGM Responsible Party
N1*R1*COMPANY NAME~
pos 380
Required
max —
G61
Contact G61
G61*RP*VGM RESPONSIBLE PERSON NAME*EM*test@maersk.com~
pos 420
Optional
max 3
SUMMARY
L3 Loop
L3
Total Weight And Charges L3
L3*1705.990*G*******3.000*X*31*K~
pos 010
Required
max —
PWK
Paperwork PWK
PWK*SW*PO*1~
pos 020
Optional
max 50
K1
Remarks K1
K1*FREE-FORM MESSAGE*FREE-FORM MESSAGE~
pos 060
Optional
max 999
SE
Transaction Set Trailer SE
pos 080
Optional
max —
Validate your 304
Paste or upload a document and check it against Maersk’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on Maersk’s 304 in days, not months
Connect this guide to your accounting system and test with Maersk yourself, or leave the mapping and the test cycle to us, at no extra charge.