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) (Consignee/Shipper)
—
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
—
- 3
- Returned to Shipper
- AB
- Delivery appointment scheduled
- AE
- Loaded on Vessel
- AF
- Departed Pickup Location
- AL
- Loaded on Rail
- AM
- Loaded on Truck
- AP
- Loaded on Feeder Vessel
- AR
- Rail Arrival at Destination Intermodal Ramp
- AV
- Available for Delivery
- BE
- Estimated Time of Arrival at Scheduled Pick-up Location
- C
- Estimated To Depart Terminal Location
- CD
- Received at Origin
- CT
- Customs Released
- D
- Completed Unloading at Delivery Location
- E
- Estimated to Arrive (En Route)
- EA
- Estimate Approved
- ED
- Early Delivery Appointment Date and/or Time
- EV
- Estimated available for delivery
- FE
- Free time expired
- FT
- Free Time Expired
- I
- In-Gate
- K
- Arrived at Customs
- OA
- Out-Gate
- OD
- Destination
- RB
- Delivery Appointment Requested
- RD
- Return Container
- RL
- Rail Departure from Origin Intermodal Ramp
- SD
- Shipment Delayed
- UR
- Unloaded from a Rail Car
- UV
- Unloaded From Vessel
- VA
- Vessel Arrival
- VD
- Vessel Departure
- X1
- Arrived at Delivery Location
- X2
- Estimated Time of Arrival at Consignee Location
- Y6
- Estimated time of Arrival to Destination Rail Ramp
- Y9
- Gate out at Destination Rail Ramp
- ZZ
- Mutually Defined
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
—
- 4F
- Carrier-assigned Shipper Number
- BM
- Bill of Lading Number
- BN
- Booking Number
- EQ
- Equipment Number
- MB
- Master Bill of Lading
- PO
- Purchase Order Number
- SCA
- Standard Carrier Alpha Code (SCAC)
- SI
- Shipper's Identifying Number for Shipment (SID)
- SN
- Seal Number
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
—
- B
- Reconsolidation Point (Operational)
- C
- De-Consolidation Point (Operational)
- 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)
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
Container on board vessel at port of loading
ISA*00* *00* *ZZ*FLEXPORTEDI *ZZ*PARTNERID
*190910*1801*U*00401*000003035*0*P*>~
GS*QO*FLEXPORTEDI*PARTNERID*20190910*1801*3035*X*004010~
ST*315*0001~
B4***AE*20181221*2207*CNDCB*MSCU*595956*L*45U1*SHENZHEN*UN*6~
N9*BM*FLEX009*BILL OF LADING~
N9*BN*123456789*BKG NBR~
N9*EQ*MSCU5959566*EQT ID~
N9*4F*33333*CUSTOMER CODE~
N9*SI*FLEX-09870*FLEXPORT SHIPMENT ID~
Q2*9516478********V1***L*COSCO DENMARK~
R4*R*UN*CNDCB*SHENZHEN*CN~
DTM*140*20180905*1105*LT~
R4*L*UN*CNDCB*SHENZHEN*CN~
DTM*139*20180905*1105*LT~
R4*I*UN*KRPUS*BUSAN*KR~
DTM*139*20180906*1106*LT~
R4*D*UN*HKHKG*HONG KONG*HK~
DTM*139*20180908*1108*LT~
R4*E*UN*HKHKG*HONG KONG*HK~
DTM*139*20180908*1108*LT~
SE*19*0001~
GE*1*3035~
IEA*1*000003035~
*190910*1801*U*00401*000003035*0*P*>~
GS*QO*FLEXPORTEDI*PARTNERID*20190910*1801*3035*X*004010~
ST*315*0001~
B4***AE*20181221*2207*CNDCB*MSCU*595956*L*45U1*SHENZHEN*UN*6~
N9*BM*FLEX009*BILL OF LADING~
N9*BN*123456789*BKG NBR~
N9*EQ*MSCU5959566*EQT ID~
N9*4F*33333*CUSTOMER CODE~
N9*SI*FLEX-09870*FLEXPORT SHIPMENT ID~
Q2*9516478********V1***L*COSCO DENMARK~
R4*R*UN*CNDCB*SHENZHEN*CN~
DTM*140*20180905*1105*LT~
R4*L*UN*CNDCB*SHENZHEN*CN~
DTM*139*20180905*1105*LT~
R4*I*UN*KRPUS*BUSAN*KR~
DTM*139*20180906*1106*LT~
R4*D*UN*HKHKG*HONG KONG*HK~
DTM*139*20180908*1108*LT~
R4*E*UN*HKHKG*HONG KONG*HK~
DTM*139*20180908*1108*LT~
SE*19*0001~
GE*1*3035~
IEA*1*000003035~
Vessel actual arrival at transport
ISA*00* *00* *ZZ*FLEXPORTEDI *ZZ*PARTNERID
*190910*1801*U*00401*000003037*0*P*>~
GS*QO*FLEXPORTEDI*PARTNERID*20190910*1801*3037*X*004010~
ST*315*0001~
B4***VA*20180909*0400*HKHKG*MSCU*595956*L*45U1*HONG KONG*UN*6~
N9*BM*FLEX009*BILL OF LADING~
N9*BN*123456789*BKG NBR~
N9*EQ*MSCU5959566*EQT ID~
N9*4F*33333*CUSTOMER CODE~
N9*SI*FLEX-09870*FLEXPORT SHIPMENT ID~
Q2*9402029********V2***L*MAERSK BATUR~
R4*R*UN*CNDCB*SHENZHEN*CN~
DTM*140*20180905*1105*LT~
R4*L*UN*CNDCB*SHENZHEN*CN~
DTM*140*20180905*1105*LT~
R4*I*UN*KRPUS*BUSAN*KR~
DTM*140*20180907*1107*LT~
R4*D*UN*HKHKG*HONG KONG*HK~
DTM*139*20180909*1109*LT~
R4*E*UN*HKHKG*HONG KONG*HK~
DTM*139*20180909*1109*LT~
SE*19*0001~
GE*1*3037~
IEA*1*000003037~
*190910*1801*U*00401*000003037*0*P*>~
GS*QO*FLEXPORTEDI*PARTNERID*20190910*1801*3037*X*004010~
ST*315*0001~
B4***VA*20180909*0400*HKHKG*MSCU*595956*L*45U1*HONG KONG*UN*6~
N9*BM*FLEX009*BILL OF LADING~
N9*BN*123456789*BKG NBR~
N9*EQ*MSCU5959566*EQT ID~
N9*4F*33333*CUSTOMER CODE~
N9*SI*FLEX-09870*FLEXPORT SHIPMENT ID~
Q2*9402029********V2***L*MAERSK BATUR~
R4*R*UN*CNDCB*SHENZHEN*CN~
DTM*140*20180905*1105*LT~
R4*L*UN*CNDCB*SHENZHEN*CN~
DTM*140*20180905*1105*LT~
R4*I*UN*KRPUS*BUSAN*KR~
DTM*140*20180907*1107*LT~
R4*D*UN*HKHKG*HONG KONG*HK~
DTM*139*20180909*1109*LT~
R4*E*UN*HKHKG*HONG KONG*HK~
DTM*139*20180909*1109*LT~
SE*19*0001~
GE*1*3037~
IEA*1*000003037~
Vessel actual departure from port of loading
ISA*00* *00* *ZZ*FLEXPORTEDI *ZZ*PARTNERID
*190910*1801*U*00401*000003036*0*P*>~
GS*QO*FLEXPORTEDI*PARTNERID*20190910*1801*3036*X*004010~
ST*315*0001~
B4***VD*20180905*1600*CNDCB*MSCU*595956*L*45U1*SHENZHEN*UN*6~
N9*BM*FLEX010*BILL OF LADING~
N9*BN*123456789*BKG NBR~
N9*EQ*MSCU5959566*EQT ID~
N9*4F*33333*CUSTOMER CODE~
N9*SI*FLEX-09870*FLEXPORT SHIPMENT ID~
Q2*9516478********V1***L*COSCO DENMARK~
R4*R*UN*CNDCB*SHENZHEN*CN~
DTM*140*20180905*1105*LT~
R4*L*UN*CNDCB*SHENZHEN*CN~
DTM*140*20180905*1105*LT~
R4*I*UN*KRPUS*BUSAN*KR~
DTM*139*20180906*1106*LT~
R4*D*UN*HKHKG*HONG KONG*HK~
DTM*139*20180908*1108*LT~
R4*E*UN*HKHKG*HONG KONG*HK~
DTM*139*20180908*1108*LT~
SE*19*0001~
GE*1*3036~
IEA*1*000003036~
*190910*1801*U*00401*000003036*0*P*>~
GS*QO*FLEXPORTEDI*PARTNERID*20190910*1801*3036*X*004010~
ST*315*0001~
B4***VD*20180905*1600*CNDCB*MSCU*595956*L*45U1*SHENZHEN*UN*6~
N9*BM*FLEX010*BILL OF LADING~
N9*BN*123456789*BKG NBR~
N9*EQ*MSCU5959566*EQT ID~
N9*4F*33333*CUSTOMER CODE~
N9*SI*FLEX-09870*FLEXPORT SHIPMENT ID~
Q2*9516478********V1***L*COSCO DENMARK~
R4*R*UN*CNDCB*SHENZHEN*CN~
DTM*140*20180905*1105*LT~
R4*L*UN*CNDCB*SHENZHEN*CN~
DTM*140*20180905*1105*LT~
R4*I*UN*KRPUS*BUSAN*KR~
DTM*139*20180906*1106*LT~
R4*D*UN*HKHKG*HONG KONG*HK~
DTM*139*20180908*1108*LT~
R4*E*UN*HKHKG*HONG KONG*HK~
DTM*139*20180908*1108*LT~
SE*19*0001~
GE*1*3036~
IEA*1*000003036~
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.