0.    INTRODUCTION

       This specification provides the definition of the Container
       stuffing/stripping order message (COSTOR) to be used in
       Electronic Data Interchange (EDI) between trading partners
       involved in administration, commerce and transport.

1.    SCOPE

1.1   Functional Definition

       Order that specified goods/consignments are to be stuffed into
       (already or still to be delivered) or stripped from
       LCL-containers.
       This message is part of a total set of container-related
       messages.
       These messages serve to facilitate the intermodal handling of
       containers by streamlining the information exchange.
       The business scenario for the container messages is clarified
       in a separate document, called: 'Guide to the scenario of
       EDIFACT container messages'.

1.2   Field of Application

       The Container stuffing/stripping order message may be used for
       both national and international trade. It is based on universal
       commercial practice and is not dependent on the type of
       business or industry.

1.3 | Principles

       Business area:
       Pre- and on-carriage transport of containers/equipment
       
       Sending functions include:
       Shipping agent, Logistic center
       
       Receiving functions include:
       Container freight station
       
       
       In the context of the 'Guide to the scenario of EDIFACT
       container messages' (as referred to at the start of section 1)
       the following guidelines, rules and functionality apply to this
       Container stuffing/stripping order message:
       
       *   The message contents can be uniquely identified by a
       combination of the following data elements:
       - carrier agent, coded (NAD)
       - carrier, coded (TDT)
       - stuffing/stripping order reference number (RFF)
       
       *   One shipping line, one seagoing vessel, one sea voyage
       number and one shipping agent can be specified on message top
       level.
       
       *   An indicator for the transport status (i.e., export,
       import, transhipment or continental) can be completed on
       container level (EQD-segment).
       
       *   One message may contain several containers identified by
       their prefix and number or several equipment guidelines for
       groups of (empty) containers.
       
       *   If the container prefix and number is unknown, a
       supplementary container reference number (e.g. Container
       sequence number) can be used to identify a container group in
       the message to be able to refer to this information of the
       container(s) in e.g. the Container stuffing/stripping report
       message (COSTCO).
       
       *   Guidelines can be specified in the message in order to load
       (empty) containers that cannot be identified by their full
       prefix and serial numbers.
       In case of a guideline a combination of size and type and/or a
       certain range of equipment serial numbers (container prefix and
       numbers) can be given for a group of one or several containers.
       
       *   Inland transport details can be specified for each
       individual container or can be specified on message top level
       (for all containers in the message); the two options must not
       be used simultaneously.
       
       *   An inland transport charges reference or a sea booking
       reference can be specified either on message top level (related
       to all containers in the message) or for each individual
       container; the two options must not be used simultaneously.
       
       *   For each container details can be specified such as
       container prefix and number, size and/or type, loading
       instructions, special instructions,  and non-standard
       dimensions.
       
       *   In case of export the port of discharge and a port of
       transhipment can be specified for each individual container.
       
       *   An LCL (Less than Full Container Load) goods item may be
       detailed, such as number and type of packages, goods
       description, gross weight, dangerous goods information and
       special instructions.
       
       *   Goods item information can be related to the corresponding
       containers by linking the goods item group (GID) to the
       container details group(s) (EQD) by means of the SGP-segment.
       
       *   The ultimate date/time of stuffing/stripping can be given
       for each individual LCL-container.
       
       *   Each LCL-consignment can be identified by means of a
       booking reference and the original shipper, and may consist of
       several LCL goods items.
       
       * The address to which the empty container(s) are to be
       returned after stripping can be included, together with
       corresponding reference number(s) on message level.

2.    REFERENCES

       See UNTDID, Part 4, Chapter 2.6 UN/ECE UNSM - General Introduction,
       Section 1.

3.    TERMS AND DEFINITIONS

       See UNTDID, Part 4, Chapter 2.6 UN/ECE UNSM - General Introduction,
       Section 2.

4.    MESSAGE DEFINITION

4.1   Data Segment Clarification

       This section should be read in conjunction with the Branching
       Diagram and the Segment Table which indicate mandatory,
       conditional and repeating requirements.

0010   UNH, Message header
       A service segment starting and uniquely identifying a message.
       The message type code for the Container stuffing/stripping
       order message is COSTOR.
       
       Note: Container stuffing/stripping order messages conforming to
       this document must contain the following data in segment UNH,
       composite S009:

       Data element  0065 COSTOR
                     0052 D
                     0054 96B
                     0051 UN

0020   BGM, Beginning of message
       A segment to indicate the beginning of a message and to
       transmit identifying number and the further specification of
       the message type (in data element 1001: Document/message name,
       coded), such as Stuffing order, Stripping order.

0030 + DTM, Date/time/period
       A segment to indicate date and/or time applying to the whole
       message, such as date and time of document or message issue.

0040   FTX, Free text
       A segment to specify free form or processable supplementary
       information, such as:
       -   special instructions


0050 + Segment group 1: RFF-DTM
       A group of segments to specify a reference relating to the
       whole message, and its date and/or time.

0060 |    RFF, Reference
          A segment to express a reference which applies to the entire
          message, such as:
          -   stuffing/stripping order reference number
          -   carrier's agent reference number
          -   reference to previous message
          -   reference at return address

0070 +    DTM, Date/time/period
          A segment to indicate date and/or time related to the
          reference.


0080   Segment group 2: TDT-LOC-DTM
       A group of segments to identify vessel and voyage details
       relevant to the instruction.

0090      TDT, Details of transport
          A segment to indicate the main carriage stage of the
          transport, such as carrier/liner service; also vessel/voyage
          details or inland transport details can be specified.

0100      LOC, Place/location identification
          A segment to indicate a place/port corresponding to the
          transport stage, such as place/port of departure.

0110      DTM, Date/time/period
          A segment to indicate a date and time relating to the main
          carriage, such as:
          -   arrival date/time


0120 | Segment group 3: NAD-SG4
       A group of segments to identify a party and related contacts.

0130 |    NAD, Name and address
          A segment to identify the party's name and address, and
          function, such as:
          -   message recipient
          -   message sender
          -   shipper (importer or exporter)
          -   carrier agent (sea
          -   empty equipment return party


0140 +    Segment group 4: CTA-COM
          A group of segments to identify a contact and its
          communications related to the party.

0150         CTA, Contact information
             A segment to identify a person or department for contact
             purposes, such as:
             -   information contact

0160 +       COM, Communication contact
             A segment to identify a communication number of a person
             or department to whom communication should be directed.


0170 | Segment group 5: EQD-RFF-EQN-DTM-TSR-LOC-DIM-SG6
       A group of segments to specify (groups of) containers (with
       guidelines) in which the specified LCL consignments or goods
       are to be stuffed or the container from which the specified LCL
       consignments or goods are to be stripped.

0180      EQD, Equipment details
          A segment to specify a container, container size and type
          and other details.

0190 |    RFF, Reference
          A segment to specify a reference relating to the equipment,
          such as:
          -   upper serial equipment number of range
          -   lower serial equipment number of range
          -   container sequence number
          -   container prefix
          -   reference at place of positioning

0200      EQN, Number of units
          A segment to specify the number of containers of the same
          size and type in case of equipment guidelines.

0210 |    DTM, Date/time/period
          A segment to specify a date/time relating to the equipment,
          such as:
          -   ultimate stuffing/stripping date/time
          -   estimated positioning date and/or time

0220      TSR, Transport service requirements
          A segment to specify special instructions and/or services
          regarding the container, such as: off-dimensions, Customs
          clearance.

0230 |    LOC, Place/location identification
          A segment to specify ports or locations associated with the
          sea transport of a container, such as:
          -   place of discharge
          -   transhipment place

0240 |    DIM, Dimensions
          A segment to specify non-standard dimensions applicable to
          the container, such as:
          -   external equipment dimensions


0250      Segment group 6: NAD-DTM
          A group of segments to identify different parties/places
          relative to the container.

0260 |       NAD, Name and address
             A segment to specify a related address or party, such as:
             -   container operator
             -   final place of positioning

0270         DTM, Date/time/period
             A segment to indicate the date/time on which the stuffing
             or stripping action is to take place.


0280   Segment group 7: CNI-RFF-NAD-SG8
       A group of segments to specify information relative to the
       consignments to be stuffed or stripped.

0290      CNI, Consignment information
          A segment to identify a consignment to be stuffed or
          stripped (consignment number).

0300      RFF, Reference
          A segment to specify reference numbers for the consignment,
          such as:
          -   booking reference number
          -   waybill number
          -   order number

0310 |    NAD, Name and address
          A segment to specify party details relative to the
          consignment, such as:
          -   consignor
          -   consignee
          -   original shipper


0320      Segment group 8: GID-HAN-TMP-RNG-FTX-DTM-SG9-MEA-PCI-DOC-
                            SG10-SG11
          A group of segments to specify information relative to goods
          items within a consignment.

0330         GID, Goods item details
             A segment to identify a goods item within a consignment.

0340 |       HAN, Handling instructions
             A segment to specify handling instructions relating to
             the goods item, such as:
             -   hazardous cargo
             -   cooled or frozen goods indication

0350         TMP, Temperature
             A segment to specify a temperature setting for a goods
             item.

0360         RNG, Range details
             A segment to specify a temperature range setting for a
             goods item.

0370 |       FTX, Free text
             A segment to specify the goods description of the goods
             item, and any special instructions, such as:
             -  description of goods
             -  stripping instructions
             -  container loading remarks (stuffing)

0380         DTM, Date/time/period
             A segment to specify a date/time relating to the goods
             item, such as:
             -   expected goods positioning date/time


0390         Segment group 9: NAD-DTM
             A group of segments to specify party details and contacts
             relative to the goods item.

0400            NAD, Name and address
                A segment to identify a party relative to the goods
                item, such as:
                -   consolidator

0410            DTM, Date/time/period
                A segment to specify the date/time when goods may be
                expected to arrive at the place of stuffing or
                stripping.

0420         MEA, Measurements
             A segment to specify the weight and/or volume of the
             goods item.

0430         PCI, Package identification
             A segment to specify marks and numbers for the goods
             item.

0440         DOC, Document/message details
             A segment to specify documents relating to the goods
             item, such as relevant permits.


0450         Segment group 10:SGP-MEA
             A group of segments to specify the distribution of a
             goods item among the containers.

0460            SGP, Split goods placement
                A segment to identify a container in which goods are
                (to be) transported.

0470            MEA, Measurements
                A segment to specify the gross weight of that portion
                of the goods item in the container.


0480         Segment group 11:DGS-FTX-MEA-SG12
             A group of segments to specify dangerous goods details
             related to the goods item. One goods item may be in
             different dangerous goods classes.

0490            DGS, Dangerous goods
                A segment to indicate the dangerous goods regulations
                for the corresponding mode of transport, class of
                dangerous goods, additional dangerous goods code,
                UN-number and shipment flash point.

0500            FTX, Free text
                A segment to specify the dangerous goods technical
                name and additional free form dangerous goods
                instructions.

0510            MEA, Measurements
                A segment to specify the weight and/or volume of
                dangerous goods.


0520            Segment group 12:SGP-MEA
                A group of segments to specify the distribution of the
                dangerous goods among the containers.

0530               SGP, Split goods placement
                   A segment to identify a container in which the
                   dangerous goods item is (to be) transported.

0540               MEA, Measurements
                   A segment to specify the weight of the dangerous
                   goods in the container.

0550   CNT, Control total
       A segment to specify the number of containers in the message,
       explicitly given by the sender.

0560   UNT, Message trailer
       A service segment ending a message, giving the total number of
       segments in the message and the control reference number of the
       message.

4.2   Data segment index (Alphabetical sequence by tag)

          BGM Beginning of message
          CNI Consignment information
          CNT Control total
       +  COM Communication contact
          CTA Contact information
          DGS Dangerous goods
          DIM Dimensions
          DOC Document/message details
          DTM Date/time/period
          EQD Equipment details
          EQN Number of units
          FTX Free text
          GID Goods item details
          HAN Handling instructions
          LOC Place/location identification
          MEA Measurements
          NAD Name and address
          PCI Package identification
          RFF Reference
          RNG Range details
          SGP Split goods placement
          TDT Details of transport
          TMP Temperature
          TSR Transport service requirements
          UNH Message header
          UNT Message trailer

Contents of COSTOR