Stedi maintains this guide based on public documentation from Flexport. Contact Flexport for official EDI specifications. To report any errors in this guide, please contact us.
X12 315 Status Details (Ocean) (Carrier)
—
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
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
—
- QO
- Ocean Shipment Status Information (313, 315)
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
B4
020
Heading > B4
Beginning Segment for Inquiry or Reply
RequiredMax use 1
—
Example
If either Equipment Initial (B4-07) or Equipment Number (B4-08) is present, then the other is required
If either Location Identifier (B4-11) or Location Qualifier (B4-12) is present, then the other is required
N9
030
Heading > N9
Reference Identification
OptionalMax use 30
—
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
—
- 1J
- Facility ID Number
- 4F
- Carrier-assigned Shipper Number
- BM
- Bill of Lading Number
- BN
- Booking Number
- EQ
- Equipment Number
- IT
- Internal Customer Number
- P8
- Pickup Reference Number
- PO
- Purchase Order Number
- PU
- Previous Bill of Lading Number
- RU
- Route Number
- SCA
- Standard Carrier Alpha Code (SCAC)
- SI
- Shipper's Identifying Number for Shipment (SID)
- SN
- Seal Number
- TT
- Terminal Code
- VT
- Motor Vehicle ID Number
Q2
040
Heading > Q2
Status Details (Ocean)
OptionalMax use 1
—
Example
If Reference Identification Qualifier (Q2-10) is present, then Reference Identification (Q2-11) is required
If either Volume (Q2-14) or Volume Unit Qualifier (Q2-15) is present, then the other is required
If either Weight (Q2-07), Weight Qualifier (Q2-08) or Weight Unit Code (Q2-16) are present, then the others are required
R4 Loop
RequiredMax >1
R4
060
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
—
- D
- Port of Discharge (Operational)
- E
- Place of Delivery (Contractual)
- I
- Interim Point (Operational)
- L
- Port of Loading (Operational)
- R
- Place of Receipt (Contractual)
- T
- Transshipment Port (Contractual)
- Y
- Relay Port (Operational)
—
- CI
- City
- D
- Census Schedule D
- K
- Census Schedule K
- UN
- United Nations Location Code (UNLOCODE)
DTM
070
Heading > R4 Loop > DTM
Date/Time Reference
OptionalMax use 15
—
Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
R4 Loop end
Heading end
EDI Samples
Sample 1
ISA*00* *00* *ZZ*CARRIER *ZZ*FLEXPORTEDI *210330*2338*U*00401*001353525*0*P*>~
GS*QO*CARRIER*FLEXPORTEDI*20210101*2338*1318192*X*004010~
ST*315*1318192~
B4***AG*20210101*2300*USTIW*MOFU*681896*L*42G0***7~
N9*BM*SCACABCD12345600~
N9*BN*ABCD12345600~
N9*EQ*FFF1238967~
N9*SN*ABCD01999~
N9*1J*Z705~
Q2*1114444*LR*******0103***L*RDO CONCERT~
R4*R*UN*CNFOC*FUZHOU, FUJIAN*CN***35~
DTM*140*20210215*1641~
R4*L*UN*CNFOC*FUZHOU, FUJIAN*CN***35~
DTM*140*20210221*2010~
R4*T*UN*CNXMN*XIAMEN, FUJIAN*CN***35~
DTM*140*20210228*0330~
R4*D*UN*USTIW*TACOMA, WA*US***WA~
DTM*139*20210316*2300~
R4*E*UN*USTIW*TACOMA, WA*US***WA~
DTM*139*20210317*1100~
SE*19*1318192~
GE*1*1318192~
IEA*1*001353525~
GS*QO*CARRIER*FLEXPORTEDI*20210101*2338*1318192*X*004010~
ST*315*1318192~
B4***AG*20210101*2300*USTIW*MOFU*681896*L*42G0***7~
N9*BM*SCACABCD12345600~
N9*BN*ABCD12345600~
N9*EQ*FFF1238967~
N9*SN*ABCD01999~
N9*1J*Z705~
Q2*1114444*LR*******0103***L*RDO CONCERT~
R4*R*UN*CNFOC*FUZHOU, FUJIAN*CN***35~
DTM*140*20210215*1641~
R4*L*UN*CNFOC*FUZHOU, FUJIAN*CN***35~
DTM*140*20210221*2010~
R4*T*UN*CNXMN*XIAMEN, FUJIAN*CN***35~
DTM*140*20210228*0330~
R4*D*UN*USTIW*TACOMA, WA*US***WA~
DTM*139*20210316*2300~
R4*E*UN*USTIW*TACOMA, WA*US***WA~
DTM*139*20210317*1100~
SE*19*1318192~
GE*1*1318192~
IEA*1*001353525~
Sample 2 (Firms Code)
ISA*00* *00* *ZZ*CARRIER *ZZ*FLEXPORTEDI *210330*2338*U*00401*001353525*0*P*>~
GS*QO*CARRIER*FLEXPORTEDI*20210101*2338*1318192*X*004010~
ST*315*1318192~
B4***AG*20210101*2300*USTIW*MOFU*681896*L*42G0***7~
N9*BM*SCACABCD12345600~
N9*BN*ABCD12345600~
N9*EQ*FFF1238967~
N9*SN*ABCD01999~
N9*1J*Z705~
Q2*1114444*LR*******0103***L*RDO CONCERT~
R4*R*UN*CNFOC*FUZHOU, FUJIAN*CN***35~
DTM*140*20210215*1641~
R4*L*UN*CNFOC*FUZHOU, FUJIAN*CN***35~
DTM*140*20210221*2010~
R4*T*UN*CNXMN*XIAMEN, FUJIAN*CN***35~
DTM*140*20210228*0330~
R4*D*UN*USTIW*TACOMA, WA*US***WA~
DTM*139*20210316*2300~
R4*E*UN*USTIW*TACOMA, WA*US***WA~
DTM*139*20210317*1100~
SE*19*1318192~
GE*1*1318192~
IEA*1*001353525~
GS*QO*CARRIER*FLEXPORTEDI*20210101*2338*1318192*X*004010~
ST*315*1318192~
B4***AG*20210101*2300*USTIW*MOFU*681896*L*42G0***7~
N9*BM*SCACABCD12345600~
N9*BN*ABCD12345600~
N9*EQ*FFF1238967~
N9*SN*ABCD01999~
N9*1J*Z705~
Q2*1114444*LR*******0103***L*RDO CONCERT~
R4*R*UN*CNFOC*FUZHOU, FUJIAN*CN***35~
DTM*140*20210215*1641~
R4*L*UN*CNFOC*FUZHOU, FUJIAN*CN***35~
DTM*140*20210221*2010~
R4*T*UN*CNXMN*XIAMEN, FUJIAN*CN***35~
DTM*140*20210228*0330~
R4*D*UN*USTIW*TACOMA, WA*US***WA~
DTM*139*20210316*2300~
R4*E*UN*USTIW*TACOMA, WA*US***WA~
DTM*139*20210317*1100~
SE*19*1318192~
GE*1*1318192~
IEA*1*001353525~
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.