Skip to content
EDI 315 — EDI TransactionPublished Nov 4, 2026

EDI 315 Status Details (Ocean): Codes and Guide

EDI 315 explained: container status codes like AE, VD, UV, AV and OA, the B4, Q2 and R4 segments, live samples, and how it compares with the 214.

The EDI 315 is how you know where your container is between the factory and your dock. Every time a container hits a milestone, the ocean carrier sends a 315 with a status code, a time and a place. Importers use the feed to plan drayage and receiving, forwarders and NVOCCs use it to update customers, and everyone uses it to see free time running out before the terminal invoice arrives.

This guide covers what the 315 reports, the status codes you can rely on, where it sits beside the 300, 301 and 310, every segment you will map, two live examples (a vessel departure and three import milestones), how it differs from the motor-carrier 214, and the errors that leave containers untracked.

What Is an EDI 315?

An EDI 315 is the Status Details (Ocean) transaction set defined by ASC X12, used by an ocean carrier to report status or event details for shipments or containers. The X12 description says it can carry one status or event for many shipments or containers, or more than one status or event for one shipment or container. In practice, most carriers send one 315 per event per container. The 315 travels in functional group QO (the GS01 value).

Authoritative references for 315 work:

  • The X12 transaction set catalog defines the 315 structure and the shipment status code list used in B4
  • Stedi's X12 004010 reference for the 315 lists the segments, elements and code values for release 004010
  • The UN/LOCODE list maintained by UNECE supplies the five-character location codes (such as CNSHA or USLAX) most carriers use for event locations
  • The BIC container prefix register governs the four-letter owner codes in ISO 6346 container numbers, which the 315 carries in B4
  • Each ocean carrier publishes its own 315 implementation guide, listing the status codes it actually sends and how you subscribe to them

Who sends it? The ocean carrier, or an NVOCC or visibility provider passing carrier events on.

Who receives it? Whoever subscribed to the shipment: the shipper, the consignee or importer, the forwarder or NVOCC, and sometimes a customs broker or trucker.

When is it sent? At each event the carrier records for the container, from empty pickup at origin to empty return at destination. Some carriers also send estimated events, such as a revised vessel arrival.

Why does it matter? Ocean freight runs on free time. A container that is available at the terminal but not picked up, or out of the terminal and not returned, starts costing money under the carrier's tariff or your contract. The 315 tells you when those clocks start.

Where the 315 Fits in Ocean EDI

The 315 is the status feed in a family of ocean transaction sets:

SetX12 nameUsually sent byWhat it does
300Reservation (Booking Request) (Ocean)Shipper, forwarder or NVOCCRequests space on a sailing
301Confirmation (Ocean)Ocean carrierConfirms the booking and returns the booking number
304Shipping InstructionsShipper, forwarder or NVOCCGives the details for the bill of lading
310Freight Receipt and Invoice (Ocean)Ocean carrierBill of lading data and freight charges. See the EDI 310 guide
313Shipment Status Inquiry (Ocean)Shipper, consignee or forwarderAsks the carrier for status
315Status Details (Ocean)Ocean carrierReports container and shipment events

The 315 references the same numbers as the rest of the flow: the booking number from the 301, the bill of lading number from the 310, and the container numbers. Your systems should be able to find a container from any of the three.

EDI 315 Status Codes

The event is coded in B403, X12 data element 157 (Shipment Status Code). The same element is shared with other transportation sets and has well over a hundred values, but a carrier's 315 guide uses a short list. The codes below are taken from the X12 004010 code list for element 157 and are the ones ocean 315 guides most often use. Check your carrier's guide for its own subset.

Export and ocean leg

CodeX12 meaningWhat it tells you
EEEmpty Equipment DispatchedAn empty container has gone out to the shipper or loading point
IIn-GateThe container entered a facility, usually the origin terminal, loaded
AELoaded on VesselThe container is on board
VDVessel DepartureThe vessel has sailed (or, with an estimated date, is scheduled to)
VAVessel ArrivalThe vessel has arrived (or, with an estimated date, is scheduled to)
UVUnloaded From VesselThe container is discharged at the port named in the message
EEstimated to Arrive (En Route)An estimated arrival at the location given

At a transshipment port you will see UV and then a second AE and VD for the next vessel, so do not treat the first UV as arrival at destination without checking the location.

Import release and delivery

CodeX12 meaningWhat it tells you
CTCustoms ReleasedCustoms has released the cargo
CRCarrier ReleaseThe carrier has released the cargo, usually once freight is paid and documents are presented
CUCarrier and Customs ReleaseBoth releases in one event
BRBill of Lading ReleasedThe bill of lading has been released
OBOriginal Bill of Lading ReceivedThe carrier has received the original B/L
AVAvailable for DeliveryThe container can be picked up
OAOut-GateThe container left the facility, usually on a truck from the terminal
DCompleted Unloading at Delivery LocationDelivered
RDReturn ContainerThe empty container has been returned
FTFree Time ExpiredFree time at the location has run out

Rail and inland moves

CodeX12 meaningWhat it tells you
ALLoaded on RailLoaded onto a rail car
RLRail Departure from Origin Intermodal RampRail move has started
ARRail Arrival at Destination Intermodal RampArrived at the inland ramp
URUnloaded from a Rail CarOff the train at the ramp
AMLoaded on TruckLoaded onto a truck

Holds and exceptions

CodeX12 meaningWhat it tells you
PUOther U.S. Agency Hold at Place of Vessel ArrivalA US agency other than Customs or USDA has placed a hold
IBU.S. Customs, In-bond Movement AuthorizedThe cargo may move in bond
CAShipment CancelledThe shipment was cancelled
TMIntra-Terminal MovementMoved within the terminal

Some carriers send codes from outside this list or use their own codes for events such as a hold release or a change of vessel. Those meanings come only from that carrier's guide. If a code you receive is not in your table, log it and look it up there rather than guessing.

Estimated vs actual

VA and VD mean "scheduled to arrive or depart, or has arrived or departed". The difference between an estimate and a fact is in the dates. In the samples below, a DTM after the port's R4 segment uses 139 for estimated and 140 for actual. Read the qualifier before you tell a customer the vessel has arrived.

Interactive Example: 315 Vessel Departure

An ocean carrier (SCAC BLUQ) reports that container QXZU4128732, a loaded 40-foot high cube, sailed from Shanghai on voyage 118E. B4 carries the status code VD, the date and time, the location and the container. The N9 segments carry the bill of lading, booking and purchase order numbers. Q2 names the vessel. The R4 loops give the place of receipt, the port of loading with the actual departure, and the port of discharge with an estimated arrival. All names, numbers and codes for the parties, carrier, vessel and container are fictional.

Use the Plain English tab for a readable summary, or click any segment to break it down element by element.

Live exampleOcean CarrierEDI 315

Ocean Carrier 315 Status: Vessel Departure (VD)

One container status event: B4 reports vessel departure (VD) at Shanghai for a loaded 40-foot high cube, N9 carries the bill of lading, booking and PO numbers, Q2 names the vessel and voyage, and the R4 loops give the actual departure and the estimated arrival at Los Angeles

Document
315 Status Details (Ocean)
From / to
BLUQ → CASCADEHOMEIMP
Segments
16
Interchange date
Nov 4, 2026

Raw EDI (X12)

1
ISA*00* *00* *02*BLUQ *ZZ*CASCADEHOMEIMP *261104*1915*U*00401*000003151*0*P*>~
2
GS*QO*BLUQ*CASCADEHOMEIMP*20261104*1915*3151*X*004010~
3
ST*315*0001~
4
B4***VD*20261104*1830*CNSHA*QXZU*412873*L*45G1*CNSHA*UN*2~
5
N9*BM*BLUQSHA2611045~
6
N9*BN*BK7730412~
7
N9*PO*4500918832~
8
Q2*9700017*LR**20261104*****118E***L*MERIDIAN HARBOR~
9
R4*R*UN*CNSHA*SHANGHAI*CN~
10
R4*L*UN*CNSHA*SHANGHAI*CN*EAST PIER TERMINAL~
11
DTM*140*20261104*1830~
12
R4*D*UN*USLAX*LOS ANGELES*US~
13
DTM*139*20261119*0800~
14
SE*12*0001~
15
GE*1*3151~
16
IEA*1*000003151~

Human-Readable

Interchange

Sender ID(02)BLUQ
Receiver ID(ZZ)CASCADEHOMEIMP
Date261104
Time1915
Standards IDU
Version00401
Control Number000003151
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDQOQO
SenderBLUQ
ReceiverCASCADEHOMEIMP
Date20261104
Time1915
Control Number3151
Agency CodeX
Version004010
Transactions1
Reported Transaction Count (GE01)1

Transaction 315

Status Details (Ocean)
Transaction Type315
Control Number0001
Segments, ST to SE12
Count in SE0112 (matches)

Segment Detail

B4Beginning Segment for Inquiry or Reply
B403Shipment Status CodeVD
B404Date20261104
B405Status Time1830
B406Status LocationCNSHA
B407Equipment InitialQXZU
B408Equipment Number412873
B409Equipment Status CodeL
B410Equipment Type45G1
B411Location IdentifierCNSHA
B412Location QualifierUN
B413Equipment Number Check Digit2
N9Reference Identification
N901Reference Identification QualifierBM
N902Reference IdentificationBLUQSHA2611045
N9Reference Identification
N901Reference Identification QualifierBN
N902Reference IdentificationBK7730412
N9Reference Identification
N901Reference Identification QualifierPO
N902Reference Identification4500918832
Q2Status Details (Ocean)
Q201Vessel Code9700017
Q202Country CodeLR
Q204Date (Vessel Departure)20261104
Q209Flight/Voyage Number118E
Q212Vessel Code QualifierL
Q213Vessel NameMERIDIAN HARBOR
R4Port or Terminal
R401Port or Terminal Function CodeR
R402Location QualifierUN
R403Location IdentifierCNSHA
R404Port NameSHANGHAI
R405Country CodeCN
R4Port or Terminal
R401Port or Terminal Function CodeL
R402Location QualifierUN
R403Location IdentifierCNSHA
R404Port NameSHANGHAI
R405Country CodeCN
R406Terminal NameEAST PIER TERMINAL
DTMDate/Time Reference
DTM01Date Qualifier140
DTM02Date20261104
DTM03Time1830
R4Port or Terminal
R401Port or Terminal Function CodeD
R402Location QualifierUN
R403Location IdentifierUSLAX
R404Port NameLOS ANGELES
R405Country CodeUS
DTMDate/Time Reference
DTM01Date Qualifier139
DTM02Date20261119
DTM03Time0800
1 functional group1 transactionControl #000003151Valid

Interactive Example: Import Milestones (UV, AV, OA)

The same container arrives at Los Angeles. One interchange carries three 315 transactions: unloaded from vessel (UV), available for delivery (AV) and out-gate (OA). The out-gate message adds the place of delivery, the importer's warehouse in Ontario, California. These three events are the ones an import team watches most closely, because they decide when to dispatch a trucker and when free time starts to matter.

Live exampleOcean CarrierEDI 315

Ocean Carrier 315 Import Milestones (UV, AV, OA)

Three 315 transactions in one interchange for the same container at Los Angeles: unloaded from vessel (UV), available for delivery (AV) and out-gate (OA), the import milestones that drive drayage and demurrage decisions

Document
315 Status Details (Ocean)
From / to
BLUQ → CASCADEHOMEIMP
Segments
29
Interchange date
Nov 21, 2026

Raw EDI (X12)

1
ISA*00* *00* *02*BLUQ *ZZ*CASCADEHOMEIMP *261121*1405*U*00401*000003152*0*P*>~
2
GS*QO*BLUQ*CASCADEHOMEIMP*20261121*1405*3152*X*004010~
3
ST*315*0001~
4
B4***UV*20261120*1142*USLAX*QXZU*412873*L*45G1*USLAX*UN*2~
5
N9*BM*BLUQSHA2611045~
6
N9*BN*BK7730412~
7
Q2*9700017*LR**20261104*20261120****118E***L*MERIDIAN HARBOR~
8
R4*D*UN*USLAX*LOS ANGELES*US*SOUTH BAY CONTAINER TERMINAL~
9
DTM*140*20261120*0610~
10
SE*8*0001~
11
ST*315*0002~
12
B4***AV*20261121*0700*USLAX*QXZU*412873*L*45G1*USLAX*UN*2~
13
N9*BM*BLUQSHA2611045~
14
N9*BN*BK7730412~
15
Q2*9700017*LR**20261104*20261120****118E***L*MERIDIAN HARBOR~
16
R4*D*UN*USLAX*LOS ANGELES*US*SOUTH BAY CONTAINER TERMINAL~
17
DTM*140*20261120*0610~
18
SE*8*0002~
19
ST*315*0003~
20
B4***OA*20261121*1352*USLAX*QXZU*412873*L*45G1*USLAX*UN*2~
21
N9*BM*BLUQSHA2611045~
22
N9*BN*BK7730412~
23
Q2*9700017*LR**20261104*20261120****118E***L*MERIDIAN HARBOR~
24
R4*D*UN*USLAX*LOS ANGELES*US*SOUTH BAY CONTAINER TERMINAL~
25
DTM*140*20261120*0610~
26
R4*E*UN*USONT*ONTARIO*US~
27
SE*9*0003~
28
GE*3*3152~
29
IEA*1*000003152~

Human-Readable

Interchange

Sender ID(02)BLUQ
Receiver ID(ZZ)CASCADEHOMEIMP
Date261121
Time1405
Standards IDU
Version00401
Control Number000003152
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDQOQO
SenderBLUQ
ReceiverCASCADEHOMEIMP
Date20261121
Time1405
Control Number3152
Agency CodeX
Version004010
Transactions3
Reported Transaction Count (GE01)3

Transaction 315

Status Details (Ocean)
Transaction Type315
Control Number0001
Segments, ST to SE8
Count in SE018 (matches)

Segment Detail

B4Beginning Segment for Inquiry or Reply
B403Shipment Status CodeUV
B404Date20261120
B405Status Time1142
B406Status LocationUSLAX
B407Equipment InitialQXZU
B408Equipment Number412873
B409Equipment Status CodeL
B410Equipment Type45G1
B411Location IdentifierUSLAX
B412Location QualifierUN
B413Equipment Number Check Digit2
N9Reference Identification
N901Reference Identification QualifierBM
N902Reference IdentificationBLUQSHA2611045
N9Reference Identification
N901Reference Identification QualifierBN
N902Reference IdentificationBK7730412
Q2Status Details (Ocean)
Q201Vessel Code9700017
Q202Country CodeLR
Q204Date (Vessel Departure)20261104
Q205Date (Unloaded from Vessel)20261120
Q209Flight/Voyage Number118E
Q212Vessel Code QualifierL
Q213Vessel NameMERIDIAN HARBOR
R4Port or Terminal
R401Port or Terminal Function CodeD
R402Location QualifierUN
R403Location IdentifierUSLAX
R404Port NameLOS ANGELES
R405Country CodeUS
R406Terminal NameSOUTH BAY CONTAINER TERMINAL
DTMDate/Time Reference
DTM01Date Qualifier140
DTM02Date20261120
DTM03Time0610

Transaction 315

Status Details (Ocean)
Transaction Type315
Control Number0002
Segments, ST to SE8
Count in SE018 (matches)

Segment Detail

B4Beginning Segment for Inquiry or Reply
B403Shipment Status CodeAV
B404Date20261121
B405Status Time0700
B406Status LocationUSLAX
B407Equipment InitialQXZU
B408Equipment Number412873
B409Equipment Status CodeL
B410Equipment Type45G1
B411Location IdentifierUSLAX
B412Location QualifierUN
B413Equipment Number Check Digit2
N9Reference Identification
N901Reference Identification QualifierBM
N902Reference IdentificationBLUQSHA2611045
N9Reference Identification
N901Reference Identification QualifierBN
N902Reference IdentificationBK7730412
Q2Status Details (Ocean)
Q201Vessel Code9700017
Q202Country CodeLR
Q204Date (Vessel Departure)20261104
Q205Date (Unloaded from Vessel)20261120
Q209Flight/Voyage Number118E
Q212Vessel Code QualifierL
Q213Vessel NameMERIDIAN HARBOR
R4Port or Terminal
R401Port or Terminal Function CodeD
R402Location QualifierUN
R403Location IdentifierUSLAX
R404Port NameLOS ANGELES
R405Country CodeUS
R406Terminal NameSOUTH BAY CONTAINER TERMINAL
DTMDate/Time Reference
DTM01Date Qualifier140
DTM02Date20261120
DTM03Time0610

Transaction 315

Status Details (Ocean)
Transaction Type315
Control Number0003
Segments, ST to SE9
Count in SE019 (matches)

Segment Detail

B4Beginning Segment for Inquiry or Reply
B403Shipment Status CodeOA
B404Date20261121
B405Status Time1352
B406Status LocationUSLAX
B407Equipment InitialQXZU
B408Equipment Number412873
B409Equipment Status CodeL
B410Equipment Type45G1
B411Location IdentifierUSLAX
B412Location QualifierUN
B413Equipment Number Check Digit2
N9Reference Identification
N901Reference Identification QualifierBM
N902Reference IdentificationBLUQSHA2611045
N9Reference Identification
N901Reference Identification QualifierBN
N902Reference IdentificationBK7730412
Q2Status Details (Ocean)
Q201Vessel Code9700017
Q202Country CodeLR
Q204Date (Vessel Departure)20261104
Q205Date (Unloaded from Vessel)20261120
Q209Flight/Voyage Number118E
Q212Vessel Code QualifierL
Q213Vessel NameMERIDIAN HARBOR
R4Port or Terminal
R401Port or Terminal Function CodeD
R402Location QualifierUN
R403Location IdentifierUSLAX
R404Port NameLOS ANGELES
R405Country CodeUS
R406Terminal NameSOUTH BAY CONTAINER TERMINAL
DTMDate/Time Reference
DTM01Date Qualifier140
DTM02Date20261120
DTM03Time0610
R4Port or Terminal
R401Port or Terminal Function CodeE
R402Location QualifierUN
R403Location IdentifierUSONT
R404Port NameONTARIO
R405Country CodeUS
1 functional group3 transactionsControl #000003152Valid

315 Structure at a Glance

The table follows X12 release 004010. The 315 is short: one status, the references, the vessel, and the locations.

PositionSegmentNameUsage in the standardNotes
HeadingSTTransaction Set HeaderMandatoryST01 = 315
HeadingB4Beginning Segment for Inquiry or ReplyMandatoryStatus code, date, time, location and container
HeadingN9Reference IdentificationOptional, up to 30B/L, booking, PO and other references
HeadingQ2Status Details (Ocean)OptionalVessel, voyage, departure and discharge dates
HeadingSGShipment StatusOptional, up to 15Earlier or additional statuses, each with a date
Heading loopR4Port or TerminalMandatory, up to 20Places on the route
Heading loopDTMDate/Time ReferenceOptional, up to 15 per R4Estimated or actual dates at that place
HeadingV9Event DetailOptional, up to 10Further event detail, used by some carriers
SummarySETransaction Set TrailerMandatorySegment count and control number

Key Segments Explained

B4: Beginning Segment for Inquiry or Reply

B4***VD*20261104*1830*CNSHA*QXZU*412873*L*45G1*CNSHA*UN*2~
ElementNameExampleWhat it means
B403Shipment Status CodeVDThe event (see the status code tables)
B404Date20261104Date of the event
B405Status Time1830Time of the event, usually local time at the location
B406Status LocationCNSHAWhere the event happened, 3 to 5 characters
B407Equipment InitialQXZUContainer owner prefix
B408Equipment Number412873Container serial number
B409Equipment Status CodeLL load, E empty
B410Equipment Type45G1Four-character equipment type; 45G1 is the ISO 6346 code for a 40-foot high cube general-purpose container
B411Location IdentifierCNSHALocation code for the event
B412Location QualifierUNUN means B411 is a UN/LOCODE
B413Equipment Number Check Digit2ISO 6346 check digit

B407, B408 and B413 together make the container number: QXZU4128732. Some carriers send the check digit as part of B408, so normalize container numbers before you match them. Equipment type codes (B410) vary by carrier: some send ISO size-type codes, others older four-digit codes. B401 (special handling) and B402 (inquiry request number) are rarely used on carrier-initiated 315s.

N9: Reference Identification

N9*BM*BLUQSHA2611045~
N9*BN*BK7730412~
N9*PO*4500918832~
QualifierMeaningWhy you need it
BMBill of lading numberLinks the event to the 310 and the customs entry
BNBooking numberLinks it to the 301 booking confirmation
POPurchase order numberLinks it to your orders, when the carrier has them from the 304
MBMaster bill of ladingSent on house bills issued by NVOCCs
EQEquipment numberThe container number, as a reference

Q2: Status Details (Ocean)

Q2*9700017*LR**20261104*20261120****118E***L*MERIDIAN HARBOR~
ElementNameExampleWhat it means
Q201Vessel Code9700017Vessel identifier, here a Lloyd's (IMO) number
Q202Country CodeLRCountry of registry
Q203DateRequired pier date
Q204Date20261104Date of vessel departure
Q205Date20261120Date unloaded from the vessel
Q206Lading QuantityPieces
Q207 / Q208Weight, Weight QualifierWeight and its type
Q209Flight/Voyage Number118EVoyage
Q212Vessel Code QualifierLL Lloyd's Register of Shipping, C ship's radio call sign
Q213Vessel NameMERIDIAN HARBORVessel name
Q216Weight Unit CodeK kilograms, L pounds

The vessel name and voyage let you group every container on the same sailing, which is how you spot a delayed vessel before each container's events catch up.

SG: Shipment Status

SG*AE***20261104*1210~
ElementNameWhat it means
SG01Shipment Status CodeA status from the same code list as B403
SG02Status Reason CodeWhy, when the carrier sends a reason
SG04DateDate of that status
SG05TimeTime of that status

Some carriers use SG to repeat earlier events in each 315 so a receiver that missed one message still has the history. Neither sample above uses it.

R4 and DTM: Port or Terminal

R4*L*UN*CNSHA*SHANGHAI*CN*EAST PIER TERMINAL~
DTM*140*20261104*1830~
R4*D*UN*USLAX*LOS ANGELES*US~
DTM*139*20261119*0800~
ElementNameExampleWhat it means
R401Port or Terminal Function CodeLR place of receipt, L port of loading, D port of discharge, E place of delivery, T transshipment port, 5 activity location
R402Location QualifierUNUN/LOCODE
R403Location IdentifierCNSHALocation code
R404Port NameSHANGHAIName
R405Country CodeCNCountry
R406Terminal NameEAST PIER TERMINALTerminal, when sent
DTM01Date/Time Qualifier140139 estimated, 140 actual
DTM02 / DTM03Date, Time20261104 / 1830When

The standard requires at least one R4. Carriers vary in how many they send: some send the full route on every 315, others only the location of the event. The estimated arrival at the port of discharge (R4*D with DTM*139) is the date most import teams plan around, and it changes. Keep the latest value and the history.

EDI 315 vs 214, 310 and 856

DocumentModeSent byPurpose
315 Status Details (Ocean)OceanOcean carrierContainer events, coded in B4
214 Shipment Status MessageTruck and other modesCarrierShipment events, coded in AT7
310 Freight Receipt and Invoice (Ocean)OceanOcean carrierBill of lading data and charges
856 Ship Notice/ASNAnySupplierWhat was shipped, down to carton

The 214 and 315 do the same job for different modes, with different segments. The 214 puts the status in AT7 with a separate reason code; the 315 puts it in B4 with the container number in the same segment. A container moving door to door often produces both: 315s from the ocean carrier for the port-to-port leg, and 214s from the trucker once it leaves the terminal on a drayage move. That drayage leg is often tendered with a 204 load tender and billed with a 210 freight invoice. Tie both feeds to the same container number and you have one timeline.

Common 315 Errors and How to Prevent Them

ErrorWhat happensPrevention
Container number formats differEvents do not match the container on fileNormalize to prefix plus serial plus check digit, and validate the check digit
Estimate read as actualCustomers told a vessel has arrived when it has notRead the DTM qualifier (139 or 140) or the carrier's equivalent before updating status
Transshipment discharge read as arrivalDrayage booked at the wrong portCheck the location in B406/B411 against the port of discharge in R4*D
Events arrive out of orderStatus goes backwards on the dashboardOrder by event date and time, not by receipt time, and keep every event
Unknown status codes droppedHolds and exceptions go unseenStore any unmapped code and alert on it
No subscription for a B/LNo 315s arrive at allConfirm with the carrier how shipments are subscribed (by B/L, booking or container) and check that every live booking is covered
AV not acted onContainer sits at the terminal past free timeRoute AV events straight to whoever dispatches drayage
No RD after OAEmpty not returned, or return not recordedAlert when an out-gated container has no return event within the period your contract allows

315 Implementation Checklist

Before your first live 315 feed from an ocean carrier, NVOCC or visibility provider:

  • Get the carrier's 315 implementation guide and confirm the X12 version in GS08 (004010 is common)
  • Get its list of status codes and add any carrier-specific ones to your mapping
  • Agree how shipments are subscribed: by B/L, booking number or container
  • Confirm where the container number, B/L and booking numbers appear, and whether the check digit is separate
  • Confirm whether event times are local and how estimates are flagged
  • Map each status to the action your team takes (dispatch, customer notice, receiving appointment)
  • Join 315 events to the 310 by B/L number and to purchase orders by PO number
  • Confirm the 997 you will send back for each 315
  • Test an export sequence, an import sequence, a transshipment, a rail move and a revised estimate

If ocean EDI is new to your team, our EDI document types reference shows where transportation sets sit next to the 850 purchase order and the 856 ASN. The SCAC code glossary entry explains the carrier codes used in the envelope and the 310.

Where OrderSync Fits

A container status is only as useful as your record of what is in the container. That record starts with the purchase order, and for many importers the orders behind a container arrive in a mix of EDI 850s, PDFs, emails and spreadsheets.

OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so the PO numbers on your bookings and 315 events point at accurate orders. Paste any 315 into the free EDI inspector to see it parsed segment by segment with a plain-English summary and any structural errors explained, or book a 15-minute walkthrough to see your own orders processed.

Frequently Asked Questions

What is an EDI 315?

The EDI 315 Status Details (Ocean) is the X12 transaction an ocean carrier sends to report a container or shipment event, such as loaded on vessel, vessel departure, discharge, availability for delivery or out-gate. Each message carries the status code, date, time, location, container number and references like the bill of lading and booking numbers.

What are the EDI 315 status codes?

The status code sits in B403. Common ocean codes from the X12 list include EE empty equipment dispatched, I in-gate, AE loaded on vessel, VD vessel departure, VA vessel arrival, UV unloaded from vessel, CT customs released, AV available for delivery, OA out-gate and RD return container. Each carrier's guide lists the subset it sends.

What is the difference between EDI 214 and 315?

Both report shipment status. The 214 is used by motor carriers and other modes and puts the status in the AT7 segment. The 315 is the ocean version: it puts the status, location and container number in the B4 segment and adds vessel details in Q2.

Who sends the EDI 315?

The ocean carrier sends it, often directly and sometimes through an NVOCC, forwarder or visibility platform. It goes to whoever subscribed to the shipment: the shipper, the consignee or importer, the forwarder, and sometimes the customs broker.

How do I tell an estimated vessel arrival from an actual one?

VA means the vessel is scheduled to arrive or has arrived. Read the date qualifier: in carrier guides that use DTM after the R4 port segment, 139 is estimated and 140 is actual. Only treat the arrival as fact once you have an actual date.

Where is the container number in a 315?

In the B4 segment. B407 is the four-letter owner prefix, B408 the serial number and B413 the check digit. Some carriers also send the container number in an N9 segment with the EQ qualifier.

What functional group and version does the 315 use?

The 315 travels in functional group QO, the value in GS01. Many carrier guides use X12 release 004010, and the version for a given carrier is named in GS08.

How does the 315 relate to the 300, 301 and 310?

The 300 and 301 book the space and produce the booking number. The 310 delivers the bill of lading data and charges. The 315 then reports events against the same booking, bill of lading and container numbers, so all four documents can be joined into one shipment record.

James Darby
Last updated: 11/4/2026

Related Resources