D12A
Message D12A/CODECO
Container gate-in/gate-out report message
A message by which a terminal, depot, etc. confirms that the containers specified have been delivered or picked up by the inland carrier (road, rail or barge). This message can also be used to report internal terminal container movements (excluding loading and discharging the vessel) and to report the change in status of container(s) without those containers having physically been moved. 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'.
Message description
UNH
M(1) : Message headerA service segment starting and uniquely identifying a message. The message type code for the Container gate-in/gate-out report message is CODECO. Note: Container gate-in/gate-out report messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 CODECO 0052 D 0054 12A 0051 UN
BGM
M(1) : Beginning of messageA 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 name code), such as Gate-in report, Gate-out report.
DTM
C(9) : Date/time/periodA segment to indicate a date and/or time applying to the whole message, such as date and time of document or message issue.
FTX
C(9) : Free textA segment to specify free form or processable supplementary information, such as: - change information
SG1 C(9) : RFF-DTM
A group of segments to specify a reference relating to the whole message, and its date and/or time.
RFF
M(1) : ReferenceA segment to express a reference which applies to the entire message, such as: - reference to previous message - container announcement reference number - release order reference - acceptance order reference
DTM
C(9) : Date/time/periodA segment to indicate date and/or time related to the reference.
SG2 C(1) : TDT-DTM-RFF-SG3
A group of segments to indicate information relating to the main carriage stage of the transport (sea).
TDT
M(1) : Transport informationA segment to indicate transport details related to the main carriage stage of the transport (sea), such as carrier/liner service.
DTM
C(9) : Date/time/periodA segment to specify a date and time relating to main carriage stage.
RFF
C(9) : ReferenceA segment to provide a reference for the liner service, such as: - conference - marketing organization - syndicate - vessel sharing agreement
SG3 C(9) : LOC-DTM
A segment group to indicate places and ports related to the main carriage stage.
LOC
M(1) : Place/location identificationA segment to specify a location related to the main carriage stage such as place of arrival and place of departure.
DTM
C(9) : Date/time/periodA segment to specify the date(s) and time(s) related to a location.
SG4 M(9) : NAD-SG5
A group of segments to identify a party and/or addresses and related contacts.
NAD
M(1) : Name and addressA segment to identify the party's name and address, and function, such as: - message recipient - message sender - ordering customer - ordering customer agent
SG5 C(9) : CTA-COM
A group of segments to identify a contact and its communications related to the party.
CTA
M(1) : Contact informationA segment to identify a person or department of a message sender and/or message recipient, such as: - information contact
COM
C(9) : Communication contactA segment to identify a communication number of a person or department to whom communication should be directed.
SG6 C(999) : GID-HAN-FTX-PIA-MEA-SG7-SGP-SG8
A group of segments to describe the goods items (to be) stuffed in or (to be) stripped from the containers.
GID
M(1) : Goods item detailsA segment to identify a goods item (to be) stuffed in or (to be) stripped from the containers.
HAN
C(9) : Handling instructionsA segment to specify handling instructions relating to the goods item, such as: - hazardous cargo - off-dimensions - Customs clearance
FTX
C(9) : Free textA segment to describe the goods item or to provide special instructions.
PIA
C(9) : Additional product idA segment to identify a commodity code.
MEA
C(9) : MeasurementsA segment to specify a measurement, other than dimensions, for the goods item.
SG7 C(9) : TMP-RNG
SGP
C(999) : Split goods placementA segment to identify a container in which goods are transported.
SG8 C(99) : DGS-FTX-MEA-SG9
A group of segments to specify dangerous goods details related to the goods item. One goods item may be in different dangerous goods classes.
DGS
M(1) : Dangerous goodsA 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.
FTX
C(9) : Free textA segment to specify supplementary details related to the dangerous goods, such as: - dangerous goods technical name - dangerous goods additional information
MEA
C(9) : MeasurementsA segment to specify measurements of the dangerous goods, such as: - net net weight.
SG9 C(9) : CTA-COM
A segment group to specify contact information including communication details regarding the dangerous goods.
CTA
M(1) : Contact informationA segment to identify a person or department to be contacted regarding the dangerous goods.
COM
C(9) : Communication contactA segment to specify communication details of the contact specified in the CTA segment.
SG10 M(9999) : EQD-RFF-TMD-DTM-LOC-MEA-DIM-SEL-FTX-PCD-EQA-COD-HAN-SG11-SG12-NAD-SG14-SG16
A group of segments to specify containers in which goods are transported.
EQD
M(1) : Equipment detailsA segment to specify a container, container size and type used in the transport, and full/empty indication.
RFF
C(99) : ReferenceA segment to specify the identifying number associated with the container, such as: - container sequence number - booking reference number (sea)
TMD
C(9) : Transport movement detailsA segment to indicate a Full Container Load (FCL) or a Less than Full Container Load (LCL).
DTM
C(99) : Date/time/periodA segment to indicate date and time relating to the delivery of a container: - actual equipment positioning date and/or time
LOC
C(9) : Place/location identificationA segment to specify ports/locations associated with the transport of a container, such as: - stowage cell - place of discharge
MEA
C(99) : MeasurementsA segment to specify measurement, other than dimensions, associated with the container, such as: - gross weight
DIM
C(99) : DimensionsA segment to specify dimensions applicable to the container, such as: - external equipment dimensions
SEL
C(9) : Seal numberA segment to identify seal and seal issuer associated with the container, such as shipper, consolidator, carrier (sea), Customs or terminal operator.
FTX
C(99) : Free textA segment to specify processable supplementary information associated with the container, such as: - damage remarks
PCD
C(9) : Percentage detailsA segment to specify percentages related to the equipment such as percentage humidity.
EQA
C(9) : Attached equipmentA segment to identify related container and means of transport details (rail), such as: - rail car
COD
C(1) : Component detailsA segment to specify the details of the components of transport equipment.
HAN
C(9) : Handling instructionsA segment to specify handling instructions related to the container equipment.
SG11 C(9) : DAM-COD
SG12 C(9) : TDT-DTM-RFF-SG13
A group of segments to indicate details of the movement of containers by sea and by inland carriers, such as mode and means of transport and locations.
TDT
M(1) : Transport informationA segment to indicate information related to the inland transport stage (road, rail or inland water), such as mode of transport, identification of the means of transport and inland carrier.
DTM
C(9) : Date/time/periodA segment to specify the date(s) and time(s) related to the inland transport (road, rail or inland water).
RFF
C(9) : ReferenceA segment to specify an additional reference related to the transport details.
SG13 C(9) : LOC-DTM
A segment group to specify ports and other locations associated with the inland transport of containers.
LOC
M(1) : Place/location identificationA segment to specify ports/locations associated with inland transport of a container, such as: - place of departure - place of arrival
DTM
C(9) : Date/time/periodA segment to specify date(s) and time(s) related to a location.
NAD
C(9) : Name and addressA segment to specify the actual address where a piece of equipment is to be delivered finally (final place of positioning).
SG14 C(99) : DGS-FTX-MEA-SG15
A group of segments to specify dangerous goods.
DGS
M(1) : Dangerous goodsA segment to indicate the dangerous goods regulations which apply, the class of dangerous goods, additional dangerous goods codes, the United Nations Dangerous Goods (UNDG) number and the shipment flash point.
FTX
C(9) : Free textA segment to specify supplementary details regarding the dangerous goods such as dangerous goods technical name and dangerous goods additional information.
MEA
C(9) : MeasurementsA segment to specify measurements of the dangerous goods, such as: - net net weight
SG16 C(9) : TMP-RNG
A segment group to identify transport related temperature settings.
TMP
M(1) : TemperatureA segment to specify the type of transport related temperature such as storage, transport or operating temperature and also to optionally specify a single value temperature setting.
RNG
C(1) : Range detailsA segment to optionally specify the transport related temperature as a range of values.
CNT
C(1) : Control totalA segment to specify the number of containers in the message.
UNT
M(1) : Message trailerA service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message.
Message structure
UNH, Message header M 1 BGM, Beginning of message M 1 DTM, Date/time/period C 9 FTX, Free text C 9 --- Segment Group 1 ------------------------- C 9 -------+ RFF, Reference M 1 | DTM, Date/time/period C 9 | ---- -----------------------------------------------------------+ --- Segment Group 2 ------------------------- C 1 -------+ TDT, Transport information M 1 | DTM, Date/time/period C 9 | RFF, Reference C 9 | | --- Segment Group 3 ------------------------- C 9 ------+| LOC, Place/location identification M 1 || DTM, Date/time/period C 9 || ---- ----------------------------------------------------------++ --- Segment Group 4 ------------------------- M 9 -------+ NAD, Name and address M 1 | | --- Segment Group 5 ------------------------- C 9 ------+| CTA, Contact information M 1 || COM, Communication contact C 9 || ---- ----------------------------------------------------------++ --- Segment Group 6 ------------------------- C 999 -------+ GID, Goods item details M 1 | HAN, Handling instructions C 9 | FTX, Free text C 9 | PIA, Additional product id C 9 | MEA, Measurements C 9 | | --- Segment Group 7 ------------------------- C 9 ------+| TMP, Temperature M 1 || RNG, Range details C 1 || ---- ----------------------------------------------------------+| SGP, Split goods placement C 999 | | --- Segment Group 8 ------------------------- C 99 ------+| DGS, Dangerous goods M 1 || FTX, Free text C 9 || MEA, Measurements C 9 || || --- Segment Group 9 ------------------------- C 9 -----+|| CTA, Contact information M 1 ||| COM, Communication contact C 9 ||| ---- ---------------------------------------------------------+++ --- Segment Group 10 ------------------------ M 9999 -------+ EQD, Equipment details M 1 | RFF, Reference C 99 | TMD, Transport movement details C 9 | DTM, Date/time/period C 99 | LOC, Place/location identification C 9 | MEA, Measurements C 99 | DIM, Dimensions C 99 | SEL, Seal number C 9 | FTX, Free text C 99 | PCD, Percentage details C 9 | EQA, Attached equipment C 9 | COD, Component details C 1 | HAN, Handling instructions C 9 | | --- Segment Group 11 ------------------------ C 9 ------+| DAM, Damage M 1 || COD, Component details C 1 || ---- ----------------------------------------------------------+| | --- Segment Group 12 ------------------------ C 9 ------+| TDT, Transport information M 1 || DTM, Date/time/period C 9 || RFF, Reference C 9 || || --- Segment Group 13 ------------------------ C 9 -----+|| LOC, Place/location identification M 1 ||| DTM, Date/time/period C 9 ||| ---- ---------------------------------------------------------++| NAD, Name and address C 9 | | --- Segment Group 14 ------------------------ C 99 ------+| DGS, Dangerous goods M 1 || FTX, Free text C 9 || MEA, Measurements C 9 || || --- Segment Group 15 ------------------------ C 9 -----+|| CTA, Contact information M 1 ||| COM, Communication contact C 9 ||| ---- ---------------------------------------------------------++| | --- Segment Group 16 ------------------------ C 9 ------+| TMP, Temperature M 1 || RNG, Range details C 1 || ---- ----------------------------------------------------------++ CNT, Control total C 1 UNT, Message trailer M 1