311Canadian Customs Information

This Draft Standard for Trial Use provides the format and establishes the data contents of the Canadian Customs Information Transaction Set (311) for use within the context of an Electronic Data Interchange (EDI) environment. This transaction set provides all information necessary for an ocean or rail carrier or freight forwarder to report input and export conveyance and consignment information to Canadian Customs.

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

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

  • B2A
    Set Purpose
    M必须(Mandatory)
    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

  • N9
    Reference Identification
    M必须(Mandatory)
    Repeat 10

    To transmit identifying information as specified by the Reference Identification Qualifier

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

    To provide vessel details and voyage number

  • V2
    Vessel Information
    O可选(Optional)
    Repeat 1

    To provide vessel details

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

    To transmit vessel scheduling information

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

    To specify pertinent dates and times

  • N1Loop1Name LOOPM必须(Mandatory)Repeat 10
    N1N2N3N4
    • N1
      Name
      M必须(Mandatory)
      Repeat 1

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

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

      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

  • R4
    Port or Terminal
    M必须(Mandatory)
    Repeat 10

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

  • K1
    Remarks
    O可选(Optional)
    Repeat 5

    To transmit information in a free-form format for comment or special instruction

  • LXLoop1Assigned Number LOOPM必须(Mandatory)Repeat 999
    LXY2EDLoop1L0Loop1
    • 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

    • EDLoop1Equipment Description LOOPO可选(Optional)Repeat 999
      EDM7NAL4G2
      • ED
        Equipment Description
        M必须(Mandatory)
        Repeat 1

        To identify further the referenced equipment

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

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

      • NA
        Cross-Reference Equipment
        O可选(Optional)
        Repeat 1

        To cross-reference additional equipment to a primary piece of equipment

      • L4
        Measurement
        O可选(Optional)
        Repeat 1

        To describe physical dimensions and quantities

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

        To specify routing of a beyond point

    • L0Loop1Line Item - Quantity and Weight LOOPO可选(Optional)Repeat 120
      L0L5L4X1X2
      • 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

      • L5
        Description, Marks and Numbers
        M必须(Mandatory)
        Repeat 999

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

      • L4
        Measurement
        O可选(Optional)
        Repeat 1

        To describe physical dimensions and quantities

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

        To transmit information contained on an export license

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

        To transmit import license number and effective dates

  • L3
    Total Weight and Charges
    O可选(Optional)
    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

  • K1
    Remarks
    O可选(Optional)
    Repeat 2

    To transmit information in a free-form format for comment or special instruction

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