Stedi maintains this guide based on public documentation from CMA CGM. Contact CMA CGM for official EDI specifications. To report any errors in this guide, please contact us.
X12 301 Confirmation (Ocean)
—
Delimiters
- ~ Segment
- * Element
- > Component
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
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- RO
- Ocean Booking Information (300, 301,303)
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
Y4 Loop
OptionalMax 10
Y4 Loop end
N1 Loop
OptionalMax 4
N1
060
Heading > N1 Loop > N1
Name
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 Loop end
R4 Loop
RequiredMax 20
R4
110
Heading > R4 Loop > R4
Port or Terminal
RequiredMax use 1
—
Example
If either Location Qualifier (R4-02) or Location Identifier (R4-03) is present, then the other is required
—
- B
- Booking Office
- D
- Discharge
- E
- Place of Delivery
- L
- Load
- R
- Place of Receipt
- T
- Transship
R4 Loop end
W09
130
Heading > W09
Equipment and Temperature
OptionalMax use 1
—
Example
If either Temperature (W09-02) or Unit or Basis for Measurement Code (W09-03) is present, then the other is required
If either Temperature (W09-04) or Unit or Basis for Measurement Code (W09-05) is present, then the other is required
—
- CE
- Centigrade, Celsius
- FA
- Fahrenheit
—
- CE
- Centigrade, Celsius
- FA
- Fahrenheit
H3
140
Heading > H3
Special Handling Instructions
OptionalMax use 6
—
Example
Only one of Special Handling Code (H3-01) or Special Handling Description (H3-02) may be present
Heading end
Detail
LX Loop
RequiredMax >1
L0
040
Detail > LX Loop > L0
Line Item - Quantity and Weight
OptionalMax use 1
—
Example
If either Weight (L0-04) or Weight Qualifier (L0-05) is present, then the other is required
If Weight Unit Code (L0-11) is present, then Weight (L0-04) is required
If either Lading Quantity (L0-08) or Packaging Form Code (L0-09) is present, then the other is required
L5
050
Detail > LX Loop > L5
Description, Marks and Numbers
OptionalMax use 1
—
Example
If either Commodity Code (L5-03) or Commodity Code Qualifier (L5-04) is present, then the other is required
H1 Loop
OptionalMax 10
H1 Loop end
LX Loop end
V1
080
Detail > V1
Vessel Identification
OptionalMax use 2
—
Example
At least one of Vessel Code (V1-01) or Vessel Name (V1-02) is required
If Vessel Code Qualifier (V1-08) is present, then Vessel Code (V1-01) is required
Detail end
Summary
Summary end
EDI Samples
301 Sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231030*0159*U*00401*000000001*0*T*>
GS*RO*SENDERGS*RECEIVERGS*20231030*015927*000000001*X*004010
ST*301*3950008
B1*CMDU*NAM0793017*20091120*U
Y3*NAM0793017*CMDU*20091214*20091231
Y4**NAM0793017*20091123**10*4200*CMDU
N1*SH*DIRECT CONTAINER LINE*ZZ*CMADCL
R4*B*ZZ*USMIA*MIAMI, FL*US
R4*R*ZZ*USMIA*MIAMI, FL*US
R4*L*ZZ*USMIA*MIAMI, FL*US
R4*D*ZZ*CNHKG*HONG KONG*CN
R4*E*ZZ*CNHKG*HONG KONG*CN
R4*T*ZZ*KRBUS*BUSAN*KR
W09*CZ*99*FA*99*FA****0
H3**GENSET YES
LX*1
L0*1***55924*G***70*PCS**K
L5*1*1X40 CONTAINER STC*9699999*H
V1*9327592*CONRAD S**UA395S****L
SE*18*3950008
GE*1*000000001
IEA*1*000000001
GS*RO*SENDERGS*RECEIVERGS*20231030*015927*000000001*X*004010
ST*301*3950008
B1*CMDU*NAM0793017*20091120*U
Y3*NAM0793017*CMDU*20091214*20091231
Y4**NAM0793017*20091123**10*4200*CMDU
N1*SH*DIRECT CONTAINER LINE*ZZ*CMADCL
R4*B*ZZ*USMIA*MIAMI, FL*US
R4*R*ZZ*USMIA*MIAMI, FL*US
R4*L*ZZ*USMIA*MIAMI, FL*US
R4*D*ZZ*CNHKG*HONG KONG*CN
R4*E*ZZ*CNHKG*HONG KONG*CN
R4*T*ZZ*KRBUS*BUSAN*KR
W09*CZ*99*FA*99*FA****0
H3**GENSET YES
LX*1
L0*1***55924*G***70*PCS**K
L5*1*1X40 CONTAINER STC*9699999*H
V1*9327592*CONRAD S**UA395S****L
SE*18*3950008
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.