304Shipping Instructions (Ocean)

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.

  • 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

  • N1Loop1Name LOOPM必须(Mandatory)Repeat 10
    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 LOOPM必须(Mandatory)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

  • 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.

  • LXLoop1Assigned Number LOOPM必须(Mandatory)Repeat 999
    LXY2N7Loop1K1L0Loop1
    • 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
      N7QTYN12M7W09L1Loop1L4L7X1X2N9H1Loop1
      • N7
        Equipment Details
        M必须(Mandatory)
        Repeat 1

        To identify the equipment.

      • QTY
        Quantity
        O可选(Optional)
        Repeat 1

        To specify quantity information.

      • 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

      • 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

      • L4
        Measurement
        O可选(Optional)
        Repeat 1

        To describe physical dimensions and quantities.

      • 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 1

        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

    • 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
      L0MEAL5L12L1Loop2L4L7X1X2C8H1Loop2
      • 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.)

      • 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.

      • 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

      • L4
        Measurement
        O可选(Optional)
        Repeat 1

        To describe physical dimensions and quantities.

      • 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 1

        To transmit import license number and effective dates

      • C8
        Certifications and Clauses
        O可选(Optional)
        Repeat 10

        To specify applicable certifications and clauses.

      • 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

  • 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 25

    To identify the type and transmission of paperwork or supporting 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

  • 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 00303
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