304 Shipping Instructions
304 Shipping Instructions
Function Group SO
This X12 Transaction Set provides the format and establishes the data contents of the Shipping 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.
Position
Segment
Name
Max Use
0100
Transaction Set HeaderMandatory
Max 1
To indicate the start of a transaction set and to assign a control number
0200
Beginning Segment for Shipment Information TransactionMandatory
Max 1
To transmit basic data relating to shipment information
0300
Set PurposeOptional
Max 1
To allow for positive identification of transaction set purpose
0400
AuthenticationOptional
Max 2
To specify the authority for authorizing an action and the date authentication is made
0500
Shipment Type InformationOptional
Max 1
To specify the General Commodity (GC) code and any required special indicators for the shipment
0600
Beyond RoutingOptional
Max 1
To specify routing of a beyond point
0700
Compensation InformationOptional
Max 1
To convey brokerage, freight forwarder compensation, and other compensation information related to shipments
0800
Extended Reference InformationOptional
Max 100
To transmit identifying information as specified by the Reference Identification Qualifier
0850
Yes/No QuestionOptional
Max 10
To identify and answer yes and no questions, including the date, time, and comments further qualifying the condition
0900
Vessel IdentificationOptional
Max 2
To provide vessel details and voyage number
1000
Vessel ScheduleOptional
Max 1
To transmit vessel scheduling information
1100
Letter of Credit ReferenceOptional
Max 1
To transmit letter of credit details
1150
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
M1Loop
Optional
Repeat 5
1200
InsuranceMandatory
Max 1
To specify details related to insurance
1250
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
1300
Sales/Delivery TermsOptional
Max 1
To state terms and dates
1400
Bank IDOptional
Max 1
To specify data required for electronic payment
1550
Terms of Sale/Deferred Terms of SaleOptional
Max 1
To specify terms of sale
1560
Date/Time ReferenceOptional
Max 20
To specify pertinent dates and times
N1Loop
Optional
Repeat 100
1600
Party IdentificationMandatory
Max 1
To identify a party by type of organization, name, and code
1700
Additional Name InformationOptional
Max 2
To specify additional names
1800
Party LocationOptional
Max 2
To specify the location of the named party
1900
Geographic LocationOptional
Max 1
To specify the geographic place of the named party
1950
ContactOptional
Max 3
To identify a person or office to whom communications should be directed
R4Loop
Optional
Repeat 20
2000
Port or TerminalMandatory
Max 1
Contractual or operational port or point relevant to the movement of the cargo
2100
Date/Time ReferenceOptional
Max 15
To specify pertinent dates and times
2160
Route Information with PreferenceOptional
Max 25
To specify the responsibilities and carrier preference
2200
Route InformationOptional
Max 13
To specify carrier and routing sequences and details
2300
RemarksOptional
Max 12
To transmit information in a free-form format for comment or special instruction
2400
Business Instructions and Reference NumberOptional
Max 99
To specify instructions in this business relationship or a reference number
2500
Special Handling InstructionsOptional
Max 20
To specify special handling instructions in coded or free-form format
2600
Description, Marks and NumbersOptional
Max 999
To specify the line item in terms of description, quantity, packaging, and marks and numbers
2700
Export LicenseOptional
Max 25
To transmit information contained on an export license
2800
Import LicenseOptional
Max 5
To transmit import license number and effective dates
C8Loop
Optional
Repeat 20
2900
Certifications and ClausesMandatory
Max 1
To specify applicable certifications and clauses
2950
Certifications Clauses ContinuationOptional
Max 5
To specify additional applicable certifications and clauses
3000
Supplementary InformationOptional
Max 10
To provide processible supplementary information
Position
Segment
Name
Max Use
LXLoop
Optional
Repeat 999
0100
Transaction Set Line NumberMandatory
Max 1
To reference a line number in a transaction set
0200
Container DetailsOptional
Max 10
To specify container information and transportation service to be used
N7Loop
Optional
Repeat 999
0300
Equipment DetailsMandatory
Max 1
To identify the equipment
0350
Quantity InformationOptional
Max 1
To specify quantity information
0380
MeasurementOptional
Max 1
To describe physical dimensions and quantities
0400
Equipment EnvironmentOptional
Max 1
To describe the operating environment of the equipment
0500
Seal NumbersOptional
Max 5
To record seal numbers used and the organization that applied the seals
0550
Seal Number ReplacementOptional
Max 100
To provide an audit trail of seal number changes
0600
Equipment and TemperatureOptional
Max 1
To relate equipment type and required temperatures
0620
Hazardous CertificationOptional
Max 6
To specify the name of the person certifying that the shipment complies with the regulations and/or the actual certification
L1Loop
Optional
Repeat 20
0700
Rate and ChargesMandatory
Max 1
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
0800
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
1000
Tariff ReferenceOptional
Max 1
To reference details of the tariff used to arrive at applicable rates or charge
1100
Export LicenseOptional
Max 25
To transmit information contained on an export license
1200
Import LicenseOptional
Max 5
To transmit import license number and effective dates
1300
Extended Reference InformationOptional
Max 100
To transmit identifying information as specified by the Reference Identification Qualifier
H1Loop
Optional
Repeat 10
1350
Hazardous MaterialMandatory
Max 1
To specify information relative to hazardous material
1370
Additional Hazardous Material DescriptionOptional
Max 10
To specify free-form hazardous material descriptive data in addition to the information provided in the H1 segment
LH1Loop
Optional
Repeat 100
1400
Hazardous Identification InformationMandatory
Max 1
To specify the hazardous commodity identification reference number and quantity
1410
Hazardous Classification InformationOptional
Max 4
To specify the hazardous notation and endorsement information
1420
Hazardous Material Shipping Name InformationOptional
Max 10
To specify the hazardous material shipping name and additional descriptive requirements
1430
Free-form Hazardous Material InformationOptional
Max 25
To uniquely identify the variable information required by government regulation covering the transportation of hazardous material shipments
1440
EPA Required DataOptional
Max 3
To specify the Environmental Protection Agency (EPA) information relating to shipments of hazardous material
1450
Canadian Dangerous RequirementsOptional
Max 1
To specify additional Transport Canada requirements covering transportation of dangerous goods in Canada
1460
Transborder Hazardous RequirementsOptional
Max 3
To specify the placard information required by the second government agency when shipment is to cross into another country
1470
Hazardous Material Identifying Reference NumbersOptional
Max 10
To transmit specific hazardous material reference numbers
1480
Administrative Communications ContactOptional
Max 5
To identify a person or office to whom administrative communications should be directed
1510
Business Instructions and Reference NumberOptional
Max 100
To specify instructions in this business relationship or a reference number
1600
RemarksOptional
Max 10
To transmit information in a free-form format for comment or special instruction
PO4Loop
Optional
Repeat 100
1620
Item Physical DetailsMandatory
Max 1
To specify the physical qualities, packaging, weights, and dimensions relating to the item
1640
MeasurementsOptional
Max 5
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See X12 EDI Standard Figures, https://figures.x12.org, for example of use of C001)
1660
Marks and Numbers InformationOptional
Max 5
To indicate identifying marks and numbers for shipping containers
1680
Extended Reference InformationOptional
Max 5
To transmit identifying information as specified by the Reference Identification Qualifier
L0Loop
Optional
Repeat 120
1700
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
1710
MeasurementsOptional
Max 10
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See X12 EDI Standard Figures, https://figures.x12.org, for example of use of C001)
1715
Extended Reference InformationOptional
Max 100
To transmit identifying information as specified by the Reference Identification Qualifier
PO4Loop
Optional
Repeat 100
1720
Item Physical DetailsMandatory
Max 1
To specify the physical qualities, packaging, weights, and dimensions relating to the item
1730
MeasurementsOptional
Max 5
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See X12 EDI Standard Figures, https://figures.x12.org, for example of use of C001)
1740
Marks and Numbers InformationOptional
Max 5
To indicate identifying marks and numbers for shipping containers
1750
Extended Reference InformationOptional
Max 5
To transmit identifying information as specified by the Reference Identification Qualifier
1760
Quantity InformationOptional
Max 5
To specify quantity information
1770
MeasurementOptional
Max 1
To describe physical dimensions and quantities
1780
Hazardous CertificationOptional
Max 6
To specify the name of the person certifying that the shipment complies with the regulations and/or the actual certification
PALLoop
Optional
Repeat 3
1790
Pallet Type and Load CharacteristicsMandatory
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
1810
Quantity InformationOptional
Max 1
To specify quantity information
CTPLoop
Optional
Repeat 1
1830
Pricing InformationMandatory
Max 1
To specify pricing information
1840
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
1850
Description, Marks and NumbersOptional
Max 999
To specify the line item in terms of description, quantity, packaging, and marks and numbers
1870
Item IdentificationOptional
Max 1
To specify basic item identification data
1900
Alternate Lading DescriptionOptional
Max 20
To provide lading description beyond what is required for rating and billing purposes
1970
Yes/No QuestionOptional
Max 10
To identify and answer yes and no questions, including the date, time, and comments further qualifying the condition
L1Loop
Optional
Repeat 20
2000
Rate and ChargesMandatory
Max 1
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
2100
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
2300
Tariff ReferenceOptional
Max 1
To reference details of the tariff used to arrive at applicable rates or charge
SACLoop
Optional
Repeat 10
2350
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
2360
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
L9Loop
Optional
Repeat 10
2370
Charge DetailMandatory
Max 1
To specify special charge code and the associated monetary amount
2380
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
2400
Export LicenseOptional
Max 25
To transmit information contained on an export license
2500
Import LicenseOptional
Max 5
To transmit import license number and effective dates
C8Loop
Optional
Repeat 20
2600
Certifications and ClausesMandatory
Max 1
To specify applicable certifications and clauses
2610
Certifications Clauses ContinuationOptional
Max 5
To specify additional applicable certifications and clauses
2650
Supplementary InformationOptional
Max 10
To provide processible supplementary information
H1Loop
Optional
Repeat 10
2700
Hazardous MaterialMandatory
Max 1
To specify information relative to hazardous material
2800
Additional Hazardous Material DescriptionOptional
Max 10
To specify free-form hazardous material descriptive data in addition to the information provided in the H1 segment
LH1Loop
Optional
Repeat 1000
2900
Hazardous Identification InformationMandatory
Max 1
To specify the hazardous commodity identification reference number and quantity
3000
Hazardous Classification InformationOptional
Max 4
To specify the hazardous notation and endorsement information
3100
Hazardous Material Shipping Name InformationOptional
Max 10
To specify the hazardous material shipping name and additional descriptive requirements
3200
Free-form Hazardous Material InformationOptional
Max 25
To uniquely identify the variable information required by government regulation covering the transportation of hazardous material shipments
3300
EPA Required DataOptional
Max 3
To specify the Environmental Protection Agency (EPA) information relating to shipments of hazardous material
3400
Canadian Dangerous RequirementsOptional
Max 1
To specify additional Transport Canada requirements covering transportation of dangerous goods in Canada
3500
Transborder Hazardous RequirementsOptional
Max 3
To specify the placard information required by the second government agency when shipment is to cross into another country
3600
Hazardous Material Identifying Reference NumbersOptional
Max 5
To transmit specific hazardous material reference numbers
3700
Administrative Communications ContactOptional
Max 5
To identify a person or office to whom administrative communications should be directed
N1Loop
Optional
Repeat 10
3800
Party IdentificationMandatory
Max 1
To identify a party by type of organization, name, and code
3900
Additional Name InformationOptional
Max 2
To specify additional names
4000
Party LocationOptional
Max 2
To specify the location of the named party
4100
Geographic LocationOptional
Max 1
To specify the geographic place of the named party
4200
ContactOptional
Max 3
To identify a person or office to whom communications should be directed
Position
Segment
Name
Max Use
L3Loop
Optional
Repeat 1
0100
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
0110
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
0150
MeasurementsOptional
Max 5
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See X12 EDI Standard Figures, https://figures.x12.org, for example of use of C001)
0200
PaperworkOptional
Max 50
To identify the type or transmission or both of paperwork or supporting information
0250
Supplementary InformationOptional
Max 999
To provide processible supplementary information
L1Loop
Optional
Repeat 20
0300
Rate and ChargesMandatory
Max 1
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
0400
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
TDSLoop
Optional
Repeat 1
0420
Total Monetary Value SummaryMandatory
Max 1
To specify the total invoice discounts and amounts
0430
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
SACLoop
Optional
Repeat 10
0440
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
0450
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
L9Loop
Optional
Repeat 10
0460
Charge DetailMandatory
Max 1
To specify special charge code and the associated monetary amount
0470
CurrencyOptional
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
0480
Invoice Shipment SummaryOptional
Max 5
To specify summary details of total items shipped in terms of quantity, weight, and volume
0500
Event DetailOptional
Max 10
To specify information about a specific event
0600
RemarksOptional
Max 999
To transmit information in a free-form format for comment or special instruction
0700
Business Instructions and Reference NumberOptional
Max 24
To specify instructions in this business relationship or a reference number
0800
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)