What is an EDI 300?

An EDI 300 Reservation/Booking Request (Ocean) contains information that is needed to file a booking request for an ocean vessel, it is used by a shipper or a forwarder to reserve space, containers and equipment for transport by ocean vessel.

Specifications and Key Data Elements:

  • Reserve containers and/or equipment for ocean-going transport
  • Reserve space on an ocean vessel for transport
  • Ocean-going shipment booking/processing

M = Mandatory, O = Optional, X = Not Needed

ElementRefDescriptionElement IDTypeReqFixed ValuesSample SegmentComments
ST – Transaction Set HeaderST01Transaction Set Identifier Code143IDM300ST300942620001~

(Maximum Use = 1)
300
  Reservation (Booking Request) (Ocean)
ST02Transaction Set Control Number

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
329ANM
B1 – Beginning Segment for Booking or Pick-up /DeliveryB101Standard carrier alpha code


Code identifying the Standard Carrier Alpha Code.

B101 contains the Standard Carrier Alpha Code (SCAC) of either the carrier receiving the booking request or the carrier sending the booking confirmation.
140ANOB1*CAMN*12345670*20050414*N~

(Maximum Use = 1)
Ocean Carrier’s Standard Carrier Alpha Code (SCAC)
B102Shipment identification number


Identification number assigned to the shipment by the shipper that uniquely identifies the shipment from origin to ultimate destination and is not subject to modification; (Does not contain blanks or special characters)
145ANMLFL’s TM system Booking Number

This number must be returned in all EDI messages
EDI301 in B1-02
EDI315 in ??

EDI310 in B3-03
B103Date


Date expressed as CCYYMMDD


B103 is either the date of the booking request or the date the booking was accepted by the carrier.
373DTOBooking Request Date
Booking Cancellation Date
Booking Change Date

Depending on B104 Code
B104Reservation Action Code558IDOD
  = Reservation Cancelled

N
= New

U
= Change
G61  ContactG6101Contact Function Code366IDOICG61*iIC*THE BRICK TRAFFIC GROUP*EM*traffic@thebrick.com~

(Maximum Use = 3)
IC
  Information Contact
G6102Name93ANOTHE BRICK Traffic Group
G6103Communication Number Qualifier365IDOEMEM = Email Address 


G6104Communication Number 364ANOtraffic@thebrick.com
Y6 AuthenticationY601Authority Identifier Code313IDOY6*~

(Maximum Use = 2)
Not Used
Y602Authority  151ANMNot Used
Y603Authorization Date275DTMNot Used
Y7 PriorityY701Priority467N0OY7*~

(Maximum Use = 1)
Not Used
Y702Priority Code470M0XNot Used
Y703Priority Code Qualifier471ANONot Used
Y704Port Call File Number168M0ONot Used
Y705Date373DTO/ZY705 (Latest Arrival at Place of Delivery
Y1 Space Reservation RequestY101Sailing/Flight Date Estimated


Date for reservation expressed in format CCYYMMDD where CC represents the first two digits of the calendar year
135DTOY1*20221106*20221106**O****PP*018~

(Maximum Use = 1)
CCYYMMDD
Earliest Departure from Place of Receipt (Estimated) – the earliest possible date on which the cargo should leave from the Place of Receipt (R4*R)

Where no place of receipt is provided, Y101 refers to the earliest departure from port of load (R4*L)
Y102Date

The date the shipment for which space reservation is requested, to be
available at the origin.



Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

If either Y1-02 or Y1-09 is present, then the other is required.
373DTXCCYYMMDD


Date Available at Vendor.
Y103Standard Carrier Alpha Code140IDOOcean Carrier SCAC Code

Will not be populated if B2-04 = N (NEW) since Forwarder is determining.
May be populated for other B2-04 values (D or U).
Y104Transportation Method/Type Code


Code specifying the method or type of transportation for the shipment
91IDOO
= Containerized Ocean
Y105Entity Identifier Code98IDONot Used
Y106City Name19ANONot Used
Y107State or Province Code156IDONot Used
Y108Tariff Service Code


Code specifying the types of services for rating purposes
375IDOSame for all the equipment on the booking.

DD = Door To Door
DP = Door to Port
PD = Port to Door
PP = Port to Port (All other cargo other than that specified in codes DD, DP, PD, PR or PP.)
PR = Port to Railhead
Y109Date/Time Qualifier

Code specifying type of date or time, or both date and time
374IDX018   Available
Y2 Container DetailsY201Number of containers


Number of shipping containers
95N0MY2*2*R**45G1*O~

(Maximum Use = 1)
Number of containers 
Y202Container Type Request Code


Code indicating type of container equipment requested
78IDOR = Containers
Y203Type of Service Code

Code specifying extent of transportation service requested
56IDONot Used
Y204Equipment Type

Code identifying equipment type
24IDMISO Equipment Type Code
42G1
  (40′ x 8’6” x 8′)  Std Dry

45G1
  (40′ x 9’6” x 8′)  High Cube Dry
Y205Transportation method/Type Code


Code specifying the method or type of transportation for the shipment
91IDOO = Containerized Ocean
Y206Intermodal Service Code177IDONot Used
Y207Standard Carrier Alpha Code140IDONot Used
Y208Container Terms Code464IDONot Used
Y209Container Terms Code Qualifier465IDONot Used
Y210Total Stop-offs466N0ONot Used
W09 Equipment and TemperatureW0901Equipment Description Code40IDMW09*~

(Maximum Use = 1)
Not Used
W0902Temperature408RX/ZNot Used
W0903Unit or Basis for Measurement Code355IDXNot Used
W0904Temperature408RX/ZNot Used
W0905Unit or Basis for Measurement Code355IDXNot Used
W0906Free-form Description 3ANO/ZNot Used
W0907Vent Setting Code112ID
ONot Used
W0908Percent488N0O/ZNot Used
W0909Quantity380RO/ZNot Used
N9 Reference IdentificationN901Reference Identification Qualifier


Code identifying the Reference Identification
128IDMN9*SI*1180*1180~

N9*PO*1100722CL9*1180~

N9*FN*1039163852~

N9*BN*88859494~

(Maximum Use = 100)
BN –
Booking Number (Pre-Assigned by Carrier)
.  Only available on Update, and if 301 has been previously received.


FN

Forwarder’s/Agent’s Reference Number
(only available on Update or Cancellation)


PO

Purchase Order Number



SI

Shipper’s Identifying Number for Shipment (SID)

A unique number assigned by LFL’s TM system to identify the Load (Container).
N902Reference Identification
 

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

At least one of N9-02 or N9-03 is required.
127ANX
N903Free-form Description


Free-form descriptive text
369ANXIF N9-01 = SI,
then Actual Container # will be populated in this element.  If no Actual Container # is available, then generic
CONTXX
will be populated.  XX will be sequentially incremented.



IF
N9-01 = PO, THEN

Related Load ID (SI) will be populated in this element.

IF
N9-01 = FN or BN
, THEN this element blank.
N904Date


Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
373DTONot Used
N905Time337TMXNot Used
N906Time Code623IDO/ZNot Used
N907Reference IdentifierC040O/ZNot Used
R2A Route information with PreferenceR2A01Routing Sequence Code133IDMR2A*~

(Maximum Use = 25)
Not Used
R2A02Preference1431IDMNot Used
R2A03Transportation Method/Type Code91IDONot Used
R2A04Standard Carrier Alpha Code140IDONot Used
R2A05Location Qualifier309IDO/ZNot Used
R2A06Location Identifier310ANXNot Used
R2A07Type of Service Code56IDONot Used
R2A08Route Code1ANONot Used
R2A09Route Description742ANONot Used
R2A10Entity Identifier Code98IDO/ZNot Used
N1 Name
N101
Entity Identifier Code


Code identifying an organizational entity, a physical location, property or an individual
98IDMN1*BT*THE BRICK~

N1*SH*HOMESTAR CORPORATION*93*012F001~

N1*SF*PORT OF SHANGHAI*93*CNSHA~

N1*ST*PORT OF VANCOUVER*93*CAVAN~

N1*CN*LFL GROUP EDMONTON DISTRIBUTION CENTRE*93*Z1~

(Maximum Use = 1)
BT = Bill To (The Brick or Leon’s)

SH
= Shipper (VENDOR)


SF
= Ship From (K&N Responsibility starts) Origin Port

ST
= Ship To (Destination Port or Railhead)

CN
= Final Consignee for Container


1st Iteration: BT
2nd Iteration – SH
3rd Iteration – SF
4th Iteration – ST
5th Iteration – CN

N102

Name


Free form name.

At least one of N1-02 or N1-03 is required
93ANXIf N1-01 = BT
, then this element will contain either “THE BRICK” or “LEON’S”

N103
Identification Code Qualifier


Code specifying the system/method of code structure used for Identification Code (67)

If either N1-03 or N1-04 is present, then the other is required.
66IDX93 = Code assigned by the organization originating the transaction set


UN

N104
Identification Code


Code identifying a party or other code

This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the “ID Code” (N104) must provide a key to the table maintained by the transaction processing party.
67ANX

N105

Entity Relationship Code
706IDX
Not Used

N106

Entity Identifier Code
98ANX
Not Used
N2 NameN201Name93ANMN2*~

(Maximum Use = 1)
Not Used
N202Name93ANONot Used
N3 Address InformationN301Address Information166ANMN3*99 Canada Place*ADDITIONAL ADDRESS INFO~

(Maximum Use = 2)
N302Address Information166ANO
N4 Geographic LocationN401City name19ANON4*VANCOUVER*BC*V6C3T4*CAN~

(Maximum Use = 1)
N402State of Province Code156IDOStandard State/Province Code as defined by appropriate government agency.

N402 is required only if City Name (N401) is in the U.S. or Canada.
N403Postal Code116IDOCode defining international postal zone code excluding punctuation and blanks. Postal Code if Canada.
N404Country Code26IDOCode identifying the country (ISO Code)
N405Location Qualifier309IDXNot Used
N406Location Identifier310ANONot Used
G61  ContactG6101Contact Function Code366IDMG61ICUNKNOWNEAddcrec@lflgroup.ca~

(Maximum Use = 3 )
IC
= Information Contact 
G6102Name93ANMContact info for each N1 entity.
G6103Communication Number Qualifier365IDXTE
= Telephone

EM
= Electronic Mail
G6104Communication Number  364ANXComplete communications number including country or area code when applicable
G6105Contact Inquiry Reference443ANONot Used
R4  Port or TerminalR401Port or Terminal Function Code

Code defining function performed at the port or terminal with respect to a shipment
115IDMR4*D*D*4909*SAN JUAN*PR***PR~

R4*J*D*0901*BUFFALO, NY~

R4*R***ALBANY*US***GA~

(Maximum Use = 1)
Check for the value in Y108 element… the value in Y108 will determine the xml source for the values in the R4 Segment.

D –
Port of Discharge
(Operational)

E

Place of Delivery
(Contract) (Cargo leaves care & custody)

L – Port of Loading
(Operational)

R

Place of Receipt
(Place at which cargo enters care and custody of carrier)

7

Destination Rail Intermodal Terminal


At least 2 R4 segments (and therefore loops) are required… one for Port of Load or Place of Receipt & another for Port of Discharge or Place of Delivery depending on the Tariff Service Code (Y108).

For FAK rates, Port of Discharge is not known… there will be no D value provided.
R402Location Qualifier

Code identifying type of location

If either R4-02 or R4-03 is present, then the other is required
309IDXUN

= United Nations Location Code (UNLOCODE)
93 = 
R403Location Identifier


Code which identifies a specific location
310ANX
R404Port Name

Free-form name for the place at which an offshore carrier originates or terminates (by transshipment or otherwise) its actual ocean carriage of property
114ANO
R405Country Code

Code identifying the country
26IDOISO Country Code – Two Character code in ISO 3166
R406Terminal Name174ANONot Used
R407Pier Number113ANONot Used
R408State or Province Code156IDOUse Postal abbreviations
DTM Date/Time ReferenceDTM01Date/Time Qualifier


Code specifying type of date or time, or both date and time
374IDMDTM*371*20141022~

DTM*369*20230412~

(Maximum Use = 15)
This segment pertains to the R4 segment immediately preceding this segment.



If R4-01 =
E

(Place of Delivery)
, the following DTM Qualifier will be sent:

371
– Estimated Date of Arrival 
(Latest Delivery DT)


If R4-01 =
R
(Place of Receipt)
, the following DTM Qualifier will be sent:

369
– Estimated Departure Date

If R4-01 =
L

(Port of Loading)
, the following DTM Qualifier will be sent:
(Only available on UPDATE)


369
– Estimated Departure Date

If R4-01 =
D

(Port of Discharge)
, the following DTM Qualifier will be sent: 
(Only available on UPDATE)


371
– Estimated Arrival Date

If R4-01 =
7
(Destination Rail Intermodal Terminal)
, the following Qualifier will be sent:


371
– Estimated Date of Arrival  (Latest Delivery DT)
DTM02Date


Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

At least one of DTM-02, DTM-03 or DTM-05 is required
373DTXCCYYMMDD
DTM03Time337TMXHHMMSSSS
DTM04Time Code


Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or – and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and – are substituted by P and M in the codes that follow

If DTM-04 is present, then DTM-03 is required
623IDOLT = Local Time
DTM05Date Time Period Format Qualifier1250IDXNot Used
DTM06Date Time Period  1251ANXNot Used
H3 Special Handling InstructionsH301Special Handling Code152IDXH3*****~

(Maximum Use = 6 )
MP = Multiple Pickup

SDL = Split Delivery  NOT FOR OCEAN
H302Special Handling Description153ANXNot Used
H303Protective Service Code241IDONot Used
H304Vent Instruction Code242IDONot Used
H305Tariff Application Code257IDONot Used
EA Equipment AttributesEA01Equipment Attribute Code1402IDMEA***~

(Maximum Use = 5)
Not Used
EA02Composite Unit of MeasureC001XNot Used
EA03Quantity380RXNot Used
LX Assigned NumberLX01Assigned Number554N0MLX*1~

(Maximum Use = 1)
Sequentially generated number.
N7 Equipment DetailsN701Equipment Initial


Prefix or alphabetic part of an equipment unit’s identifying number
206ANON7*OOCU*7158160********************45G1***~

N7**1180**********************~

(Maximum Use = 1)
Not Used
N702Equipment number

Sequencing or serial part of an equipment unit’s identifying number (pure numeric form for equipment number is preferred)
207ANMMAX 15

If Equipment number is known prior to Booking Request being created, this element will be populated
ELSE
a “logical” Equipment Number will be used to link Commodities to Requested Equipment in N9. Need to populate this element with the relevant SI values from N9.

Only one of a logical or Actual Equipment Number can occur.
N703Weight81RONot Used
N704Weight Qualifier187IDONot Used
N705Tare Weight167N0ONot Used
N706Weight Allowance232N0ONot Used
N707Dunnage205N0ONot Used
N708Volume183RONot Used
N709Volume Unit Qualifier184IDONot Used
N710Ownership Code102IDONot Used
N711Equipment description code40IDONot Used
N712Standard Carrier Alpha Code140IDONot Used
N713Temperature Control319ANONot Used
N714Position219ANONot Used
N715Equipment Length567N0ONot Used
N716Tare Qualifier Code571IDONot Used
N717Weight Unit Code188IDONot Used
N718Equipment Number Check Digit761N0ONot Used
N719Type of Service Code56IDONot Used
N720Height65RONot Used
N721Width189RONot Used
N722Equipment Type24IDOISO Equipment Type Code
42G1  (40′ x 8’6” x 8′)  Std Dry
45G1  (40′ x 9’6” x 8′)  High Cube Dry
N723Standard Carrier Alpha Code140IDO42G1
N724Car Type Code301IDO45G1
W09 Equipment and Temperature
W0901Equipment Description Code40IDMW09*CN*35*FA~

(Maximum Use = 1)
CN = Container
W0902Temperature408RX/ZThe minimum allowable temperature condition for the shipment
W0903Unit or Basis for Measurement Code355IDXFA = Fahrenheit
W0904Temperature408RX/ZThe maximum allowable temperature condition for the shipment
W0905Unit or Basis for Measurement Code355IDX
W0906Free-form Description 3ANO/ZUsed to describe the environment required within the ocean-type, refrigerated container when other than normal air is required
W0907Vent Setting Code1122IDOA =
Vent 25% Open

B =
Vent 50% Open

C = 
Vent 75% Open

D =
Vent 100% Open

E =
Closed

F =
Vent 10% Open

Z =
Carrier to Set Based on Commodity Type
W0908Percent488N0O/ZThe humidity percentage
W0909Quantity380RO/ZThe number of air exchanges per hour
DTM Date/Time ReferenceDTM01Date/Time Qualifier374IDMDTM*~

(Maximum Use = 1)
DTM02Date 373DTX
DTM03Time337TMX
DTM04Time Code623IDO
DTM05Date Time Period Format Qualifier1250IDX
DTM06Date Time Period  1251ANX
L0 Line Item – Quantity and WeightL01Lading Line Item Number

Sequential line number for a lading item
213N0OL0*1***21000.55*G*1501.66*E*25*PCS**L~

(Maximum Use = 1 )
Sequential line number
L02Billed/Rated-as Quantity

Basis for rating (miles, value, volume, etc.); Note: Weight may be defined by either data element 220 or 81
220RXNot Used
L03Billed/Rated-as Qualifier221IDXNot Used
L04Weight

Numeric value of weight

If either L0-04 or L0-05 is present, then the other is required
81RXLoad / Container Weight
L05Weight Qualifier

Code defining the type of weight
187IDXGG
= Gross Weight
L06Volume

Value of volumetric measure

If either L0-06 or L0-07 is present, then the other is required
183RX
L07Volume Unit Qualifier

Code identifying the volume unit
184IDXE
= Cubic Feet

X
= Cubic Meters
L08Lading Quantity

Number of units (pieces) of the lading commodity

If either L0-08 or L0-09 is present, then the other is required.

L008 is the number of handling units of the line item tendered to the carrier.
80N0X/ZNumber of units (pieces)
L09Packaging Form Code

Code for packaging form of the lading quantity
211IDXPCS
= Pieces

MXD
= Mixed
L10Dunnage Description


Material used to protect lading
458ANONot Used
L11Weight Unit Code

Code specifying the weight unit

If L0-11 is present, then L0-04 is required
.
188IDOK
= Kilograms

L
= Pounds
L5 Description, Marks and NumbersL501Lading Line Item Number

Sequential line number for a lading item
213N0OL5*1*OFFSHORE UPHOLSTERY*********~

(Maximum Use = 1)
Sequential number
L502Lading Description


Description of an item as required for rating and billing purposes

L502 may be used to send quantity information as part of the product description.
79ANOMax 50
L503Commodity Code


Code describing a commodity or group of commodities. Max 30

If either L5-03 or L5-04 is present, then the other is required
22ANXNot Used
L504Commodity Code Qualifier


Code identifying the commodity coding system used for Commodity Code
23IDXNot Used
L505Packaging CodePackaging Code


Code identifying the type of packaging; Part 1: Packaging Form, Part 2: Packaging Material; if the Data Element is used, then Part 1 is always required
103ANONot Used
L506Marks and Numbers87ANXNot Used
L507Marks and Numbers Qualifier88IDONot Used
L508Commodity Code Qualifier23IDXNot Used
L509Commodity Code22ANXNot Used
L510Compartment ID Code595IDONot Used
L4 MeasurementL401Length82RML4******~

(Maximum Use = 1)
Not Used
L402Width189RMNot Used
L403Height65RMNot Used
L404Measurement Unit Qualifier90IDMNot Used
L405Quantity380RONot Used
L406Industry Code1271ANO/ZNot Used
L1 Rate and ChargesL101Lading Line item number213ROL1*~

(Maximum Use = 1)
Not Used
L102Freight rate60RMNot Used
L103Rate/value qualifier122MPUNot Used
L104Charge58N2MNot Used
L105Advances191N2XNot Used
L106Prepaid Amount (Discount)117N2NNot Used
L107Rate Combination Point Code120ANONot Used
L108Special Charge or Allowance Code150IDMNot Used
L109Rate Class code121IDONot Used
L110Entitlement Code39IDONot Used
L111Charge Method of Payment16ANMNot Used
L112Special Charge Description276ANONot Used
L113Tariff Application Code257IDONot Used
L114Declared Value75N2XNot Used
L115Rate/Value Qualifier122IDXNot Used
L116Lading Liability Code372IDONot Used
L117Billed/Rated-as Quantity220RMNot Used
L118Billed/Rated-as Quantity221IDMNUNot Used
L119Percent954RO/ZNot Used
L120Currency Code 100IDO/ZNot Used
L121Amount610N2O/ZNot Used
H1 Hazardous MaterialH101Hazardous Material Code62ANMH1*1219*3*I*C 5 0.5 kg P3~     

(Maximum Use = 1)
Code relating to hazardous material code qualifier for regulated hazardous materials

Hazardous UN Number
H102Hazardous Material Class Code209ANOCode specifying the kind of hazard for a material

Hazardous IMO Class
H103Hazardous Material Code Qualifier208IDOI
= Intergovernmental Maritime Organization (IMO) Code
H104Hazardous Material Description 64ANOMaterial name, special instructions, and phone number if any
H105Hazardous Material Contact63ANOPhone number and name of person or department to contact in case of emergency
H106Hazardous Materials Page200ANONot Used
H107Flashpoint Temperature77NXThe flashpoint temperature for hazardous material
H108Unit or Basis for Measurement Code355IDXCode specifying the units in which a value is being expressed, or manner in which a measurement has been taken

CE = Centigrade – Celsius
FA = Fahrenheit
H109Packaging Group Code254IDOCode indicating degree of danger in terms of Roman number I, II or III
H2 Additional Hazardous Material Description H201Hazardous Material Description 64ANMH2**~

(Maximum Use = 1)
Material name, special instructions, and phone number if any
H202Hazardous Material Classification274ANOFree-form description of hazardous material classification or division or label requirements
V1 Vessel Identification V101Vessel Code597IDXV1**COSCO PACIFIC**081*OOCL***L*~

(Maximum Use = 2)
Code identifying vessel
Lloyd’s of London Registry of Ships number
V102Vessel Name182ANXName of ship as documented in “Lloyd’s Register of Ships”
No Special Characters

NOT KNOWN ON NEW
V103Country Code26IDO/Z
V104Flight/Voyage Number55ANOIdentifying designator for the particular flight or voyage on which the cargo travels (requested voyage number)
No Special Characters
V105Standard Carrier Alpha Code140IDO/ZNot Used
V106Vessel Requirement Code249IDONot Used
V107Vessel Type Code854IDONot Used
V108Vessel Code Qualifier897IDOL
= Lloyds of London 
V109Transportation Methods/Type Code91IDONot Used
V9 Event DetailV901Event Code304IDMV9********************~

(Maximum Use = 10)
Not Used
V902Event Code106ANONot Used
V903Date373DTO/ZNot Used
V904Time337TMX/ZNot Used
V905City Name19ANONot Used
V906State or Province Code156IDONot Used
V907Country Code26IDONot Used
V908Status Reason Code641IDONot Used
V909Standard Point Location Code154IDX/ZNot Used
V910Quantity380RX/ZNot Used
V911Train Delay Reason Code1274ANXNot Used
V912Free-Form Message61ANONot Used
V913Time Code623IDO/ZNot Used
V914Quantity380RO/ZNot Used
V915Standard Point Location Code154IDO/ZNot Used
V916Total Equipment86N0O/ZNot Used
V917Total Equipment86N0O/ZNot Used
V918Total Equipment86N0O/ZNot Used
V919Weight 81RO/ZNot Used
V920Length82RO/ZNot Used
K1 RemarksK101Free-Form Message61ANMK1**~

(Maximum Use = 2)
K102Free-Form Message61ANO
SE  Transaction Set TrailerSE01Number of Included Sets96N0MSE*18*942620001~A440:G451

(Maximum Use = 1)
SE02Transaction Set Control #329ANM