304 Shipping Instructions

Functional Group SO

X12I Transportation Subcommittee

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.

Heading

Position
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 PurposeOptional
Max 1
To allow for positive identification of transaction set purpose
040
AuthenticationOptional
Max 2
To specify the authority for authorizing an action and the date authentication is made
050
Shipment Type InformationOptional
Max 1
To specify the General Commodity (GC) code and any required special indicators for the shipment
060
Beyond RoutingOptional
Max 1
To specify routing of a beyond point
070
Compensation InformationOptional
Max 1
To convey brokerage, freight forwarder compensation, and other compensation information related to shipments
080
Reference IdentificationOptional
Max 100
To transmit identifying information as specified by the Reference Identification Qualifier
085
Yes/No QuestionOptional
Max 10
To identify and answer yes and no questions, including the date, time, and comments further qualifying the condition
090
Vessel IdentificationOptional
Max 2
To provide vessel details and voyage number
100
Vessel ScheduleOptional
Max 1
To transmit vessel scheduling information
110
Letter of Credit ReferenceOptional
Max 1
To transmit letter of credit details
115
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
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.
M1 Loop
Repeat 5
120
InsuranceMandatory
Max 1
To specify details related to insurance
125
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
140
Bank IDOptional
Max 1
To specify data required for electronic payment
156
Date/Time ReferenceOptional
Max 20
To specify pertinent dates and times
N1 Loop
Repeat 100
160
NameMandatory
Max 1
To identify a party by type of organization, name, and code
170
Additional Name InformationOptional
Max 2
To specify additional names or those longer than 35 characters in length
180
Address InformationOptional
Max 2
To specify the location of the named party
190
Geographic LocationOptional
Max 1
To specify the geographic place of the named party
195
ContactOptional
Max 3
To identify a person or office to whom communications should be directed
R4 Loop
Repeat 20
200
Port or TerminalMandatory
Max 1
Contractual or operational port or point relevant to the movement of the cargo
210
Date/Time ReferenceOptional
Max 15
To specify pertinent dates and times
216
Route Information with PreferenceOptional
Max 25
To specify the responsibilities and carrier preference
220
Route InformationOptional
Max 13
To specify carrier and routing sequences and details
230
RemarksOptional
Max 12
To transmit information in a free-form format for comment or special instruction
240
Business Instructions and Reference NumberOptional
Max 99
To specify instructions in this business relationship or a reference number
250
Special Handling InstructionsOptional
Max 6
To specify special handling instructions in coded or free-form format
260
Description, Marks and NumbersOptional
Max 999
To specify the line item in terms of description, quantity, packaging, and marks and numbers
270
Export LicenseOptional
Max 25
To transmit information contained on an export license
280
Import LicenseOptional
Max 5
To transmit import license number and effective dates
C8 Loop
Repeat 20
290
Certifications and ClausesMandatory
Max 1
To specify applicable certifications and clauses
295
Certifications Clauses ContinuationOptional
Max 5
To specify additional applicable certifications and clauses
300
Supplementary InformationOptional
Max 10
To provide processible supplementary information

Detail

Position
Segment
Name
Max use
LX Loop
Repeat 999
010
Assigned NumberMandatory
Max 1
To reference a line number in a transaction set
020
Container DetailsOptional
Max 10
To specify container information and transportation service to be used
N7 Loop
Repeat 999
030
Equipment DetailsMandatory
Max 1
To identify the equipment
035
QuantityOptional
Max 1
To specify quantity information
038
MeasurementOptional
Max 1
To describe physical dimensions and quantities
040
Equipment EnvironmentOptional
Max 1
To describe the operating environment of the equipment
050
Seal NumbersOptional
Max 5
To record seal numbers used and the organization that applied the seals
055
Seal Number ReplacementOptional
Max 100
To provide an audit trail of seal number changes
060
Equipment and TemperatureOptional
Max 1
To relate equipment type and required temperatures
062
Hazardous CertificationOptional
Max 6
To specify the name of the person certifying that the shipment complies with the regulations and/or the actual certification
L1 Loop
Repeat 20
070
Rate and ChargesMandatory
Max 1
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
080
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
100
Tariff ReferenceOptional
Max 1
To reference details of the tariff used to arrive at applicable rates or charge
110
Export LicenseOptional
Max 25
To transmit information contained on an export license
120
Import LicenseOptional
Max 5
To transmit import license number and effective dates
130
Reference IdentificationOptional
Max 100
To transmit identifying information as specified by the Reference Identification Qualifier
H1 Loop
Repeat 10
135
Hazardous MaterialMandatory
Max 1
To specify information relative to hazardous material
137
Additional Hazardous Material DescriptionOptional
Max 10
To specify free-form hazardous material descriptive data in addition to the information provided in the H1 segment
LH1 Loop
Repeat 100
140
Hazardous Identification InformationMandatory
Max 1
To specify the hazardous commodity identification reference number and quantity
141
Hazardous Classification InformationOptional
Max 4
To specify the hazardous notation and endorsement information
If the hazardous endorsement (LH204) is "NONE", then use of LH204 is mandatory; however, the receiver must consider it to be blanks when printing a paper document.
142
Hazardous Material Shipping NameOptional
Max 10
To specify the hazardous material shipping name and additional descriptive requirements
143
Freeform Hazardous Material InformationOptional
Max 25
To uniquely identify the variable information required by government regulation covering the transportation of hazardous material shipments
144
EPA Required DataOptional
Max 3
To specify the Environmental Protection Agency (EPA) information relating to shipments of hazardous material
145
Canadian Dangerous RequirementsOptional
Max 1
To specify additional Transport Canada requirements covering transportation of dangerous goods in Canada
146
Transborder Hazardous RequirementsOptional
Max 3
To specify the placard information required by the second government agency when shipment is to cross into another country
147
Hazardous Material Identifying Reference NumbersOptional
Max 5
To transmit specific hazardous material reference numbers
148
Administrative Communications ContactOptional
Max 5
To identify a person or office to whom administrative communications should be directed
151
Business Instructions and Reference NumberOptional
Max 100
To specify instructions in this business relationship or a reference number
160
RemarksOptional
Max 10
To transmit information in a free-form format for comment or special instruction
PO4 Loop
Repeat 100
162
Item Physical DetailsMandatory
Max 1
To specify the physical qualities, packaging, weights, and dimensions relating to the item
The PO4 loop may be used to transmit layered packaging information. The use of the PO4 loop in Table 2 Position 162 is mutually exclusive with the use of the PO4 loop in Table 2 Position 172 in a single iteration of the LX loop.
164
MeasurementsOptional
Max 5
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)
166
Marks and NumbersOptional
Max 5
To indicate identifying marks and numbers for shipping containers
168
Reference IdentificationOptional
Max 5
To transmit identifying information as specified by the Reference Identification Qualifier
L0 Loop
Repeat 120
170
Line Item - Quantity and WeightMandatory
Max 1
To specify quantity, weight, volume, and type of service for a line item including applicable "quantity/rate-as" data
171
MeasurementsOptional
Max 10
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)
PO4 Loop
Repeat 100
172
Item Physical DetailsMandatory
Max 1
To specify the physical qualities, packaging, weights, and dimensions relating to the item
The PO4 loop may be used to transmit layered packaging information. The use of the PO4 loop in Table 2 Position 172 is mutually exclusive with the use of the PO4 loop in Table 2 Position 162 in a single iteration of the LX loop.
173
MeasurementsOptional
Max 5
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)
174
Marks and NumbersOptional
Max 5
To indicate identifying marks and numbers for shipping containers
175
Reference IdentificationOptional
Max 5
To transmit identifying information as specified by the Reference Identification Qualifier
176
QuantityOptional
Max 5
To specify quantity information
The lading quantity of principal interest to the parties exchanging information is transmitted in the LO segment. The quantity ordered and other pertinent lading quantities are to be transmitted in the QTY segments in the LO loop.
177
MeasurementOptional
Max 1
To describe physical dimensions and quantities
178
Hazardous CertificationOptional
Max 6
To specify the name of the person certifying that the shipment complies with the regulations and/or the actual certification
PAL Loop
Repeat 3
179
Pallet InformationMandatory
Max 1
To identify the type and physical attributes of the pallet, and, gross weight, gross volume, and height of the load and the pallet
181
QuantityOptional
Max 1
To specify quantity information
CTP Loop
Repeat 1
183
Pricing InformationMandatory
Max 1
To specify pricing information
184
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
185
Description, Marks and NumbersOptional
Max 999
To specify the line item in terms of description, quantity, packaging, and marks and numbers
187
Item IdentificationOptional
Max 1
To specify basic item identification data
190
Alternate Lading DescriptionOptional
Max 20
To provide lading description beyond what is required for rating and billing purposes
195
Reference IdentificationOptional
Max 100
To transmit identifying information as specified by the Reference Identification Qualifier
197
Yes/No QuestionOptional
Max 10
To identify and answer yes and no questions, including the date, time, and comments further qualifying the condition
L1 Loop
Repeat 20
200
Rate and ChargesMandatory
Max 1
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
210
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
230
Tariff ReferenceOptional
Max 1
To reference details of the tariff used to arrive at applicable rates or charge
SAC Loop
Repeat 10
235
Service, Promotion, Allowance, or Charge InformationMandatory
Max 1
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
236
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
L9 Loop
Repeat 10
237
Charge DetailMandatory
Max 1
To specify special charge code and the associated monetary amount
238
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
240
Export LicenseOptional
Max 25
To transmit information contained on an export license
250
Import LicenseOptional
Max 5
To transmit import license number and effective dates
C8 Loop
Repeat 20
260
Certifications and ClausesMandatory
Max 1
To specify applicable certifications and clauses
261
Certifications Clauses ContinuationOptional
Max 5
To specify additional applicable certifications and clauses
265
Supplementary InformationOptional
Max 10
To provide processible supplementary information
H1 Loop
Repeat 10
270
Hazardous MaterialMandatory
Max 1
To specify information relative to hazardous material
280
Additional Hazardous Material DescriptionOptional
Max 10
To specify free-form hazardous material descriptive data in addition to the information provided in the H1 segment
LH1 Loop
Repeat 1
290
Hazardous Identification InformationMandatory
Max 1
To specify the hazardous commodity identification reference number and quantity
300
Hazardous Classification InformationOptional
Max 4
To specify the hazardous notation and endorsement information
If the hazardous endorsement (LH204) is "NONE", then use of LH204 is mandatory; however, the receiver must consider it to be blanks when printing a paper document.
310
Hazardous Material Shipping NameOptional
Max 10
To specify the hazardous material shipping name and additional descriptive requirements
320
Freeform Hazardous Material InformationOptional
Max 25
To uniquely identify the variable information required by government regulation covering the transportation of hazardous material shipments
330
EPA Required DataOptional
Max 3
To specify the Environmental Protection Agency (EPA) information relating to shipments of hazardous material
340
Canadian Dangerous RequirementsOptional
Max 1
To specify additional Transport Canada requirements covering transportation of dangerous goods in Canada
350
Transborder Hazardous RequirementsOptional
Max 3
To specify the placard information required by the second government agency when shipment is to cross into another country
360
Hazardous Material Identifying Reference NumbersOptional
Max 5
To transmit specific hazardous material reference numbers
370
Administrative Communications ContactOptional
Max 5
To identify a person or office to whom administrative communications should be directed
N1 Loop
Repeat 10
380
NameMandatory
Max 1
To identify a party by type of organization, name, and code
390
Additional Name InformationOptional
Max 2
To specify additional names or those longer than 35 characters in length
400
Address InformationOptional
Max 2
To specify the location of the named party
410
Geographic LocationOptional
Max 1
To specify the geographic place of the named party
420
ContactOptional
Max 3
To identify a person or office to whom communications should be directed

Summary

Position
Segment
Name
Max use
L3 Loop
Repeat 1
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
011
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
015
MeasurementsOptional
Max 5
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)
020
PaperworkOptional
Max 50
To identify the type or transmission or both of paperwork or supporting information
025
Supplementary InformationOptional
Max 999
To provide processible supplementary information
L1 Loop
Repeat 20
030
Rate and ChargesMandatory
Max 1
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
040
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
TDS Loop
Repeat 1
042
Total Monetary Value SummaryMandatory
Max 1
To specify the total invoice discounts and amounts
043
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
SAC Loop
Repeat 10
044
Service, Promotion, Allowance, or Charge InformationMandatory
Max 1
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
045
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
L9 Loop
Repeat 10
046
Charge DetailMandatory
Max 1
To specify special charge code and the associated monetary amount
047
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
048
Invoice Shipment SummaryOptional
Max 5
To specify summary details of total items shipped in terms of quantity, weight, and volume
050
Event DetailOptional
Max 10
To specify information about a specific event
060
RemarksOptional
Max 999
To transmit information in a free-form format for comment or special instruction
070
Business Instructions and Reference NumberOptional
Max 24
To specify instructions in this business relationship or a reference number
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.