304Shipping Instructions

This Draft Standard for Trial Use provides the format and establishes the data contents of the Shipment Instructions Transaction Set (304) within the context of an Electronic Data Interchange 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, it provides for the transmission of shipping and financial information required by the forwarder to move cargo and provide the services requested.

  • ST
    Transaction Set Header
    M必须(Mandatory)
    Repeat 1

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

  • B2
    Beginning Segment for Shipment Information Transaction
    M必须(Mandatory)
    Repeat 1

    To transmit basic data relating to shipment information.

  • B2A
    Set Purpose
    O可选(Optional)
    Repeat 1

    To allow for positive identification of transaction set purpose.

  • Y6
    Authentication
    O可选(Optional)
    Repeat 2

    To specify the authority for authorizing an action and the date authentication is made

  • G1
    Shipment Type Information
    O可选(Optional)
    Repeat 1

    To specify the General Commodity (GC) code and any required special indicators for the shipment.

  • G2
    Beyond Routing
    O可选(Optional)
    Repeat 1

    To specify routing of a beyond point

  • G3
    Compensation Information
    O可选(Optional)
    Repeat 1

    To convey brokerage, freight forwarder compensation and other compensation information related to shipments.

  • N9
    Reference Number
    O可选(Optional)
    Repeat 100

    To transmit identifying numbers and descriptive information as specified by the reference number qualifier

  • V1
    Vessel Identification
    O可选(Optional)
    Repeat 2

    To provide vessel details and voyage number

  • V3
    Vessel Schedule
    O可选(Optional)
    Repeat 1

    To transmit vessel scheduling information

  • M0
    Letter of Credit Reference
    O可选(Optional)
    Repeat 1

    To transmit letter of credit details

  • M1
    Insurance
    O可选(Optional)
    Repeat 5

    To specify details related to insurance

  • M2
    Sales/Delivery Terms
    O可选(Optional)
    Repeat 1

    To state terms and dates

  • C2
    Bank ID
    O可选(Optional)
    Repeat 1

    To specify data required for electronic payment

  • C3
    Currency
    O可选(Optional)
    Repeat 1

    To specify the currency being used in the transaction set

  • ITD
    Terms of Sale/Deferred Terms of Sale
    O可选(Optional)
    Repeat 1

    To specify terms of sale.

  • DTM
    Date/Time Reference
    O可选(Optional)
    Repeat 20

    To specify pertinent dates and times

  • N1Loop1Name LOOPO可选(Optional)Repeat 100
    N1N2N3N4G61
    • N1
      Name
      M必须(Mandatory)
      Repeat 1

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

    • N2
      Additional Name Information
      O可选(Optional)
      Repeat 2

      To specify additional names or those longer than 35 characters in length

    • N3
      Address Information
      O可选(Optional)
      Repeat 2

      To specify the location of the named party

    • N4
      Geographic Location
      O可选(Optional)
      Repeat 1

      To specify the geographic place of the named party

    • G61
      Contact
      O可选(Optional)
      Repeat 3

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

  • R4Loop1Port LOOPO可选(Optional)Repeat 20
    R4DTM
    • R4
      Port
      M必须(Mandatory)
      Repeat 1

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

    • DTM
      Date/Time Reference
      O可选(Optional)
      Repeat 15

      To specify pertinent dates and times

  • R2A
    Route Information with Preference
    O可选(Optional)
    Repeat 25

    To specify the responsibilities and carrier preference

  • R2
    Route Information
    O可选(Optional)
    Repeat 13

    To specify carrier and routing sequences and details

  • K1
    Remarks
    O可选(Optional)
    Repeat 12

    To transmit information in a free-form format, if necessary, for comment or special instruction.

  • L11
    Business Instructions
    O可选(Optional)
    Repeat 99

    To specify instructions in this business relationship.

  • H3
    Special Handling Instructions
    O可选(Optional)
    Repeat 6

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

  • L5
    Description, Marks and Numbers
    O可选(Optional)
    Repeat 999

    To specify the line item in terms of description, quantity, packaging, and marks and numbers.

  • X1
    Export License
    O可选(Optional)
    Repeat 1

    To transmit information contained on an export license

  • X2
    Import License
    O可选(Optional)
    Repeat 5

    To transmit import license number and effective dates

  • C8Loop1Certifications and Clauses LOOPO可选(Optional)Repeat 20
    C8C8CSUP
    • C8
      Certifications and Clauses
      M必须(Mandatory)
      Repeat 1

      To specify applicable certifications and clauses.

    • C8C
      Certifications Clauses Continuation
      O可选(Optional)
      Repeat 5

      To specify additional applicable certifications and clauses

    • SUP
      Supplementary Information
      O可选(Optional)
      Repeat 10

      To provide processible supplementary information

  • LXLoop1Assigned Number LOOPO可选(Optional)Repeat 999
    LXY2N7Loop1L11K1L0Loop1
    • LX
      Assigned Number
      M必须(Mandatory)
      Repeat 1

      To reference a line number in a transaction set.

    • Y2
      Container Details
      O可选(Optional)
      Repeat 10

      To specify container information and transportation service to be used

    • N7Loop1Equipment Details LOOPO可选(Optional)Repeat 999
      N7QTYL4N12M7W09LH6L1Loop1L7X1X2N9H1Loop1LH1Loop1
      • N7
        Equipment Details
        M必须(Mandatory)
        Repeat 1

        To identify the equipment.

      • QTY
        Quantity
        O可选(Optional)
        Repeat 1

        To specify quantity information.

      • L4
        Measurement
        O可选(Optional)
        Repeat 1

        To describe physical dimensions and quantities.

      • N12
        Equipment Environment
        O可选(Optional)
        Repeat 1

        To describe the operating environment of the equipment.

      • M7
        Seal Numbers
        O可选(Optional)
        Repeat 5

        To record seal numbers used and the organization that applied the seals.

      • W09
        Equipment and Temperature
        O可选(Optional)
        Repeat 1

        To relate equipment type and required temperatures

      • LH6
        Hazardous Certification
        O可选(Optional)
        Repeat 6

        To specify the name of the person certifying that the shipment complies with the regulations and/or the actual certification.

      • L1Loop1Rate and Charges LOOPO可选(Optional)Repeat 20
        L1C3
        • L1
          Rate and Charges
          M必须(Mandatory)
          Repeat 1

          To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements

        • C3
          Currency
          O可选(Optional)
          Repeat 1

          To specify the currency being used in the transaction set

      • L7
        Tariff Reference
        O可选(Optional)
        Repeat 1

        To reference details of the tariff used to arrive at applicable rates or charge

      • X1
        Export License
        O可选(Optional)
        Repeat 1

        To transmit information contained on an export license

      • X2
        Import License
        O可选(Optional)
        Repeat 5

        To transmit import license number and effective dates

      • N9
        Reference Number
        O可选(Optional)
        Repeat 3

        To transmit identifying numbers and descriptive information as specified by the reference number qualifier

      • H1Loop1Hazardous Material LOOPO可选(Optional)Repeat 10
        H1H2
        • H1
          Hazardous Material
          M必须(Mandatory)
          Repeat 1

          To specify information relative to hazardous material

        • H2
          Additional Hazardous Material Description
          O可选(Optional)
          Repeat 10

          To specify free-form hazardous material descriptive data in addition to the information provided in segment H1

      • LH1Loop1Hazardous Identification Information LOOPO可选(Optional)Repeat 100
        LH1LH2LH3LFHLEPLH4LHTLHRPER
        • LH1
          Hazardous Identification Information
          M必须(Mandatory)
          Repeat 1

          To specify the hazardous commodity identification reference number and quantity.

        • LH2
          Hazardous Classification Information
          O可选(Optional)
          Repeat 4

          To specify the hazardous classification, placard notation and endorsement information.

        • LH3
          Hazardous Material Shipping Name
          O可选(Optional)
          Repeat 10

          To specify the hazardous material shipping name and additional descriptive requirements.

        • LFH
          Freeform Hazardous Material Information
          O可选(Optional)
          Repeat 20

          To uniquely identify the variable information required by government regulation covering the transportation of hazardous material shipments

        • LEP
          EPA Required Data
          O可选(Optional)
          Repeat 3

          To specify the Environmental Protection Agency (EPA) information relating to shipments of hazardous material

        • LH4
          Canadian Dangerous Requirements
          O可选(Optional)
          Repeat 1

          To specify additional Canadian Transport Goods Directorate requirements covering transportation of dangerous commodities in Canada.

        • LHT
          Transborder Hazardous Requirements
          O可选(Optional)
          Repeat 3

          To specify the placard information required by the second government agency when shipment is to cross into another country

        • LHR
          Hazardous Material Identifying Reference Numbers
          O可选(Optional)
          Repeat 5

          To transmit specific hazardous material reference numbers.

        • PER
          Administrative Communications Contact
          O可选(Optional)
          Repeat 5

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

    • L11
      Business Instructions
      O可选(Optional)
      Repeat 100

      To specify instructions in this business relationship.

    • K1
      Remarks
      O可选(Optional)
      Repeat 10

      To transmit information in a free-form format, if necessary, for comment or special instruction.

    • L0Loop1Line Item - Quantity and Weight LOOPO可选(Optional)Repeat 120
      L0MEAPO4QTYL4LH6PALLoop1CTPL5L12N9L1Loop2L7SACL9X1X2C8Loop2H1Loop2LH1Loop2
      • L0
        Line Item - Quantity and Weight
        M必须(Mandatory)
        Repeat 1

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

      • MEA
        Measurements
        O可选(Optional)
        Repeat 10

        To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001.)

      • PO4
        Item Physical Details
        O可选(Optional)
        Repeat 1

        To specify the physical qualities, packaging, weights and dimensions relating to the item.

      • QTY
        Quantity
        O可选(Optional)
        Repeat 5

        To specify quantity information.

      • L4
        Measurement
        O可选(Optional)
        Repeat 1

        To describe physical dimensions and quantities.

      • LH6
        Hazardous Certification
        O可选(Optional)
        Repeat 1

        To specify the name of the person certifying that the shipment complies with the regulations and/or the actual certification.

      • PALLoop1Pallet Information LOOPO可选(Optional)Repeat 3
        PALQTY
        • PAL
          Pallet Information
          M必须(Mandatory)
          Repeat 1

          To identify the type and physical attributes of the pallet, and, gross weight, gross volume, and height of the load and the pallet

        • QTY
          Quantity
          O可选(Optional)
          Repeat 1

          To specify quantity information.

      • CTP
        Pricing Information
        O可选(Optional)
        Repeat 1

        To specify pricing information

      • L5
        Description, Marks and Numbers
        O可选(Optional)
        Repeat 999

        To specify the line item in terms of description, quantity, packaging, and marks and numbers.

      • L12
        Alternate Lading Description
        O可选(Optional)
        Repeat 20

        To provide lading description beyond what is required for rating and billing purposes.

      • N9
        Reference Number
        O可选(Optional)
        Repeat 10

        To transmit identifying numbers and descriptive information as specified by the reference number qualifier

      • L1Loop2Rate and Charges LOOPO可选(Optional)Repeat 20
        L1C3
        • L1
          Rate and Charges
          M必须(Mandatory)
          Repeat 1

          To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements

        • C3
          Currency
          O可选(Optional)
          Repeat 1

          To specify the currency being used in the transaction set

      • L7
        Tariff Reference
        O可选(Optional)
        Repeat 1

        To reference details of the tariff used to arrive at applicable rates or charge

      • SAC
        Service, Promotion, Allowance, or Charge Information
        O可选(Optional)
        Repeat 10

        To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

      • L9
        Charge Detail
        O可选(Optional)
        Repeat 10

        To specify special charge code and the associated monetary amount.

      • X1
        Export License
        O可选(Optional)
        Repeat 1

        To transmit information contained on an export license

      • X2
        Import License
        O可选(Optional)
        Repeat 5

        To transmit import license number and effective dates

      • C8Loop2Certifications and Clauses LOOPO可选(Optional)Repeat 20
        C8C8CSUP
        • C8
          Certifications and Clauses
          M必须(Mandatory)
          Repeat 1

          To specify applicable certifications and clauses.

        • C8C
          Certifications Clauses Continuation
          O可选(Optional)
          Repeat 5

          To specify additional applicable certifications and clauses

        • SUP
          Supplementary Information
          O可选(Optional)
          Repeat 10

          To provide processible supplementary information

      • H1Loop2Hazardous Material LOOPO可选(Optional)Repeat 10
        H1H2
        • H1
          Hazardous Material
          M必须(Mandatory)
          Repeat 1

          To specify information relative to hazardous material

        • H2
          Additional Hazardous Material Description
          O可选(Optional)
          Repeat 10

          To specify free-form hazardous material descriptive data in addition to the information provided in segment H1

      • LH1Loop2Hazardous Identification Information LOOPO可选(Optional)Repeat 100
        LH1LH2LH3LFHLEPLH4LHTLHRPER
        • LH1
          Hazardous Identification Information
          M必须(Mandatory)
          Repeat 1

          To specify the hazardous commodity identification reference number and quantity.

        • LH2
          Hazardous Classification Information
          O可选(Optional)
          Repeat 4

          To specify the hazardous classification, placard notation and endorsement information.

        • LH3
          Hazardous Material Shipping Name
          O可选(Optional)
          Repeat 10

          To specify the hazardous material shipping name and additional descriptive requirements.

        • LFH
          Freeform Hazardous Material Information
          O可选(Optional)
          Repeat 20

          To uniquely identify the variable information required by government regulation covering the transportation of hazardous material shipments

        • LEP
          EPA Required Data
          O可选(Optional)
          Repeat 3

          To specify the Environmental Protection Agency (EPA) information relating to shipments of hazardous material

        • LH4
          Canadian Dangerous Requirements
          O可选(Optional)
          Repeat 1

          To specify additional Canadian Transport Goods Directorate requirements covering transportation of dangerous commodities in Canada.

        • LHT
          Transborder Hazardous Requirements
          O可选(Optional)
          Repeat 3

          To specify the placard information required by the second government agency when shipment is to cross into another country

        • LHR
          Hazardous Material Identifying Reference Numbers
          O可选(Optional)
          Repeat 5

          To transmit specific hazardous material reference numbers.

        • PER
          Administrative Communications Contact
          O可选(Optional)
          Repeat 5

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

  • L3Loop1Total Weight and Charges LOOPO可选(Optional)Repeat 1
    L3MEAPWKSUPL1Loop3TDSSACL9ISSV9K1L11
    • L3
      Total Weight and Charges
      M必须(Mandatory)
      Repeat 1

      To specify the total shipment in terms of weight, volume, rates, charges, advances, and prepaid amounts applicable to one or more line items

    • MEA
      Measurements
      O可选(Optional)
      Repeat 5

      To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001.)

    • PWK
      Paperwork
      O可选(Optional)
      Repeat 50

      To identify the type and transmission of paperwork or supporting information

    • SUP
      Supplementary Information
      O可选(Optional)
      Repeat 25

      To provide processible supplementary information

    • L1Loop3Rate and Charges LOOPO可选(Optional)Repeat 20
      L1C3
      • L1
        Rate and Charges
        M必须(Mandatory)
        Repeat 1

        To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements

      • C3
        Currency
        O可选(Optional)
        Repeat 1

        To specify the currency being used in the transaction set

    • TDS
      Total Monetary Value Summary
      O可选(Optional)
      Repeat 1

      To specify the total invoice discounts and amounts

    • SAC
      Service, Promotion, Allowance, or Charge Information
      O可选(Optional)
      Repeat 10

      To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

    • L9
      Charge Detail
      O可选(Optional)
      Repeat 10

      To specify special charge code and the associated monetary amount.

    • ISS
      Invoice Shipment Summary
      O可选(Optional)
      Repeat 5

      To specify summary details of total items shipped in terms of quantity, weight, and volume.

    • V9
      Event Detail
      O可选(Optional)
      Repeat 10

      To specify information about a specific event

    • K1
      Remarks
      O可选(Optional)
      Repeat 999

      To transmit information in a free-form format, if necessary, for comment or special instruction.

    • L11
      Business Instructions
      O可选(Optional)
      Repeat 24

      To specify instructions in this business relationship.

  • SE
    Transaction Set Trailer
    M必须(Mandatory)
    Repeat 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).

Segment
X12 EDI Release 00304
To indicate the start of a transaction set and to assign a control number
Elements
  • ST01143Transaction Set Identifier Code
    ID
    M必须(Mandatory)
    Min 3 / Max 3

    Code uniquely identifying a Transaction Set.

    Codes (320)
  • ST02329Transaction Set Control Number
    AN
    M必须(Mandatory)
    Min 4 / Max 9

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

  • ST031705Implementation Convention Preference
    AN
    O可选(Optional)
    Min 1 / Max 9