304 Shipping Instruction (Ocean)
Version 2.0
304 Shipping Instruction (Ocean)
Purpose
This EDI Message Implementation Guide has been developed by Maersk to assist
interested EDI partners in developing and implementing the 304/004010 shipping
instruction message.
This user manual is based on the ANSI X12 004010 directory.
EDI partners are recommended to review all narrative sections of this document in
conjunction with the message maps.
304 Shipping Instructions
Functional Group=SO
Purpose: This Draft Standard for Trial Use provides the format and establishes the data contents of the Shipment
Instructions Transaction Set (304) for use within the context of an Electronic Data Interchange (EDI) environment.When this transaction set is transmitted to an ocean carrier, it provides all the information necessary to prepare and distribute a contract of carriage such as an ocean bill of lading, sea waybill, and other shipping documents. When this transaction set is transmitted to a freight forwarder or customs broker, it provides for the transmission of shipping and financial information required by the forwarder or customs broker to move cargo and provide the services requested.
Not Defined: Pos Id Segment Name Req Max Use Repeat Notes Usage
005 ISA Interchange Control Header M 1 M
007 GS Functional Group Header M 1 M
Heading: Pos Id Segment Name Req Max Use Repeat Notes Usage
010 ST Transaction Set Header M 1 M
020 B2 Beginning Segment for Shipment Information Transaction
M 1 M
030 B2A Set Purpose O 1 O
080 N9 Reference Identification O 100 O
090 V1 Vessel Identification O 2 O
110 M0 Letter of Credit Reference O 1 O
115 CUR Currency O 1 N1/115 O
LOOP ID - N1 100
160 N1 Name O 1 O
170 N2 Additional Name Information O 2 O
180 N3 Address Information O 2 O
190 N4 Geographic Location O 1 O
195 G61 Contact O 3 O
LOOP ID - R4 20
200 R4 Port or Terminal O 1 O
220 R2 Route Information O 13 O
230 K1 Remarks O 12 O
240 L11 Business Instructions and Reference Number
O 99 O
250 H3 Special Handling Instructions O 6 O
270 X1 Export License O 25 O
280 X2 Import License O 5 O
LOOP ID - C8 20
290 C8 Certifications and Clauses O 1 O
295 C8C Certifications Clauses Continuation
O 5 O
300 SUP Supplementary Information O 10 O
Detail: Pos Id Segment Name Req Max Use Repeat Notes Usage
LOOP ID - LX 999 N2/010L
010 LX Assigned Number M 1 M
020 Y2 Container Details O 10 O
LOOP ID - N7 999
030 N7 Equipment Details O 1 O
035 QTY Quantity O 1 O
038 L4 Measurement O 1 O
050 M7 Seal Numbers O 5 O
060 W09 Equipment and Temperature O 1 O
130 N9 Reference Identification O 100 O
LOOP ID - L0 1
170 L0 Line Item - Quantity and Weight
O 1 O
177 L4 Measurement O 1 O
185 L5 Description, Marks and Numbers
O 999 O
190 L12 Alternate Lading Description O 20 O
240 X1 Export License O 25 O
250 X2 Import License O 5 O
LOOP ID - C8 20
260 C8 Certifications and Clauses O 1 O
LOOP ID - H1 10
270 H1 Hazardous Material O 1 O
LOOP ID - N1 10
380 N1 Name O 1 O
420 G61 Contact O 3 O
Summary: Pos Id Segment Name Req Max Use Repeat Notes Usage
LOOP ID - L3 1
010 L3 Total Weight and Charges O 1 O
020 PWK Paperwork O 50 O
060 K1 Remarks O 999 O
080 SE Transaction Set Trailer M 1 M
Not Defined: Pos Id Segment Name Req Max Use Repeat Notes Usage
090 GE Functional Group Trailer O 1 O
100 IEA Interchange Control Trailer O 1 O
Notes: 1/115 The currency specified at this position will be in effect for all monetary values except those accompanied by a
currency segment. If any other currency segments are transmitted, they will apply to the loop in which they occur.
2/010L Please refer to the sample of how the looping of LX group segments represent the printing layout on the bill.
ISA Interchange Control Header Pos: 005 Max: 1
Not Defined - Mandatory
Loop: N/A Elements: 16
User Option (Usage): M Purpose: To start and identify an interchange of zero or more functional groups and interchange-related control segments
Element Summary: Ref Id Element Name Req Type Min/Max Usage
ISA01 I01 Authorization Information Qualifier
Description: Code to identify the type of
information in the Authorization Information
M ID 2/2 M
CodeList Summary (Total Codes: 7, Included: 1)
Code Name
00 No Authorization Information Present (No Meaningful Information in I02)
ISA02 I02 Authorization Information
Description: 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)
M AN 10/10 M
ISA03 I03 Security Information Qualifier
Description: Code to identify the type of
information in the Security Information
M ID 2/2 M
CodeList Summary (Total Codes: 2, Included: 1)
Code Name
00 No Security Information Present (No Meaningful Information in I04)
ISA04 I04 Security Information
Description: 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)
M AN 10/10 M
ISA05 I05 Interchange ID Qualifier
Description: Qualifier to designate the
system/method of code structure used to designate the sender or receiver ID element being qualified
M ID 2/2 M
CodeList Summary (Total Codes: 38, Included: 1)
Code Name
ZZ Mutually Defined
ISA06 I06 Interchange Sender ID
Description: 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
M AN 15/15 M
ISA07 I05 Interchange ID Qualifier
Description: Qualifier to designate the
system/method of code structure used to
M ID 2/2 M
designate the sender or receiver ID element being qualified
ISA08 I07 Interchange Receiver ID
Description: 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
Carrier usage: Receiver ID's for each
Carrier: MAEU, SAFM, SEJJ, MCCQ, SEAU
M AN 15/15 M
CodeList Summary (Total Codes: 5, Included: 5)
Code Name
MAEU Maersk Line
MCCQ MCC Transport
SAFM Safmarine
SEAU Sealand
SEJJ Seago Line
ISA09 I08 Interchange Date
Description: Date of the interchange
Carrier usage: YYMMDD
M DT 6/6 M
ISA10 I09 Interchange Time
Description: Time of the interchange
Carrier usage: HHMM
M TM 4/4 M
ISA11 I10 Interchange Control Standards Identifier
Description: Code to identify the agency
responsible for the control standard used by the message that is enclosed by the interchange header and trailer
M ID 1/1 M
CodeList Summary (Total Codes: 1, Included: 1)
Code Name
U U.S. EDI Community of ASC X12, TDCC, and UCS
ISA12 I11 Interchange Control Version Number
Description: Code specifying the version
number of the interchange control segments
M ID 5/5 M
CodeList Summary (Total Codes: 14, Included: 1)
Code Name
00400 Standard Issued as ANSI X12.5-1997
ISA13 I12 Interchange Control Number
Description: A control number assigned by
the interchange sender
M N0 9/9 M
ISA14 I13 Acknowledgment Requested
Description: Code sent by the sender to
request an interchange acknowledgment (TA1)
M ID 1/1 M
CodeList Summary (Total Codes: 2, Included: 2)
Code Name
0 No Acknowledgment Requested
1 Interchange Acknowledgment Requested
ISA15 I14 Usage Indicator
Description: Code to indicate whether data
M ID 1/1 M
enclosed by this interchange envelope is test, production or information
CodeList Summary (Total Codes: 3, Included: 2)
Code Name
P Production Data
T Test Data
ISA16 I15 Component Element Separator
Description: 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
M 1/1 M
Sample: ISA*00* *00* *ZZ*PARTNER *ZZ*MAEU *150517*2011*U*00400*980192543*1*P*>
GS Functional Group Header Pos: 007 Max: 1
Not Defined - Mandatory
Loop: N/A Elements: 8
User Option (Usage): M Purpose: To indicate the beginning of a functional group and to provide control information
Element Summary: Ref Id Element Name Req Type Min/Max Usage
GS01 479 Functional Identifier Code
Description: Code identifying a group of
application related transaction sets
M ID 2/2 M
CodeList Summary (Total Codes: 240, Included: 1)
Code Name
SO Ocean Shipment Information (304, 306, 309, 311, 317, 319, 321, 322, 323, 324, 325, 350, 352, 353, 354, 355, 356, 357, 358, 361)
GS02 142 Application Sender's Code
Description: Code identifying party sending
transmission; codes agreed to by trading partners
M AN 2/15 M
GS03 124 Application Receiver's Code
Description: Code identifying party receiving
transmission; codes agreed to by trading partners
Carrier usage: Receiver ID's for each
Carrier: MAEU, SAFM, SEJJ, MCCQ, SEAU
M AN 2/15 M
CodeList Summary (Total Codes: 5, Included: 5)
Code Name
MAEU Maersk Line
MCCQ MCC Transport
SAFM Safmarine
SEAU Sealand
SEJJ Seago Line
GS04 373 Date
Description: Date expressed as
CCYYMMDD
M DT 8/8 M
GS05 337 Time
Description: 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)
M TM 4/8 M
GS06 28 Group Control Number
Description: Assigned number originated
and maintained by the sender
M N0 1/9 M
GS07 455 Responsible Agency Code
Description: Code identifying the issuer of
the standard; this code is used in conjunction
M ID 1/2 M
with Data Element 480
CodeList Summary (Total Codes: 2, Included: 1)
Code Name
X Accredited Standards Committee X12
GS08 480 Version / Release / Industry Identifier Code
Description: 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
M AN 1/12 M
CodeList Summary (Total Codes: 39, Included: 1)
Code Name
004010 Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997
Sample: GS*SO*PARTNER*MAEU*20150517*2011*980192543*X*004010~
ST Transaction Set Header Pos: 010 Max: 1
Heading - Mandatory
Loop: N/A Elements: 2
User Option (Usage): M Purpose: To indicate the start of a transaction set and to assign a control number
Element Summary: Ref Id Element Name Req Type Min/Max Usage
ST01 143 Transaction Set Identifier Code
Description: Code uniquely identifying a
Transaction Set
M ID 3/3 M
CodeList Summary (Total Codes: 298, Included: 1)
Code Name
304 Shipping Instructions
ST02 329 Transaction Set Control Number
Description: Identifying control number that
must be unique within the transaction set functional group assigned by the originator for a transaction set
M AN 4/9 M
Sample: ST*304*980192543~
B2 Beginning Segment for Shipment Information Transaction
Pos: 020 Max: 1
Heading - Mandatory
Loop: N/A Elements: 9
User Option (Usage): M Purpose: To transmit basic data relating to shipment information
Element Summary: Ref Id Element Name Req Type Min/Max Usage
B201 375 Tariff Service Code
Description: Code specifying the types of
services for rating purposes
O ID 2/2 O
CodeList Summary (Total Codes: 81, Included: 6)
Code Name
CP CFS-to-Pier
Description: Container freight station to pier
DD Door-to-Door
Description: Rate applies for shipments in door-to-door service
DP Door-to-Pier
Description: Rate applies for shipments in door-to-ocean carrier's port/terminal
pier service
PC Pier-to-CFS
Description: Pier to container freight station
PD Pier-to-Door
Description: Rate applies for shipments in pier-to-door service
PP Pier-to-Pier
Description: All cargo other than that specified in codes HH, HP, or PH whether shipped in containers or otherwise
B202 140 Standard Carrier Alpha Code
Description: Standard Carrier Alpha Code
Carrier usage: SCAC code of bill of lading issuing carrier. SCAC For each Carrier: MAEU, SAFM, SEJJ, MCCQ, SEAU
O ID 2/4 O
B203 154 Standard Point Location Code
Description: Code (Standard Point Location)
defined by NMFTA point development group as the official code assigned to a city or point (for ratemaking purposes) within a city
Carrier usage: Indicator of carrier documentation process distribution. The 2 digits UN country code of place of receipt is required. Use blank space to fill up to 6 characters.
O ID 6/9 O
B204 145 Shipment Identification Number
Description: 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)
O AN 1/30 O
B205 188 Weight Unit Code
Description: Code specifying the weight unit
O ID 1/1 O
CodeList Summary (Total Codes: 8, Included: 2)
Code Name
K Kilograms
L Pounds
B206 146 Shipment Method of Payment
Description: Code identifying payment terms
for transportation charges
M ID 2/2 M
CodeList Summary (Total Codes: 28, Included: 3)
Code Name
CC Collect
MX Mixed
PP Prepaid (by Seller)
B207 147 Shipment Qualifier
Description: Code defining relationship of
this shipment with respect to other shipments given to the carrier at the same time
O ID 1/1 O
CodeList Summary (Total Codes: 35, Included: 2)
Code Name
2 Sea Waybill
Description: A non-negotiable transport document issued by an ocean carrier covering cargo shipped on a vessel owned or chartered by that carrier
B Bill of Lading for Individual Shipment
B208 86 Total Equipment
Description: Total pieces of equipment Carrier usage: Total number of containers on this bill of lading
O N0 1/3 O
B212 591 Payment Method Code
Description: Code identifying the method for
the movement of payment instructions
O ID 3/3 O
Sample: B2*PP*MAEU*US *512605107*K*CC*2*1****CHK~
B2A Set Purpose Pos: 030 Max: 1
Heading - Optional
Loop: N/A Elements: 1
User Option (Usage): O Purpose: To allow for positive identification of transaction set purpose
Element Summary: Ref Id Element Name Req Type Min/Max Usage
B2A01 353 Transaction Set Purpose Code
Description: Code identifying purpose of
transaction set
M ID 2/2 M
CodeList Summary (Total Codes: 65, Included: 3)
Code Name
00 Original
01 Cancellation
05 Replace
Sample: B2A*00~
N9 Reference Identification Pos: 080 Max: 100
Heading - Optional
Loop: N/A Elements: 2
User Option (Usage): O Purpose: To transmit identifying information as specified by the Reference Identification Qualifier
Syntax Rules: 1. R0203 - At least one of N902 or N903 is required.
2. C0605 - If N906 is present, then N905 is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
N901 128 Reference Identification Qualifier
Description: Code qualifying the Reference
Identification
Carrier usage: Please Note: The values below are the carrier defaults. Selections from customer preference table can be used to override the values below.
M ID 2/3 M
CodeList Summary (Total Codes: 1503, Included: 9)
Code Name
BM Bill of Lading Number
BN Booking Number
CG Consignee's Order Number
CT Contract Number
FN Forwarder's/Agent's Reference Number
IV Seller's Invoice Number
PO Purchase Order Number
PR Price Quote Number (Future Use Only)
SI Shipper's Identifying Number for Shipment (SID)
Description: A unique number (to the shipper) assigned by the shipper to identify
the shipment
N902 127 Reference Identification
Description: Reference information as
defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
X AN 1/30 O
Sample: N9*BM*MAEU601425395~ N9*BN*601425395~ N9*FN*512605107~ N9*SI*11201638~ N9*CG*0902596389~
V1 Vessel Identification Pos: 090 Max: 2
Heading - Optional
Loop: N/A Elements: 6
User Option (Usage): O Purpose: To provide vessel details and voyage number
Syntax Rules: 1. R0102 - At least one of V101 or V102 is required.
2. C0801 - If V108 is present, then V101 is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
V101 597 Vessel Code
Description: Code identifying vessel Carrier usage: Lloyd's code or radio call sign
X ID 1/8 O
V102 182 Vessel Name
Description: Name of ship as documented in
"Lloyd's Register of Ships"
X AN 2/28 O
V103 26 Country Code
Description: Code identifying the country
Carrier usage: ISO country code corresponding to ISO 3166 -2 code elements
O ID 2/3 O
V104 55 Flight/Voyage Number
Description: Identifying designator for the
particular flight or voyage on which the cargo travels
O AN 2/10 O
V105 140 Standard Carrier Alpha Code
Description: Standard Carrier Alpha Code
O ID 2/4 O
V108 897 Vessel Code Qualifier
Description: Code specifying vessel code
source
O ID 1/1 O
CodeList Summary (Total Codes: 4, Included: 2)
Code Name
C Ship's Radio Call Signal
L Lloyd's Register of Shipping
Sample: V1*9342516*MAERSK ALFIRK*LR*01103*MAEU***L~
M0 Letter of Credit Reference Pos: 110 Max: 1
Heading - Optional
Loop: N/A Elements: 4
User Option (Usage): O Purpose: To transmit letter of credit details
Element Summary: Ref Id Element Name Req Type Min/Max Usage
M001 250 Letter of Credit Number
Description: Identifying reference number for
a letter of credit
M AN 2/40 M
M002 373 Date
Description: Date expressed as
CCYYMMDD
Carrier usage: Letter of Credit Issuance Date
O DT 8/8 O
M003 373 Date
Description: Date expressed as
CCYYMMDD
Carrier usage: Letter of Credit Expiry Date
O DT 8/8 O
M004 373 Date
Description: Date expressed as
CCYYMMDD
Carrier usage: Shipped Onboard Date
O DT 8/8 O
Sample: M0*LC*20150101*20150201*20150301~
CUR Currency Pos: 115 Max: 1
Heading - Optional
Loop: N/A Elements: 2
User Option (Usage): O Purpose: To specify the currency (dollars, pounds, francs, etc.) used in a transaction
Syntax Rules: 1. C0807 - If CUR08 is present, then CUR07 is required.
2. C0907 - If CUR09 is present, then CUR07 is required.
3. L101112 - If CUR10 is present, then at least one of CUR11 or CUR12 is required.
4. C1110 - If CUR11 is present, then CUR10 is required.
5. C1210 - If CUR12 is present, then CUR10 is required.
6. L131415 - If CUR13 is present, then at least one of CUR14 or CUR15 is required.
7. C1413 - If CUR14 is present, then CUR13 is required.
8. C1513 - If CUR15 is present, then CUR13 is required.
9. L161718 - If CUR16 is present, then at least one of CUR17 or CUR18 is required.
10. C1716 - If CUR17 is present, then CUR16 is required.
11. C1816 - If CUR18 is present, then CUR16 is required.
12. L192021 - If CUR19 is present, then at least one of CUR20 or CUR21 is required.
13. C2019 - If CUR20 is present, then CUR19 is required.
14. C2119 - If CUR21 is present, then CUR19 is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
CUR01 98 Entity Identifier Code
Description: Code identifying an
organizational entity, a physical location, property or an individual
M ID 2/3 M
CodeList Summary (Total Codes: 1312, Included: 1)
Code Name
CY Country
CUR02 100 Currency Code
Description: Code (Standard ISO) for
country in whose currency the charges are specified
M ID 3/3 M
Sample: CUR*CY*USD~
N1 Name Pos: 160 Max: 1
Heading - Optional
Loop: N1 Elements: 4
User Option (Usage): O Purpose: To identify a party by type of organization, name, and code
Syntax Rules: 1. R0203 - At least one of N102 or N103 is required.
2. P0304 - If either N103 or N104 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
N101 98 Entity Identifier Code
Description: Code identifying an
organizational entity, a physical location, property or an individual Carrier usage: Please Note: The values below are the carrier defaults. Selections from customer preference table can be used to override the values below.
M ID 2/3 M
CodeList Summary (Total Codes: 1312, Included: 9)
Code Name
AO Account Of
Description: Party acting as a booking office for transport and forwarding services.
Carrier Usage:
Named Account Customer
C9 Contract Holder
Description: Price owner
CN Consignee
FW Forwarder
N1 Notify Party no. 1
N2 Notify Party no. 2
SF Ship From
SH Shipper
ST Ship To
N102 93 Name
Description: Free-form name
Carrier usage: Name of party
X AN 1/60 O
N103 66 Identification Code Qualifier
Description: Code designating the
system/method of code structure used for Identification Code (67)
X ID 1/2 O
CodeList Summary (Total Codes: 215, Included: 2)
Code Name
25 Carrier's Customer Code
94 Code assigned by the organization that is the ultimate destination of the transaction set
N104 67 Identification Code
Description: Code identifying a party or other
code
X AN 2/80 O
Sample: N1*SH*FOURSTAR GROUP INC*25*123456789~ N1*CN*WAL-MART STORES, INC.,*25*345287597~ N1*FW*EXPEDITORS (MALAYSIA) SDN. BHD.*25*137584937~ N1*N1*FEDEX TRADE NETWORKS*25*785946385~
N2 Additional Name Information Pos: 170 Max: 2
Heading - Optional
Loop: N1 Elements: 2
User Option (Usage): O Purpose: To specify additional names or those longer than 35 characters in length
Element Summary: Ref Id Element Name Req Type Min/Max Usage
N201 93 Name
Description: Free-form name
M AN 1/60 M
N202 93 Name
Description: Free-form name
O AN 1/60 O
Sample: N2*SHN201*SHN202~
N3 Address Information Pos: 180 Max: 2
Heading - Optional
Loop: N1 Elements: 2
User Option (Usage): O Purpose: To specify the location of the named party
Element Summary: Ref Id Element Name Req Type Min/Max Usage
N301 166 Address Information
Description: Address information
Carrier usage: Address, building, street, P.O.box
M AN 1/55 M
N302 166 Address Information
Description: Address information
Carrier usage: Address, building, street, P.O.box
O AN 1/55 O
Sample: N3*12FLOOR, NO 54, SEC 4*MIN SHENG EAST ROAD~
N4 Geographic Location Pos: 190 Max: 1
Heading - Optional
Loop: N1 Elements: 4
User Option (Usage): O Purpose: To specify the geographic place of the named party
Syntax Rules: 1. C0605 - If N406 is present, then N405 is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
N401 19 City Name
Description: Free-form text for city name
O AN 2/30 O
N402 156 State or Province Code
Description: Code (Standard State/Province)
as defined by appropriate government agency
O ID 2/2 O
N403 116 Postal Code
Description: Code defining international
postal zone code excluding punctuation and blanks (zip code for United States)
O ID 3/15 O
N404 26 Country Code
Description: Code identifying the country
O ID 2/3 O
Sample: N4*CHARLOTTE*NC*28217*US~
G61 Contact Pos: 195 Max: 3
Heading - Optional
Loop: N1 Elements: 5
User Option (Usage): O Purpose: To identify a person or office to whom communications should be directed
Syntax Rules: 1. P0304 - If either G6103 or G6104 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
G6101 366 Contact Function Code
Description: Code identifying the major duty
or responsibility of the person or group named
M ID 2/2 M
CodeList Summary (Total Codes: 230, Included: 2)
Code Name
AN Attention-to Party
Description: Party to whose attention information is sent via U.S. Post Office - U.S. Mail
IC Information Contact
G6102 93 Name
Description: Free-form name
M AN 1/60 M
G6103 365 Communication Number Qualifier
Description: Code identifying the type of
communication number
X ID 2/2 O
CodeList Summary (Total Codes: 40, Included: 2)
Code Name
EM Electronic Mail
TE Telephone
G6104 364 Communication Number
Description: Complete communications
number including country or area code when applicable
Carrier usage: In the case of telephone numbers do not use hyphens or spaces between the various elements of those numbers. Do not use 800 numbers since they are not dialable from everywhere in the world.
X AN 1/80 O
G6105 443 Contact Inquiry Reference
Description: Additional reference number or
description to clarify a contact number
O AN 1/20 O
Sample: G61*IC*Hysmith, Bonnie*EM*[email protected]~
R4 Port or Terminal Pos: 200 Max: 1
Heading - Optional
Loop: R4 Elements: 6
User Option (Usage): O Purpose: Contractual or operational port or point relevant to the movement of the cargo
Syntax Rules: 1. P0203 - If either R402 or R403 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
R401 115 Port or Terminal Function Code
Description: Code defining function
performed at the port or terminal with respect to a shipment Carrier usage: Please Note: The values
below are the carrier defaults. Selections from customer preference table can be used to override the values below.
M ID 1/1 M
CodeList Summary (Total Codes: 30, Included: 4)
Code Name
D Port of Discharge (Operational)
Description: Port at which cargo is unloaded from vessel
E Place of Delivery (Contractual)
Description: Place at which cargo leaves its care and custody of carrier
L Port of Loading (Operational)
Description: Port at which cargo is loaded on vessel
R Place of Receipt (Contractual)
Description: Place at which cargo enters the care and custody of carrier
R402 309 Location Qualifier
Description: Code identifying type of location
X ID 1/2 O
CodeList Summary (Total Codes: 172, Included: 1)
Code Name
UN United Nations Location Code (UNLOCODE)
R403 310 Location Identifier
Description: Code which identifies a specific
location
X AN 1/30 O
R404 114 Port Name
Description: Free-form name for the place at
which an offshore carrier originates or terminates (by transshipment or otherwise) its actual ocean carriage of property
O AN 2/24 O
R405 26 Country Code
Description: Code identifying the country
Carrier usage: ISO country code.
O ID 2/3 O
R408 156 State or Province Code
Description: Code (Standard State/Province)
as defined by appropriate government agency
O ID 2/2 O
Sample:
R4*R*UN*USLGB*LONG BEACH*US***CA~ R4*D*UN*NLRTM*ROTTERDAM*NL~
R2 Route Information Pos: 220 Max: 13
Heading - Optional
Loop: N/A Elements: 3
User Option (Usage): O Purpose: To specify carrier and routing sequences and details
Syntax Rules: 1. C0807 - If R208 is present, then R207 is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
R201 140 Standard Carrier Alpha Code
Description: Standard Carrier Alpha Code
M ID 2/4 M
CodeList Summary (Total Codes: 5, Included: 5)
Code Name
MAEU Maersk Line
MCCQ MCC Transport
SAFM Safmarine
SEAU Sealand
SEJJ Seago Line
R202 133 Routing Sequence Code
Description: Code describing the
relationship of a carrier to a specific shipment movement
M ID 1/2 M
CodeList Summary (Total Codes: 23, Included: 1)
Code Name
O Origin Carrier (Air, Motor, or Ocean)
R212 56 Type of Service Code
Description: Code specifying extent of
transportation service requested
O ID 2/2 O
CodeList Summary (Total Codes: 20, Included: 6)
Code Name
CP CFS-to-Pier
Description: Container freight station to pier
HH House-to-house
HP House-to-pier
PC Pier-to-CFS
Description: Pier to container freight station
PH Pier-to-house
PP Pier-to-pier
Sample: R2*MAEU*O**********PP~
K1 Remarks Pos: 230 Max: 12
Heading - Optional
Loop: N/A Elements: 2
User Option (Usage): O Purpose: To transmit information in a free-form format for comment or special instruction
Element Summary: Ref Id Element Name Req Type Min/Max Usage
K101 61 Free-Form Message
Description: Free-form information
M AN 1/30 M
K102 61 Free-Form Message
Description: Free-form information
O AN 1/30 O
Sample: K1*FREE-FORM MESSAGE*FREE-FORM MESSAGE~
L11 Business Instructions and Reference Number
Pos: 240 Max: 99
Heading - Optional
Loop: N/A Elements: 2
User Option (Usage): O Purpose: To specify instructions in this business relationship or a reference number
Syntax Rules: 1. R0103 - At least one of L1101 or L1103 is required.
2. P0102 - If either L1101 or L1102 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
L1101 127 Reference Identification
Description: Reference information as
defined for a particular Transaction Set or as specified by the Reference Identification Qualifier Carrier usage: service contract number
X AN 1/30 O
L1102 128 Reference Identification Qualifier
Description: Code qualifying the Reference
Identification
X ID 2/3 O
CodeList Summary (Total Codes: 1503, Included: 1)
Code Name
CT Contract Number
Sample: L11*427342*CT~
H3 Special Handling Instructions Pos: 250 Max: 6
Heading - Optional
Loop: N/A Elements: 1
User Option (Usage): O Purpose: To specify special handling instructions in coded or free-form format
Syntax Rules: 1. E0102 - Only one of H301 or H302 may be present.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
H302 153 Special Handling Description
Description: Free-form additional description
of special handling instructions to appear on printed bill if special handling code is not adequate
X AN 2/30 O
Sample: H3**SPECIAL INSTRUCTIONS~
X1 Export License Pos: 270 Max: 25
Heading - Optional
Loop: N/A Elements: 5
User Option (Usage): O Purpose: To transmit information contained on an export license
Element Summary: Ref Id Element Name Req Type Min/Max Usage
X102 50 Export License Number
Description: Government assigned
identification number for exporter
O AN 6/12 O
X104 373 Date
Description: Date expressed as
CCYYMMDD
Carrier usage: Expiration Date
O DT 8/8 O
X106 48 Export License Control Code
Description: Code indicating the type of
control applicable to the export license
O ID 1/1 O
X107 26 Country Code
Description: Code identifying the country
O ID 2/3 O
X116 67 Identification Code
Description: Code identifying a party or other
code
O AN 2/80 O
Sample: X1**EXPORT LICE**20150827**2*US*********IDENTIFICATION CODE~
X2 Import License Pos: 280 Max: 5
Heading - Optional
Loop: N/A Elements: 3
User Option (Usage): O Purpose: To transmit import license number and effective dates
Syntax Rules: 1. C0504 - If X205 is present, then X204 is required.
2. C0604 - If X206 is present, then X204 is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
X201 70 Import License Number
Description: Government assigned
identification number for importer of foreign shipments
M AN 6/30 M
X202 373 Date
Description: Date expressed as
CCYYMMDD
Carrier usage: Date of issuance
O DT 8/8 O
X203 373 Date
Description: Date expressed as
CCYYMMDD
Carrier usage: Expiration Date.
O DT 8/8 O
Sample: X2*IMPORT LICENSE NUMBER*20150427*20160428~
C8 Certifications and Clauses Pos: 290 Max: 1
Heading - Optional
Loop: C8 Elements: 2
User Option (Usage): O Purpose: To specify applicable certifications and clauses
Syntax Rules: 1. R0302 - At least one of C803 or C802 is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
C802 246 Certification/Clause Code
Description: Code identifying
certification/clause information
X ID 2/4 O
CodeList Summary (Total Codes: 59, Included: 1)
Code Name
01 Shipper's Load and Count
C803 247 Certification/Clause Text
Description: Free-form description of
commercial invoice certification/clause
X AN 2/60 O
Sample: C8**01*CLAUSE TEXT~
C8C Certifications Clauses Continuation
Pos: 295 Max: 5
Heading - Optional
Loop: C8 Elements: 3
User Option (Usage): O Purpose: To specify additional applicable certifications and clauses
Element Summary: Ref Id Element Name Req Type Min/Max Usage
C8C01 247 Certification/Clause Text
Description: Free-form description of
commercial invoice certification/clause
M AN 2/60 M
C8C02 247 Certification/Clause Text
Description: Free-form description of
commercial invoice certification/clause
O AN 2/60 O
C8C03 247 Certification/Clause Text
Description: Free-form description of
commercial invoice certification/clause
O AN 2/60 O
Sample: C8C*CLAUSE TEXT*CERTIFICATION TEXT*CERTIFICATION CLAUSE TEXT~
SUP Supplementary Information Pos: 300 Max: 10
Heading - Optional
Loop: C8 Elements: 2
User Option (Usage): O Purpose: To provide processible supplementary information
Element Summary: Ref Id Element Name Req Type Min/Max Usage
SUP01 749 Supplementary Information Qualifier
Description: Code identifying the type of
supplementary information
M ID 3/3 M
CodeList Summary (Total Codes: 23, Included: 7)
Code Name
BLC Bill of Lading Body Clause
DOM Domestic Routing Instructions
EXP Export Instructions
IPI Include Printing Instructions
OBV Onboard Validation
Description: A condition to which bill of lading "on board" statement and date refer
ONR Onward Routing Instructions
SPI Suppress Printing Instructions
SUP03 3 Free Form Message
Description: Free-form text
O AN 1/60 O
Sample: SUP*BLC**SAMPLE MESSAGE~
LX Assigned Number Pos: 010 Max: 1
Detail - Mandatory
Loop: LX Elements: 1
User Option (Usage): M Purpose: To reference a line number in a transaction set
Element Summary: Ref Id Element Name Req Type Min/Max Usage
LX01 554 Assigned Number
Description: Number assigned for
differentiation within a transaction set
M N0 1/6 M
Sample: LX*1~
Y2 Container Details Pos: 020 Max: 10
Detail - Optional
Loop: LX Elements: 3
User Option (Usage): O Purpose: To specify container information and transportation service to be used
Element Summary: Ref Id Element Name Req Type Min/Max Usage
Y201 95 Number of Containers
Description: Number of shipping containers
Carrier usage: Number of containers of one size and type.
M N0 1/4 M
Y203 56 Type of Service Code
Description: Code specifying extent of
transportation service requested
O ID 2/2 O
CodeList Summary (Total Codes: 20, Included: 6)
Code Name
CP CFS-to-Pier
Description: Container freight station to pier
HH House-to-house
HP House-to-pier
PC Pier-to-CFS
Description: Pier to container freight station
PH Pier-to-house
PP Pier-to-pier
Y204 24 Equipment Type
Description: Code identifying equipment
type
Carrier usage: ISO size and type of container code. Carrier applies equipment ISO code 6346. If partner use other equipment ISO code, ISO code list should be provided to carrier prior to system integration test.
M ID 4/4 M
Sample: Y2*1**PP*42G1~
N7 Equipment Details Pos: 030 Max: 1
Detail - Optional
Loop: N7 Elements: 10
User Option (Usage): O Purpose: To identify the equipment
Syntax Rules: 1. P0304 - If either N703 or N704 is present, then the other is required.
2. P0516 - If either N705 or N716 is present, then the other is required.
3. P0809 - If either N708 or N709 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
N701 206 Equipment Initial
Description: Prefix or alphabetic part of an
equipment unit's identifying number Carrier usage: Container prefix.
O AN 1/4 O
N702 207 Equipment Number
Description: Sequencing or serial part of an
equipment unit's identifying number (pure numeric form for equipment number is preferred) Carrier usage: Container number without check digit
M AN 1/10 M
N703 81 Weight
Description: Numeric value of weight Carrier usage: Weight of cargo and container
X R 1/10 O
N704 187 Weight Qualifier
Description: Code defining the type of
weight
X ID 1/2 O
CodeList Summary (Total Codes: 52, Included: 2)
Code Name
G Gross Weight
A6 Verified Gross Mass
Description: The gross mass (weight) of the transport equipment verified according to SOLAS Chapter VI, Regulation 2, paragraphs 4-6.
Carrier Usage:
The N7 segment created with the qualifier A6 in segment N7_04 won’t create an additional container line in the shipping instruction. This N7 segment will be used only to report the VGM weight.
N708 183 Volume
Description: Value of volumetric measure
Carrier usage: Cubic displacement of cargo in container
X R 1/8 O
N709 184 Volume Unit Qualifier
Description: Code identifying the volume unit
X ID 1/1 O
CodeList Summary (Total Codes: 16, Included: 2)
Code Name
E Cubic Feet
X Cubic Meters
N717 188 Weight Unit Code
Description: Code specifying the weight unit
O ID 1/1 O
CodeList Summary (Total Codes: 8, Included: 2)
Code Name
K Kilograms
L Pounds
N718 761 Equipment Number Check Digit
Description: Number which designates the
check digit applied to a piece of equipment
O N0 1/1 O
N719 56 Type of Service Code
Description: Code specifying extent of
transportation service requested
O ID 2/2 O
CodeList Summary (Total Codes: 20, Included: 6)
Code Name
CP CFS-to-Pier
Description: Container freight station to pier
HH House-to-house
HP House-to-pier
PC Pier-to-CFS
Description: Pier to container freight station
PH Pier-to-house
PP Pier-to-pier
N722 24 Equipment Type
Description: Code identifying equipment
type
Carrier usage: ISO size and type of
container code. Carrier applies Equipment ISO code 6346. If partner use other equipment ISO code, ISO code list should be provided to carrier prior to system integration test.
O ID 4/4 Recommended
Sample: N7*PONU*038254*1705.990*G****25668*X********K*1*HH***42G1~ N7*PONU*038254*2105.990*A6**************1****42G1~
QTY Quantity Pos: 035 Max: 1
Detail - Optional
Loop: N7 Elements: 3
User Option (Usage): O Purpose: To specify quantity information
Syntax Rules: 1. R0204 - At least one of QTY02 or QTY04 is required.
2. E0204 - Only one of QTY02 or QTY04 may be present.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
QTY01 673 Quantity Qualifier
Description: Code specifying the type of
quantity
M ID 2/2 M
CodeList Summary (Total Codes: 832, Included: 1)
Code Name
39 Shipped Quantity
QTY02 380 Quantity
Description: Numeric value of quantity
X R 1/15 O
QTY03 C001 Composite Unit of Measure
Description: To identify a composite unit of
measure(See Figures Appendix for examples of use)
O Comp O
QTY03-01 355 Unit or Basis for Measurement Code
Description: Code specifying the units in
which a value is being expressed, or manner in which a measurement has been taken
M ID 2/2 M
CodeList Summary (Total Codes: 794, Included: 1)
Code Name
CT Carton
Sample: QTY*39*2*CT~
L4 Measurement Pos: 038 Max: 1
Detail - Optional
Loop: N7 Elements: 4
User Option (Usage): O Purpose: To describe physical dimensions and quantities
Element Summary: Ref Id Element Name Req Type Min/Max Usage
L401 82 Length
Description: Largest horizontal dimension of
an object measured when the object is in the upright position
M R 1/8 M
L402 189 Width
Description: Shorter measurement of the
two horizontal dimensions measured with the object in the upright position
M R 1/8 M
L403 65 Height
Description: Vertical dimension of an object
measured when the object is in the upright position
M R 1/8 M
L404 90 Measurement Unit Qualifier
Description: Code specifying the linear
dimensional unit
M ID 1/1 M
CodeList Summary (Total Codes: 4, Included: 4)
Code Name
C Centimeters
E Feet
N Inches
X Meters
Sample: L4*300*110*122*C~
M7 Seal Numbers Pos: 050 Max: 5
Detail - Optional
Loop: N7 Elements: 2
User Option (Usage): O Purpose: To record seal numbers used and the organization that applied the seals
Element Summary: Ref Id Element Name Req Type Min/Max Usage
M701 225 Seal Number
Description: Unique number on seal used to
close a shipment Carrier usage: Shippers seal number
M AN 2/15 M
M705 98 Entity Identifier Code
Description: Code identifying an
organizational entity, a physical location, property or an individual
O ID 2/3 O
CodeList Summary (Total Codes: 1312, Included: 4)
Code Name
CA Carrier
CM Customs
QU Veterinarian
SH Shipper
Sample: M7*MLMY1056165****SH~
W09 Equipment and Temperature Pos: 060 Max: 1
Detail - Optional
Loop: N7 Elements: 5
User Option (Usage): O Purpose: To relate equipment type and required temperatures
Syntax Rules: 1. P0203 - If either W0902 or W0903 is present, then the other is required.
2. P0405 - If either W0904 or W0905 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
W0901 40 Equipment Description Code
Description: Code identifying type of
equipment used for shipment
M ID 2/2 M
CodeList Summary (Total Codes: 134, Included: 1)
Code Name
CZ Refrigerated Container
W0902 408 Temperature
Description: Temperature
Carrier usage: Minimum temperature at
which container is to be maintained. Required for reefer equipment.
X R 1/4 O
W0903 355 Unit or Basis for Measurement Code
Description: Code specifying the units in
which a value is being expressed, or manner in which a measurement has been taken
X ID 2/2 O
CodeList Summary (Total Codes: 794, Included: 2)
Code Name
CE Centigrade, Celsius
FA Fahrenheit
W0907 1122 Vent Setting Code
Description: Code describing the setting on
the air vents on ocean-type containers
O ID 1/1 O
CodeList Summary (Total Codes: 7, Included: 6)
Code Name
A Vent 25% Open
B Vent 50% Open
C Vent 75% Open
D Vent 100% Open
E Closed
Z Carrier to Set Based on Commodity Type
W0908 488 Percent
Description: Percent expressed as 0 to 100
O N0 1/3 O
Sample: W09*CZ*21*FA****Z*33~
N9 Reference Identification Pos: 130 Max: 100
Detail - Optional
Loop: N7 Elements: 3
User Option (Usage): O Purpose: To transmit identifying information as specified by the Reference Identification Qualifier
Syntax Rules: 1. R0203 - At least one of N902 or N903 is required.
2. C0605 - If N906 is present, then N905 is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
N901 128 Reference Identification Qualifier
Description: Code qualifying the Reference
Identification
M ID 2/3 M
CodeList Summary (Total Codes: 1503, Included: 1)
Code Name
ZZ Mutually Defined
N902 127 Reference Identification
Description: Reference information as
defined for a particular Transaction Set or as specified by the Reference Identification Qualifier Carrier usage: METHOD
X AN 1/30 O
N903 369 Free-form Description
Description: Free-form descriptive text Carrier usage: 1 or 2 1 Gross Mass Verification – SOLAS Method 1 2 Gross Mass Verification – SOLAS Method 2
X AN 1/45 O
Sample: N9*ZZ*METHOD*1~
L0 Line Item - Quantity and Weight
Pos: 170 Max: 1
Detail - Optional
Loop: L0 Elements: 9
User Option (Usage): O Purpose: To specify quantity, weight, volume, and type of service for a line item including applicable "quantity/rate-as" data
Syntax Rules: 1. P0203 - If either L002 or L003 is present, then the other is required.
2. P0405 - If either L004 or L005 is present, then the other is required.
3. P0607 - If either L006 or L007 is present, then the other is required.
4. P0809 - If either L008 or L009 is present, then the other is required.
5. C1104 - If L011 is present, then L004 is required.
6. P1315 - If either L013 or L015 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
L001 213 Lading Line Item Number
Description: Sequential line number for a
lading item
Carrier usage: One number for each commodity
O N0 1/3 O
L004 81 Weight
Description: Numeric value of weight Carrier usage: Weight of commodity and packaging
X R 1/10 O
L005 187 Weight Qualifier
Description: Code defining the type of
weight
X ID 1/2 O
CodeList Summary (Total Codes: 51, Included: 1)
Code Name
G Gross Weight
L006 183 Volume
Description: Value of volumetric measure
Carrier usage: Cubic displacement of the commodity
X R 1/8 O
L007 184 Volume Unit Qualifier
Description: Code identifying the volume unit
X ID 1/1 O
CodeList Summary (Total Codes: 16, Included: 2)
Code Name
E Cubic Feet
X Cubic Meters
L008 80 Lading Quantity
Description: Number of units (pieces) of the
lading commodity
X N0 1/7 O
L009 211 Packaging Form Code
Description: Code for packaging form of the
lading quantity
X ID 3/3 O
L011 188 Weight Unit Code
Description: Code specifying the weight unit
O ID 1/1 O
CodeList Summary (Total Codes: 8, Included: 2)
Code Name
K Kilograms
L Pounds
L012 56 Type of Service Code
Description: Code specifying extent of
transportation service requested
O ID 2/2 O
CodeList Summary (Total Codes: 20, Included: 6)
Code Name
CP CFS-to-Pier
Description: Container freight station to pier
HH House-to-house
HP House-to-pier
PC Pier-to-CFS
Description: Pier to container freight station
PH Pier-to-house
PP Pier-to-pier
Sample: L0*1***1705.990*G*1243.76*X*31*PCS**K*PP~
L4 Measurement Pos: 177 Max: 1
Detail - Optional
Loop: L0 Elements: 4
User Option (Usage): O Purpose: To describe physical dimensions and quantities
Element Summary: Ref Id Element Name Req Type Min/Max Usage
L401 82 Length
Description: Largest horizontal dimension of
an object measured when the object is in the upright position
M R 1/8 M
L402 189 Width
Description: Shorter measurement of the
two horizontal dimensions measured with the object in the upright position
M R 1/8 M
L403 65 Height
Description: Vertical dimension of an object
measured when the object is in the upright position
M R 1/8 M
L404 90 Measurement Unit Qualifier
Description: Code specifying the linear
dimensional unit
M ID 1/1 M
CodeList Summary (Total Codes: 4, Included: 2)
Code Name
C Centimeters
N Inches
Sample: L4*300*110*122*C~
L5 Description, Marks and Numbers
Pos: 185 Max: 999
Detail - Optional
Loop: L0 Elements: 5
User Option (Usage): O Purpose: To specify the line item in terms of description, quantity, packaging, and marks and numbers
Syntax Rules: 1. P0304 - If either L503 or L504 is present, then the other is required.
2. C0706 - If L507 is present, then L506 is required.
3. P0809 - If either L508 or L509 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
L501 213 Lading Line Item Number
Description: Sequential line number for a
lading item
O N0 1/3 O
L502 79 Lading Description
Description: Description of an item as
required for rating and billing purposes
Carrier usage: Required by carrier: goods
description - maximum 50 characters including proper spaces - use no special characters
O AN 1/50 O
L503 22 Commodity Code
Description: Code describing a commodity
or group of commodities
Carrier usage: Required by carrier
X AN 1/30 O
L504 23 Commodity Code Qualifier
Description: Code identifying the commodity
coding system used for Commodity Code
X ID 1/1 O
CodeList Summary (Total Codes: 23, Included: 2)
Code Name
J Harmonized System-Based Schedule B
Description: Classification of exported merchandise
Z Mutually defined
L506 87 Marks and Numbers
Description: Marks and numbers used to
identify a shipment or parts of a shipment
X AN 1/48 O
Sample: L5*001*COTTON*5201*J**MARKS AND NUMBERS~~
L12 Alternate Lading Description Pos: 190 Max: 20
Detail - Optional
Loop: L0 Elements: 2
User Option (Usage): O Purpose: To provide lading description beyond what is required for rating and billing purposes
Element Summary: Ref Id Element Name Req Type Min/Max Usage
L1201 592 Lading Description Qualifier
Description: Code identifying the type of
lading description
O ID 1/1 O
CodeList Summary (Total Codes: 7, Included: 5)
Code Name
C Chemical Description
E Export License Description
Description: Description of the commodity to appear on the export license
I Commercial Invoice Description
Description: Description of the commodity to be used on the commercial invoice
L Letter of Credit Description
Description: Description of the commodity from the letter of credit to be used on
the commercial invoice, bill of lading, packing list, etc.
P Product Description
L1202 352 Description
Description: A free-form description to clarify
the related data elements and their content Carrier usage: Description given in this
element won't be printed on the bill.
O AN 1/80 O
Sample: L12*P*TEST DESCRIPTION~
X1 Export License Pos: 240 Max: 25
Detail - Optional
Loop: L0 Elements: 4
User Option (Usage): O Purpose: To transmit information contained on an export license
Element Summary: Ref Id Element Name Req Type Min/Max Usage
X102 50 Export License Number
Description: Government assigned
identification number for exporter
O AN 6/12 O
X104 373 Date
Description: Date expressed as
CCYYMMDD
Carrier usage: Expiration Date
O DT 8/8 O
X106 48 Export License Control Code
Description: Code indicating the type of
control applicable to the export license
O ID 1/1 O
X116 67 Identification Code
Description: Code identifying a party or other
code
O AN 2/80 O
Sample: X1**EXPORT LICE**20150827**2**********IDENTIFICATION CODE~
X2 Import License Pos: 250 Max: 5
Detail - Optional
Loop: L0 Elements: 3
User Option (Usage): O Purpose: To transmit import license number and effective dates
Syntax Rules: 1. C0504 - If X205 is present, then X204 is required.
2. C0604 - If X206 is present, then X204 is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
X201 70 Import License Number
Description: Government assigned
identification number for importer of foreign shipments
M AN 6/30 M
X202 373 Date
Description: Date expressed as
CCYYMMDD
Carrier usage: Date of issuance
O DT 8/8 O
X203 373 Date
Description: Date expressed as
CCYYMMDD
Carrier usage: Expiration date
O DT 8/8 O
Sample: X2*IMPORT LICENSE NUMBER*20150227*20150828~
C8 Certifications and Clauses Pos: 260 Max: 1
Detail - Optional
Loop: C8 Elements: 3
User Option (Usage): O Purpose: To specify applicable certifications and clauses
Syntax Rules: 1. R0302 - At least one of C803 or C802 is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
C801 213 Lading Line Item Number
Description: Sequential line number for a
lading item
O N0 1/3 O
C802 246 Certification/Clause Code
Description: Code identifying
certification/clause information
X ID 2/4 O
CodeList Summary (Total Codes: 59, Included: 1)
Code Name
01 Shipper's Load and Count
C803 247 Certification/Clause Text
Description: Free-form description of
commercial invoice certification/clause
X AN 2/60 O
Sample: C8*001*01*CERTIFICATION CLAUSE TEXT~
H1 Hazardous Material Pos: 270 Max: 1
Detail - Optional
Loop: H1 Elements: 9
User Option (Usage): O Purpose: To specify information relative to hazardous material
Syntax Rules: 1. P0708 - If either H107 or H108 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
H101 62 Hazardous Material Code
Description: Code relating to hazardous
material code qualifier for regulated hazardous materials
M AN 4/10 M
H102 209 Hazardous Material Class Code
Description: Code specifying the kind of
hazard for a material
O AN 1/4 O
H103 208 Hazardous Material Code Qualifier
Description: Code which qualifies the
Hazardous Material Class Code (209)
O ID 1/1 O
CodeList Summary (Total Codes: 13, Included: 1)
Code Name
I Intergovernmental Maritime Organization (IMO) Code
H104 64 Hazardous Material Description
Description: Material name, special
instructions, and phone number if any
O AN 2/30 O
H105 63 Hazardous Material Contact
Description: Phone number and name of
person or department to contact in case of emergency
O AN 1/24 O
H106 200 Hazardous Materials Page
Description: The United Nations page
number as required for the international transport of hazardous materials
O AN 1/6 O
H107 77 Flashpoint Temperature
Description: The flashpoint temperature for
hazardous material
X N 1/3 O
H108 355 Unit or Basis for Measurement Code
Description: Code specifying the units in
which a value is being expressed, or manner in which a measurement has been taken
X ID 2/2 O
CodeList Summary (Total Codes: 794, Included: 2)
Code Name
CE Centigrade, Celsius
FA Fahrenheit
H109 254 Packing Group Code
Description: Code indicating degree of
O ID 1/3 O
danger in terms of Roman number I, II or III
Sample: H1*3166*9*I*ENGINES, INTERNAL COMBUSTION*JOHN SMITH 8008518061*65*70*CE*III~
N1 Name Pos: 380 Max: 1
Detail - Optional
Loop: N1 Elements: 2
User Option (Usage): O Purpose: To identify a party by type of organization, name, and code
Syntax Rules: 1. R0203 - At least one of N102 or N103 is required.
2. P0304 - If either N103 or N104 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
N101 98 Entity Identifier Code
Description: Code identifying an
organizational entity, a physical location, property or an individual
M ID 2/3 M
CodeList Summary (Total Codes: 1312, Included: 1)
Code Name
R1 Party to Receive Scale Ticket
Description: Party receiving document containing weight information from scale Shipper's VGM Responsible Party
N102 93 Name
Description: Free-form name
X AN 1/60 O
Sample: N1*R1*COMPANY NAME~
G61 Contact Pos: 420 Max: 3
Detail - Optional
Loop: N1 Elements: 4
User Option (Usage): O Purpose: To identify a person or office to whom communications should be directed
Syntax Rules: 1. P0304 - If either G6103 or G6104 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
G6101 366 Contact Function Code
Description: Code identifying the major duty
or responsibility of the person or group named
M ID 2/2 M
CodeList Summary (Total Codes: 230, Included: 1)
Code Name
RP Responsible Person
Description: With function code RP the segment is used for transmission of a signature (person's name in capital letters).
G6102 93 Name
Description: Free-form name
Carrier usage: With function code RP the segment is used for transmission of a signature (person's name in capital letters). Shipper's VGM Responsible Person's name.
M AN 1/60 M
G6103 365 Communication Number Qualifier
Description: Code identifying the type of
communication number
X ID 2/2 O
CodeList Summary (Total Codes: 40, Included: 2)
Code Name
EM Electronic Mail
TE Telephone
G6104 364 Communication Number
Description: Complete communications
number including country or area code when applicable
Carrier usage: In the case of telephone do
not use hyphens or spaces between the various elements of the numbers Do not use 800 numbers since they are not dialable from everywhere in the world.
X AN 1/80 O
Sample: G61*RP*VGM RESPONSIBLE PERSON NAME*EM*[email protected]~
L3 Total Weight and Charges Pos: 010 Max: 1
Summary - Optional
Loop: L3 Elements: 6
User Option (Usage): O Purpose: To specify the total shipment in terms of weight, volume, rates, charges, advances, and prepaid amounts
applicable to one or more line items
Syntax Rules: 1. P0102 - If either L301 or L302 is present, then the other is required.
2. P0304 - If either L303 or L304 is present, then the other is required.
3. P0910 - If either L309 or L310 is present, then the other is required.
4. C1201 - If L312 is present, then L301 is required.
5. P1415 - If either L314 or L315 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
L301 81 Weight
Description: Numeric value of weight Carrier usage: Total weight of all commodities on bill of lading
X R 1/10 O
L302 187 Weight Qualifier
Description: Code defining the type of
weight
X ID 1/2 O
CodeList Summary (Total Codes: 51, Included: 1)
Code Name
G Gross Weight
L309 183 Volume
Description: Value of volumetric measure
Carrier usage: Total cubic dimension for this bill of lading
X R 1/8 O
L310 184 Volume Unit Qualifier
Description: Code identifying the volume unit
X ID 1/1 O
CodeList Summary (Total Codes: 16, Included: 2)
Code Name
E Cubic Feet
X Cubic Meters
L311 80 Lading Quantity
Description: Number of units (pieces) of the
lading commodity
Carrier usage: Total numbers of pieces for
this bill of lading
O N0 1/7 O
L312 188 Weight Unit Code
Description: Code specifying the weight unit
O ID 1/1 O
CodeList Summary (Total Codes: 8, Included: 2)
Code Name
K Kilograms
L Pounds
Sample:
L3*1705.990*G*******3.000*X*31*K~
PWK Paperwork Pos: 020 Max: 50
Summary - Optional
Loop: L3 Elements: 3
User Option (Usage): O Purpose: To identify the type or transmission or both of paperwork or supporting information
Syntax Rules: 1. P0506 - If either PWK05 or PWK06 is present, then the other is required.
Element Summary: Ref Id Element Name Req Type Min/Max Usage
PWK01 755 Report Type Code
Description: Code indicating the title or
contents of a document, report or supporting item
M ID 2/2 M
CodeList Summary (Total Codes: 522, Included: 3)
Code Name
BC Bill of Lading Copy
BO Bill of Lading Original
SW Sea Waybill
PWK02 756 Report Transmission Code
Description: Code defining timing,
transmission method or format by which reports are to be sent
O ID 1/2 O
CodeList Summary (Total Codes: 51, Included: 2)
Code Name
EL Electronically Only
PO Printed Original Required
PWK03 757 Report Copies Needed
Description: The number of copies of a
report that should be sent to the addressee
O N0 1/2 O
Sample: PWK*SW*PO*1~
K1 Remarks Pos: 060 Max: 999
Summary - Optional
Loop: L3 Elements: 2
User Option (Usage): O Purpose: To transmit information in a free-form format for comment or special instruction
Element Summary: Ref Id Element Name Req Type Min/Max Usage
K101 61 Free-Form Message
Description: Free-form information
M AN 1/30 M
K102 61 Free-Form Message
Description: Free-form information
O AN 1/30 O
Sample: K1*FREE-FORM MESSAGE*FREE-FORM MESSAGE~
SE Transaction Set Trailer Pos: 080 Max: 1
Summary - Mandatory
Loop: N/A Elements: 2
User Option (Usage): M Purpose: To indicate the end of the transaction set and provide the count of the transmitted segments (including the
beginning (ST) and ending (SE) segments)
Element Summary: Ref Id Element Name Req Type Min/Max Usage
SE01 96 Number of Included Segments
Description: Total number of segments
included in a transaction set including ST and SE segments
M N0 1/10 M
SE02 329 Transaction Set Control Number
Description: Identifying control number that
must be unique within the transaction set functional group assigned by the originator for a transaction set
M AN 4/9 M
Sample: SE*93*980192543~
GE Functional Group Trailer Pos: 090 Max: 1
Not Defined - Optional
Loop: N/A Elements: 2
User Option (Usage): O Purpose: To indicate the end of a functional group and to provide control information
Element Summary: Ref Id Element Name Req Type Min/Max Usage
GE01 97 Number of Transaction Sets Included
Description: Total number of transaction
sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
M N0 1/6 M
GE02 28 Group Control Number
Description: Assigned number originated
and maintained by the sender
M N0 1/9 M
Sample: GE*1*980192543~
IEA Interchange Control Trailer Pos: 100 Max: 1
Not Defined - Optional
Loop: N/A Elements: 2
User Option (Usage): O Purpose: To define the end of an interchange of zero or more functional groups and interchange-related control segments
Element Summary: Ref Id Element Name Req Type Min/Max Usage
IEA01 I16 Number of Included Functional Groups
Description: A count of the number of
functional groups included in an interchange
M N0 1/5 M
IEA02 I12 Interchange Control Number
Description: A control number assigned by
the interchange sender
M N0 9/9 M
Sample: IEA*1*980192543~