Crane Worldwide Logistics
/
Reservation (Booking Request) (Ocean)
  • Specification
  • EDI Inspector
Import guide into your account
Stedi maintains this guide based on public documentation from Crane Worldwide Logistics. Contact Crane Worldwide Logistics for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
Crane Worldwide Logistics logo

X12 300 Reservation (Booking Request) (Ocean)

X12 Release 4030

This Draft Standard for Trial Use contains the format and establishes the data contents of the Reservation (Booking Request) (Ocean) Transaction Set (300) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used by a shipper or a forwarder to reserve space, containers and equipment for transport by ocean vessel.

Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI sample
  • Sample
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/crane-worldwide-logistics/reservation-booking-request-ocean/01GYCY3GZV495QWBBM23WF0BPV
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
ST
0100
Transaction Set Header
Max use 1
Required
B1
0200
Beginning Segment for Booking or Pick-up/Delivery
Max use 1
Required
Y1
0500
Space Reservation Request
Max use 1
Required
Y2 Loop
N9
0690
Reference Identification
Max use 100
Optional
Consignee
H3
1600
Special Handling Instructions
Max use 6
Optional
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code identifying the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code identifying the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15

Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15

Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I65
Repetition Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator

^
Repetition Separator
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

Code specifying the version number of the interchange control segments

00403
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1999
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

Code indicating sender's request for an interchange acknowledgment

0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1

Code indicating whether data enclosed by this interchange envelope is test, production or information

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

>
Component Element Separator

Functional Group Header

RequiredMax use 1

To indicate the beginning of a functional group and to provide control information

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

RO
Ocean Booking Information (300, 301, 303)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

Code identifying party sending transmission; codes agreed to by trading partners

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

Code identifying party receiving transmission; codes agreed to by trading partners

GS-04
373
Date
Required
Date (DT)
CCYYMMDD format

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

GS-05
337
Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480

T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

004030
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1999

Heading

ST
0100
Heading > ST

Transaction Set Header

RequiredMax use 1

To indicate the start of a transaction set and to assign a control number

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
300
Reservation (Booking Request) (Ocean)
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

B1
0200
Heading > B1

Beginning Segment for Booking or Pick-up/Delivery

RequiredMax use 1

To transmit identifying numbers, dates, and other basic data relating to the transaction set

Example
B1-01
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • B101 is the Standard Carrier Alpha Code (SCAC) of either the carrier receiving the booking request or the carrier sending the booking confirmation.
B1-02
145
Shipment Identification Number
Required
String (AN)
Min 1Max 30

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)

B1-03
373
Date
Optional
Date (DT)
CCYYMMDD format

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

  • B103 is either the date of the booking request or the date the booking was accepted by the carrier.
B1-04
558
Reservation Action Code
Optional
Identifier (ID)

Code identifying action on reservation or offering

N
New
Y1
0500
Heading > Y1

Space Reservation Request

RequiredMax use 1

To specify information used to make a reservation for space on an ocean vessel

Example
If either Date (Y1-02) or Date/Time Qualifier (Y1-09) is present, then the other is required
Y1-01
135
Sailing/Flight Date Estimated
Optional
Date (DT)
CCYYMMDD format

Date for reservation expressed in format CCYYMMDD where CC represents the first two digits of the calendar year

Y1-02
373
Date
Optional
Date (DT)
CCYYMMDD format

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

  • Y102 is the date the shipment for which space reservation is requested to be available at the origin.
Y1-08
375
Tariff Service Code
Optional
Identifier (ID)

Code specifying the types of services for rating purposes

DD
Door-to-Door

Rate applies for shipments in door-to-door service.

DP
Door-to-Pier

Rate applies for shipments in door-to-ocean carrier's port/terminal pier service.

PD
Pier-to-Door

Rate applies for shipments in pier-to-door service.

PP
Pier-to-Pier

All cargo other than that specified in codes HH, HP, or PH whether shipped in containers or otherwise.

Y1-09
374
Date/Time Qualifier
Optional
Identifier (ID)
Min 3Max 3

Code specifying type of date or time, or both date and time

Y2 Loop
OptionalMax >1
Y2
0600
Heading > Y2 Loop > Y2

Container Details

RequiredMax use 1

To specify container information and transportation service to be used

Example
Y2-01
95
Number of Containers
Required
Numeric (N0)
Min 1Max 4

Number of shipping containers

Y2-02
78
Container Type Request Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating type of container equipment requested

Y2-03
56
Type of Service Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying extent of transportation service requested

Y2-04
24
Equipment Type
Required
Identifier (ID)

Code identifying equipment type

20
20' Dry Standard (22G0)
20FC
20' Flat Rack Collapsible (22P3)
20FR
20' Flat Rack (22P1)
20HC
20' High Cube (25G0)
20HR
20' High Cube Refrigerated (25RE)
20HT
20' Hard Top (22UP)
20OT
20' Open Top (22U1)
20RF
20' Reefer (22R1)
20TA
20' Tank (22T0)
40
40' Dry Standard (42G0)
40FC
40' Flat Rack Collapsible (42P3)
40FR
40' Flat Rack (42P1)
40H6
40' Hardtop Containers (46U6)
40HC
40' High Cube (45G0)
40HH
40' High Cube Hard Top (45U6)
40HO
40' High Cube Open Top (44U1)
40HS
40' Super Rack High Cube (46P2)
40HT
40' Hard Top (42UP)
40OT
40' Open Top (42U1)
40PL
40' Platform (49P0)
40RF
40' Reefer (42R1)
40TA
40' Tank (42T0)
40TG
40' Tank for Gases (48T9)
45
45' Dry Standard (9500)
45HC
45' High Cube Dry Container (L6G0)
45HR
45' High Cube Reefer (LNR1)
45OT
45' Open Top (L2U1)
45RH
45' Reefer High Cube (L5R1)
53
53' Dry Container (P2GP)
Y2-05
91
Transportation Method/Type Code
Optional
Identifier (ID)
Min 1Max 2

Code specifying the method or type of transportation for the shipment

Y2-06
177
Intermodal Service Code
Optional
Identifier (ID)
Min 1Max 2

Code identifying the Intermodal Service Plan

Y2-07
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

Y2-08
464
Container Terms Code
Optional
Identifier (ID)
Min 3Max 3

Code indicating origin and destination of transportation and type of container

Y2-09
465
Container Terms Code Qualifier
Optional
Identifier (ID)
Min 1Max 1

Code indicating container terms reference

Y2-10
466
Total Stop-offs
Optional
Numeric (N0)
Min 1Max 2

Total number of stop-offs specified for a shipment

Y2 Loop end
N9
0690
Heading > N9

Reference Identification

OptionalMax use 100

To transmit identifying information as specified by the Reference Identification Qualifier

Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
If Time Code (N9-06) is present, then Time (N9-05) is required
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

CR
Customer Reference Number
DJ
Delivery Ticket Number

Crane usage: incoterms.

HS
Harmonized Code System (Canada)
PO
Purchase Order Number
ZZ
Mutually Defined
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50

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

N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45

Free-form descriptive text

N9-04
373
Date
Optional
Date (DT)
CCYYMMDD format

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

N9-05
337
Time
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

N9-06
623
Time Code
Optional
Identifier (ID)
Min 2Max 2

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

  • N906 reflects the time zone which the time reflects.
N9-07
C040
Reference Identifier
Optional
To identify one or more reference numbers or identification numbers as specified by the Reference Qualifier
If either Reference Identification Qualifier (C040-03) or Reference Identification (C040-04) is present, then the other is required
If either Reference Identification Qualifier (C040-05) or Reference Identification (C040-06) is present, then the other is required
C040-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

C040-02
127
Reference Identification
Required
String (AN)
Min 1Max 50

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

C040-03
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

C040-04
127
Reference Identification
Optional
String (AN)
Min 1Max 50

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

C040-05
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

C040-06
127
Reference Identification
Optional
String (AN)
Min 1Max 50

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

N1 Consignee
RequiredMax >1
Variants (all may be used)
CustomerShipper
N1
0800
Heading > Consignee > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

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-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

CN
Consignee
N1-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

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

ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

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.
N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Min 2Max 2

Code describing entity relationship

  • N105 and N106 further define the type of entity in N101.
N1-06
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying an organizational entity, a physical location, property or an individual

N2
0900
Heading > Consignee > N2

Additional Name Information

OptionalMax use 1

To specify additional names

Example
N2-01
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N2-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N3
1000
Heading > Consignee > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N4
1100
Heading > Consignee > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
Only one of State or Province Code (N4-02) or Country Subdivision Code (N4-07) may be present
If Country Subdivision Code (N4-07) is present, then Country Code (N4-04) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code identifying type of location

N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

N4-07
1715
Country Subdivision Code
Optional
Identifier (ID)
Min 1Max 3

Code identifying the country subdivision

G61
1200
Heading > Consignee > G61

Contact

OptionalMax use 3

To identify a person or office to whom communications should be directed

Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
G61-01
366
Contact Function Code
Required
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

IC
Information Contact
G61-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

G61-03
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

  • G6103 qualifies G6104.
TE
Telephone
G61-04
364
Communication Number
Optional
String (AN)
Min 1Max 256

Complete communications number including country or area code when applicable

G61-05
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20

Additional reference number or description to clarify a contact number

N1 Consignee end
N1 Customer
RequiredMax >1
Variants (all may be used)
ConsigneeShipper
N1
0800
Heading > Customer > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

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-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

LW
Customer
N1-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

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

ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

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.
Usage notes

Send customer party ID which will be provided by Crane WW.

N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Min 2Max 2

Code describing entity relationship

  • N105 and N106 further define the type of entity in N101.
N1-06
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying an organizational entity, a physical location, property or an individual

N2
0900
Heading > Customer > N2

Additional Name Information

OptionalMax use 1

To specify additional names

Example
N2-01
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N2-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N3
1000
Heading > Customer > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N4
1100
Heading > Customer > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
Only one of State or Province Code (N4-02) or Country Subdivision Code (N4-07) may be present
If Country Subdivision Code (N4-07) is present, then Country Code (N4-04) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code identifying type of location

N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

N4-07
1715
Country Subdivision Code
Optional
Identifier (ID)
Min 1Max 3

Code identifying the country subdivision

G61
1200
Heading > Customer > G61

Contact

OptionalMax use 3

To identify a person or office to whom communications should be directed

Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
G61-01
366
Contact Function Code
Required
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

IC
Information Contact
G61-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

G61-03
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

  • G6103 qualifies G6104.
TE
Telephone
G61-04
364
Communication Number
Optional
String (AN)
Min 1Max 256

Complete communications number including country or area code when applicable

G61-05
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20

Additional reference number or description to clarify a contact number

N1 Customer end
N1 Shipper
RequiredMax >1
Variants (all may be used)
ConsigneeCustomer
N1
0800
Heading > Shipper > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

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-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

SH
Shipper
N1-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

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

ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

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.
N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Min 2Max 2

Code describing entity relationship

  • N105 and N106 further define the type of entity in N101.
N1-06
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying an organizational entity, a physical location, property or an individual

N2
0900
Heading > Shipper > N2

Additional Name Information

OptionalMax use 1

To specify additional names

Example
N2-01
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N2-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N3
1000
Heading > Shipper > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N4
1100
Heading > Shipper > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
Only one of State or Province Code (N4-02) or Country Subdivision Code (N4-07) may be present
If Country Subdivision Code (N4-07) is present, then Country Code (N4-04) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code identifying type of location

N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

N4-07
1715
Country Subdivision Code
Optional
Identifier (ID)
Min 1Max 3

Code identifying the country subdivision

G61
1200
Heading > Shipper > G61

Contact

OptionalMax use 3

To identify a person or office to whom communications should be directed

Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
G61-01
366
Contact Function Code
Required
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

IC
Information Contact
G61-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

G61-03
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

  • G6103 qualifies G6104.
TE
Telephone
G61-04
364
Communication Number
Optional
String (AN)
Min 1Max 256

Complete communications number including country or area code when applicable

G61-05
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20

Additional reference number or description to clarify a contact number

N1 Shipper end
R4 Loop
RequiredMax >1
R4
1300
Heading > R4 Loop > R4

Port or Terminal

RequiredMax use 1

Contractual or operational port or point relevant to the movement of the cargo

Example
If either Location Qualifier (R4-02) or Location Identifier (R4-03) is present, then the other is required
R4-01
115
Port or Terminal Function Code
Required
Identifier (ID)

Code defining function performed at the port or terminal with respect to a shipment

D
Port of Discharge (Operational)

Port at which cargo is unloaded from vessel.

E
Place of Delivery (Contractual)

Place at which cargo leaves its care and custody of carrier.

L
Port of Loading (Operational)

Port at which cargo is loaded on vessel.

R
Place of Receipt (Contractual)

Place at which cargo enters the care and custody of carrier.

R4-02
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code identifying type of location

R4-03
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

R4-04
114
Port Name
Optional
String (AN)
Min 2Max 24

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

R4-05
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

R4-06
174
Terminal Name
Optional
String (AN)
Min 2Max 30

Free-form field for terminal name

R4-07
113
Pier Number
Optional
String (AN)
Min 1Max 4

Identifying number for the pier

R4-08
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

DTM
1400
Heading > R4 Loop > DTM

Delivery Requested

OptionalMax use 15

To specify pertinent dates and times

Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
At least one of Date (DTM-02), Time (DTM-03) or Date Time Period Format Qualifier (DTM-05) is required
If either Date Time Period Format Qualifier (DTM-05) or Date Time Period (DTM-06) is present, then the other is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

002
Delivery Requested
DTM-02
373
Date
Optional
Date (DT)
CCYYMMDD format

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

DTM-03
337
Time
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

DTM-04
623
Time Code
Optional
Identifier (ID)
Min 2Max 2

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

DTM-05
1250
Date Time Period Format Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code indicating the date format, time format, or date and time format

DTM-06
1251
Date Time Period
Optional
String (AN)
Min 1Max 35

Expression of a date, a time, or range of dates, times or dates and times

DTM
1400
Heading > R4 Loop > DTM

Requested Pick-up

OptionalMax use 15

To specify pertinent dates and times

Example
Variants (all may be used)
DTMDelivery Requested
If Time Code (DTM-04) is present, then Time (DTM-03) is required
At least one of Date (DTM-02), Time (DTM-03) or Date Time Period Format Qualifier (DTM-05) is required
If either Date Time Period Format Qualifier (DTM-05) or Date Time Period (DTM-06) is present, then the other is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

118
Requested Pick-up
DTM-02
373
Date
Optional
Date (DT)
CCYYMMDD format

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

DTM-03
337
Time
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

DTM-04
623
Time Code
Optional
Identifier (ID)
Min 2Max 2

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

DTM-05
1250
Date Time Period Format Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code indicating the date format, time format, or date and time format

DTM-06
1251
Date Time Period
Optional
String (AN)
Min 1Max 35

Expression of a date, a time, or range of dates, times or dates and times

R4 Loop end
H3
1600
Heading > H3

Special Handling Instructions

OptionalMax use 6

To specify special handling instructions in coded or free-form format

Example
Only one of Special Handling Code (H3-01) or Special Handling Description (H3-02) may be present
H3-01
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3

Code specifying special transportation handling instructions

H3-02
153
Special Handling Description
Optional
String (AN)
Min 2Max 30

Free-form additional description of special handling instructions to appear on printed bill if special handling code is not adequate

H3-03
241
Protective Service Code
Optional
Identifier (ID)
Min 1Max 4

Code specifying perishable protective service- rail carriers only

H3-04
242
Vent Instruction Code
Optional
Identifier (ID)
Min 1Max 7

Code specifying vent instructions

H3-05
257
Tariff Application Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating to which traffic a tariff applies

Heading end

Detail

LX Loop
RequiredMax >1
LX
0100
Detail > LX Loop > LX

Assigned Number

RequiredMax use 1

To reference a line number in a transaction set

Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6

Number assigned for differentiation within a transaction set

L0
0400
Detail > LX Loop > L0

Line Item - Quantity and Weight

OptionalMax use 1

To specify quantity, weight, volume, and type of service for a line item including applicable "quantity/rate-as" data

Example
If either Billed/Rated-as Quantity (L0-02) or Billed/Rated-as Qualifier (L0-03) is present, then the other is required
If either Weight (L0-04) or Weight Qualifier (L0-05) is present, then the other is required
If either Volume (L0-06) or Volume Unit Qualifier (L0-07) is present, then the other is required
If either Lading Quantity (L0-08) or Packaging Form Code (L0-09) is present, then the other is required
If Weight Unit Code (L0-11) is present, then Weight (L0-04) is required
If either Quantity (L0-13) or Yes/No Condition or Response Code (L0-15) is present, then the other is required
L0-01
213
Lading Line Item Number
Optional
Numeric (N0)
Min 1Max 3

Sequential line number for a lading item

L0-02
220
Billed/Rated-as Quantity
Optional
Decimal number (R)
Min 1Max 11

Basis for rating (miles, value, volume, etc.); Note: Weight may be defined by either data element 220 or 81

L0-03
221
Billed/Rated-as Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type of quantity or value on which the rate or item pricing is based

L0-04
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

L0-05
187
Weight Qualifier
Optional
Identifier (ID)

Code defining the type of weight

G
Gross Weight
L0-06
183
Volume
Optional
Decimal number (R)
Min 1Max 8

Value of volumetric measure

L0-07
184
Volume Unit Qualifier
Optional
Identifier (ID)

Code identifying the volume unit

E
Cubic Feet
X
Cubic Meters
L0-08
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

  • L008 is the number of handling units of the line item tendered to the carrier.
L0-09
211
Packaging Form Code
Optional
Identifier (ID)
Min 3Max 3

Code for packaging form of the lading quantity

L0-10
458
Dunnage Description
Optional
String (AN)
Min 2Max 25

Material used to protect lading

L0-11
188
Weight Unit Code
Optional
Identifier (ID)

Code specifying the weight unit

K
Kilograms
L
Pounds
T
Long Ton
L0-12
56
Type of Service Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying extent of transportation service requested

L0-13
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • L013 can only be used if the code in L009 is PLT, SKD, or SLP.
  • L013 is used to convey the total number of boxes, cartons, or pieces contained on a pallet, skid, or slip sheet for the line item.
L0-14
211
Packaging Form Code
Optional
Identifier (ID)
Min 3Max 3

Code for packaging form of the lading quantity

L0-15
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating a Yes or No condition or response

  • L015 designates whether the carrier will be required to verify the number of units contained on a pallet, slip sheet or skid. Code "Y" indicates that the carrier will be required to verify. Code "N" indicates that the carrier will not be required to verify.
LX Loop end
Detail end

Summary

SE
0100
Summary > SE

Transaction Set Trailer

RequiredMax use 1

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

Total number of segments included in a transaction set including ST and SE segments

SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Summary end

Functional Group Trailer

RequiredMax use 1

To indicate the end of a functional group and to provide control information

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

EDI Samples

Sample

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231117*0050*^*00403*000000001*0*T*>~
GS*RO*SENDERGS*RECEIVERGS*20231117*005000*000000001*X*004030~
ST*300*233207846~
B1*CNRV*30013836J7*20210708*N~
Y1*20210427*20210621******PP*371~
Y2*1*R**40FC*S**ACLU~
Y2*1*R**20HR*S**ACLU~
N9*CR*167437_PL007~
N9*PO*494988~
N9*ZZ*87289~
N9*DJ*FCA~
N9*HS*123456~
N1*SH*Shipper Name~
N3*KONSTRUKTIONSVAGEN 2~
N4*MOLNLYCKE**43533*SE*93*300100000002500~
G61*IC*Shipper contact name*TE*46313370114~
N1*LW*customer Name*ZZ*CUSTID~
N3*PO BOX 17626~
N4*ST LOUIS*MO*63178*US*93*CASS~
G61*IC*customer contact name*TE*888-888-8087~
N1*CN*Consignee Name~
N3*6021 INNOVATION BLVD~
N4*SHAKOPEE*MN*55379*US*93*300100000012590~
G61*IC*consignee contact name*TE*888-888-8088~
R4*L*UN*ZADUR~
DTM*118*20210427*035556~
R4*D*UN*AUADL~
DTM*002*20210621*213000~
H3*HAZ~
H3*OTC~
LX*1~
L0****43314.17*G*34.56*X*1*PCS**L~
LX*2~
L0****43314.18*G*34.57*X*2*PCS**L~
SE*33*233207846~
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.