EDI
API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Transaction Set
in
X12 Release 003030

304 Shipping Instructions (Ocean)

Functional Group SO

X12I Transportation Subcommittee

This Draft Standard for Trial Use contains the format and establishes the data contents of the Shipment Instructions (Ocean) Transaction Set (304) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used by the shipper to either a forwarder or an ocean carrier, or by a forwarder to an ocean carrier, and 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 sent by the shipper to a forwarder this transaction set serves the same informational purposes as the shipper's letter of instruction.

Heading

Sequence
Segment
Name
Max use
010
Transaction Set HeaderMandatory
Max 1
To indicate the start of a transaction set and to assign a control number
020
Beginning Segment for Shipment Information TransactionMandatory
Max 1
To transmit basic data relating to shipment information.
030
Set Purpose
Max 1
To allow for positive identification of transaction set purpose.
040
Authentication
Max 2
To specify the authority for authorizing an action and the date authentication is made
050
Shipment Type Information
Max 1
To specify the General Commodity (GC) code and any required special indicators for the shipment.
060
Beyond Routing
Max 1
To specify routing of a beyond point
070
Compensation Information
Max 1
To convey brokerage, freight forwarder compensation and other compensation information related to shipments.
080
Reference Number
Max 100
To transmit identifying numbers and descriptive information as specified by the reference number qualifier
090
Vessel Identification
Max 2
To provide vessel details and voyage number
100
Vessel Schedule
Max 1
To transmit vessel scheduling information
110
Letter of Credit Reference
Max 1
To transmit letter of credit details
120
Insurance
Max 5
To specify details related to insurance
130
Sales/Delivery Terms
Max 1
To state terms and dates
140
Bank ID
Max 1
To specify data required for electronic payment
150
Currency
Max 1
To specify the currency being used in the transaction set
N1 Loop
Repeat 10
160
NameMandatory
Max 1
To identify a party by type of organization, name and code
170
Additional Name Information
Max 2
To specify additional names or those longer than 35 characters in length
180
Address Information
Max 2
To specify the location of the named party
190
Geographic Location
Max 1
To specify the geographic place of the named party
195
Contact
Max 3
To identify a person or office to whom communications should be directed
R4 Loop
Repeat 20
200
PortMandatory
Max 1
Contractual or operational port or point relevant to the movement of the cargo.
210
Date/Time Reference
Max 15
To specify pertinent dates and times
220
Route Information
Max 13
To specify carrier and routing sequences and details
230
Remarks
Max 12
To transmit information in a free-form format, if necessary, for comment or special instruction.
240
Business Instructions
Max 99
To specify instructions in this business relationship.
250
Special Handling Instructions
Max 6
To specify special handling instructions in coded or free-form format
260
Description, Marks and Numbers
Max 999
To specify the line item in terms of description, quantity, packaging, and marks and numbers.

Detail

Sequence
Segment
Name
Max use
LX Loop
Repeat 999
010
Assigned NumberMandatory
Max 1
To reference a line number in a transaction set.
020
Container Details
Max 10
To specify container information and transportation service to be used
N7 Loop
Repeat 999
030
Equipment Details
Max 1
To identify the equipment.
035
Quantity
Max 1
To specify quantity information.
040
Equipment Environment
Max 1
To describe the operating environment of the equipment.
050
Seal Numbers
Max 5
To record seal numbers used and the organization that applied the seals.
060
Equipment and Temperature
Max 1
To relate equipment type and required temperatures
L1 Loop
Repeat 20
070
Rate and Charges
Max 1
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
080
Currency
Max 1
To specify the currency being used in the transaction set
090
Measurement
Max 1
To describe physical dimensions and quantities.
100
Tariff Reference
Max 1
To reference details of the tariff used to arrive at applicable rates or charge
110
Export License
Max 1
To transmit information contained on an export license
120
Import License
Max 1
To transmit import license number and effective dates
130
Reference Number
Max 3
To transmit identifying numbers and descriptive information as specified by the reference number qualifier
H1 Loop
Repeat 10
140
Hazardous Material
Max 1
To specify information relative to hazardous material
150
Additional Hazardous Material Description
Max 10
To specify free-form hazardous material descriptive data in addition to the information provided in segment H1
160
Remarks
Max 10
To transmit information in a free-form format, if necessary, for comment or special instruction.
L0 Loop
Repeat 120
170
Line Item - Quantity and Weight
Max 1
To specify quantity, weight, volume and type of service for a line item including applicable ``quantity/rate-as'' data.
175
Measurements
Max 10
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001.)
180
Description, Marks and Numbers
Max 999
To specify the line item in terms of description, quantity, packaging, and marks and numbers.
190
Alternate Lading Description
Max 20
To provide lading description beyond what is required for rating and billing purposes.
L1 Loop
Repeat 20
200
Rate and Charges
Max 1
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
210
Currency
Max 1
To specify the currency being used in the transaction set
220
Measurement
Max 1
To describe physical dimensions and quantities.
230
Tariff Reference
Max 1
To reference details of the tariff used to arrive at applicable rates or charge
240
Export License
Max 1
To transmit information contained on an export license
250
Import License
Max 1
To transmit import license number and effective dates
260
Certifications and Clauses
Max 10
To specify applicable certifications and clauses.
H1 Loop
Repeat 10
270
Hazardous Material
Max 1
To specify information relative to hazardous material
280
Additional Hazardous Material Description
Max 10
To specify free-form hazardous material descriptive data in addition to the information provided in segment H1

Summary

Sequence
Segment
Name
Max use
010
Total Weight and ChargesMandatory
Max 1
To specify the total shipment in terms of weight, volume, rates, charges, advances, and prepaid amounts applicable to one or more line items
015
Measurements
Max 5
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001.)
020
Paperwork
Max 25
To identify the type and transmission of paperwork or supporting information
L1 Loop
Repeat 20
030
Rate and Charges
Max 1
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
040
Currency
Max 1
To specify the currency being used in the transaction set
050
Event Detail
Max 10
To specify information about a specific event
060
Remarks
Max 999
To transmit information in a free-form format, if necessary, for comment or special instruction.
070
Business Instructions
Max 24
To specify instructions in this business relationship.
080
Transaction Set TrailerMandatory
Max 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).
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site 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. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site 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. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.