INTRODUCTION
A message by which the container terminal reports that the containers specified have been discharged
from a seagoing vessel (discharged as ordered, overlanded or shortlanded), or have been loaded into a
seagoing vessel. 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”.
The COARRI message is used to transmit a confirmation that containers have been loaded onto or have
been discharged from a seagoing vessel. This message is commonly sent by the terminal operator
handling the vessel to the shipping line (or it’s agent).
In addition to containers loaded or discharged, the COARRI message may also be used to confirm that
containers have been shifted on board the vessel or that containers have been discharged and reloaded
(restowed) onto the vessel.
As base for the translation we used the smdg standard document for COARRI213. See SMDG-COARRI213
The following segment groups are defined in this standard:
Segment Groups
Segment Group 1: RFF
Reference which implies to the entire message
Original SMDG reference:
RFF+VM:WDA3637 | |||||||
1 | C506 | Reference | |||||
2 | ATZ - Ships stay reference number | 1153 | Reference code qualifier | explanation of used number | tos|@|carriervisit|@|referencecodequalifier | ||
3 | 1154 | Reference identifier | kind of number to identify the vessel visit | tos|@|carriervisit|@|vesselidentificationcallsign =WDA3637 |
Segment Group 2: TDT - RFF - SG3
Details of Transport - A segment identifying the voyage of the vessel relevant to the message (main
transport
TDT+20+0046+1++COT:172:20+++5LIF6:103::TIAN FU' | |||||||
1 | 20 - main carriage transport | 8051 | Transport stage code qualifier | ||||
2 | 8028 | Means of Transport Journey ID - Vessel Operators voyage number | Vessel Operators voyage number | tos|@|carriervisit|@|vesseloperator|metaelements|output|actual|#qualifier#20|id: 0046 | |||
3 | 1 - maritime transport | C220 | 8067 | Transport mode name code - possible value 1 | 1 - marine transport - ocean | tos|@|carriervisit|@|transportmodenamecode: 1 | |
4 | C228 (optional) | 8179 | Transport means description code | tos|@|carriervisit|@|transportmeansdescriptioncode: | |||
5 | 8178 | Transport means description | tos|@|carriervisit|@|transportmeansdescription: ocean | ||||
6 | C040 | 3127 | Carrier identifier | Vessel Operators code | tos|@|carrier|@|vesseloperator|#qualifier#20|id|output|actual|value: COT | ||
7 | 172 - carrier | 1131 | Code list identification code | tos|@|carrier|@|typecode : 172 | |||
8 | 20 - BIC | 3055 | Code list responsible agency code | tos|@|carriervisit|@|vesseloperator|metaelements|actual|#qualifier#20|qualifier: 20 | |||
9 | 3128 | Vessel Operator'S name | tos|@|carrier|@|operatorname: | ||||
10 | C222 | 8213 | Transport Means identification number | Radio Call Sign or Lloyd's IMO number of the vessel | tos|@|carrier|@|radiocallsign: 5LIF6 | ||
11 | 146 - Lloyd's IMO number | 1131 | Code list identification code | tos|@|carrier|@|lloydsid if 1131 = 146 | |||
12 | 11 - Lloyds register of shipping | 3055 | Code list responsible agency code | tos|@|carrier|@|codelistresponsibleagencycode = 11 | |||
13 | 8212 | Transport means identification name | Vessel name - free text | tos|@|carrier|@|name = TIAN FU | |||
14 | 8453 | Transport means nationality code (Flag of means of transport - ISO Country code) | Country code of the flag | tos|@|carrier|@|flagisocode = 8453 |
Segment Group 3: LOC - DTM
A segment to specify a location related to the means of transport such as places
and ports of arrival and departure. Date and Time is related to the location
LOC+9+NLRTM:139:6:ROTTERDAM+APMROT:72:SMD:APM | |||||||
1 | 9 - Place / Port of Loading | 3227 | Location Function Code Qualifier | Function of location information which is described in the following information | tos|@|cargovisit|@|outbound|.... | ||
2 | C517 | Location Identification | |||||
3 | 3225 | Location name Code - UNLOCCODE | UNLOCCode for the location | tos|@|cargovisit|@|outbound|logical|ouput|actual|#qualifier#UNLOCCODE|value: NLRTM | |||
4 | 139 - Port | 1131 | Code list identification code | Kind of the location | tos|@|cargovisit|@|outbound|logical|ouput|actual|#qualifier#UNLOCCODE|idcode: 139 | ||
5 | 6 - UN /ECE | 3055 | Code list responsible agency code | tos|@|cargovisit|@|outbound|logical|ouput|actual|#qualifier#UNLOCCODE|qualifier: UNLOCCODE | |||
6 | 3224 | Location Name | Free Text Port Name | tos|@|cargovisit|@|outbound|logical|ouput|actual|#qualifier#UNLOCCODE|name: ROTTERDAM | |||
7 | C519 | Related Location ONE IDENTIFICATION | |||||
8 | 3223 | First related location name code | Individual location code (f|e| "terminal code") | tos|@|cargovisit|@|outbound|logical|output|actual|#qualifier#SMD|value: : APMROT | |||
9 | 72 - Container terminal | 1131 | Code list identification code | Which kind of location | tos|@|cargovisit|@|outbound|logical|output|actual|#qualifier#SMD|idcode: 72 | ||
10 | 9 - EAN (International Article Numbering association) | 3055 | Code list responsible agency code | tos|@|cargovisit|@|outbound|logical|#qualifier#SMD|output|actual|qualifier: SMD | |||
11 | 3222 | First related location name, free text | location name | tos|@|cargovisit|@|outbound|logical|#qualifier#SMD|output|actual|name: APM | |||
12 | C553 | Related Location TWO IDENTIFICATION | |||||
13 | 3233 | Second related location name code | Individual location code (f|e| "terminal code") | no EXAMPLE | |||
14 | 72 - Container terminal | 1131 | Code list identification code | Which kind of location | no EXAMPLE | ||
15 | 9 - EAN (International Article Numbering association) | 3055 | Code list responsible agency code | no EXAMPLE | |||
16 | 3222 | Second related location name, free text | location name | no EXAMPLE | |||
DTM+133:200211131700:203' | |||||||
17 | C507 | DATA / TIME / PERIOD | segmen COP3 is related to the vessel| | ||||
18 | 132 - Arrival date/time, estimated | 2005 | Date or time or period function code qualifier | Date / Time Information of the Transport | tos|@|carriervisit|@|departure|@|mooring|@|firstline|time|planned|timestamp: 2002-11-13T0917:00|000Z | ||
19 | 2380 | Date or time or period value | Arrival/departure date/time | ||||
20 | 203 - CCYYMMDDHHMM | 2379 | Date or time or period format code | COARRI is CCYYMMDDHHMM format ant TIC4|0 is always in ISO8601 format |
Segment Group 3 LOC
Segment Group 4: NAD - SGS
A segment to identify the party's name and address which apply to the whole message
NAD+CF+MAE:172:20' | |||||||
CA Carrier | 3035 | PARTY FUNCTION CODE QUALIFIER | tos|@|cargo|@|responsibleparty|metaelements|output|actual|#qualifier#20|partyfunctioncode : CF | ||||
C082 | PARTY IDENTIFICATION DETAILS | ||||||
3039 | Party Identifier | Company Code | tos|@|cargo|@|responsibleparty|metaelements|output|actual|#qualifier#20|output|actual|value : MAE | ||||
160 Party identification | 1131 | Code list identification code | Kind of Party | tos|@|cargo|@|responsibleparty|metaelements|output|actual|#qualifier#20|codelistidentificationcode : 172 | |||
20 BIC (Bureau International des Containeurs) | 3055 | Code list responsible agency code | tos|@|cargo|@|responsibleparty|metaelements|output|actual|#qualifier#20|qualifier : 20 | ||||
SMDG does not recommend to use it | C058 | NAME AND ADDRESS | |||||
3124 | Name and address description | 5 Rows of address description |
Segment Group 5: CTA - COM
A segment to identify a person or department of a message sender and/or
message recipient, such as: - information contact
CTA+IC+:MARINE PLANNING' | |||||||
IC Information contact | 3139 | CONTACT FUNCTION CODE | |||||
C056 | DEPARTMENT OR EMPLOYEE DETAILS | ||||||
3412 | Department or employee name | Contact Name | |||||
COM+0181372420:TE' | |||||||
C076 | COMMUNICATION CONTACT | ||||||
3148 | Communication address identifier | Contact number | |||||
EM Electronic mail | 3155 | Communication address code qualifier |
Segment Group 6: EQD-RFF-TMD-DTM-SG7-
MEA-DIM-SG8-SEL-FTX-SG9-EQA-HAN-SG11-
SG12-NAD
A segment identifying a container, container size/type. The equipment status
may be e.g. overlanded, shortlanded, import, export.
A segment identifying a reference number which relates to the equipment
specified in the preceding EQD segment, such as:
container sequence number - booking reference number
Transport Movement Details indicate a Full Container Load (FCL) or a Less than Full Container
Load (LCL).
A segment to identify a date and time related to the equipment, such as: - Date
and/or time of actual loading or discharge.
EQD+CN+MAEU5174506+4532:102:5+2+2+5' | |||||||
BB Break bulk | 8053 | EQUIPMENT TYPE CODE QUALIFIER | tos|@|cargo|@|cargotypecodequalifier: CN | ||||
C237 | EQUIPMENT IDENTIFICATION | ||||||
8260 | Equipment identifier | Marks (letters/numbers) identifying equipment| To be transmitted as | tos|@|cargo|@|id: MAEU5174506 | ||||
C224 | EQUIPMENT SIZE AND TYPE | ||||||
8155 | Equipment size and type description code | Equipment size/type code as per ISO6346 (|1 or|2, |2 preferred) | tos|@|cargo|@|isotypecode1984|metaelements|output|actual|value : 4532 | ||||
102 Size and type | 1131 | Code list identification code | tos|@|cargo|@|isotypecode1984|metaelements|output|actual|name : 102 | ||||
5 ISO (International Organization for Standardization) | 3055 | Code list responsible agency code | tos|@|cargo|@|isotypecode1984|metaelements|output|actual|codelistresponsibleagencycode : 5 | ||||
8154 | Equipment size and type description | free text | tos|@|cargo|@|isotypecode1984|metaelements|output|actual|description : 8154 | ||||
1 Shipper supplied | 8077 | EQUIPMENT SUPPLIER CODE | tos|@|cargovisit|@|cargosupplierrole|metaelements|output|actual|code : 5 | ||||
1 Continental | 8249 | EQUIPMENT STATUS CODE | Equipment status in the sense of the opertions (not customs) | tos|@|cargovisit|@|flowtype|metaelements|output|actual|value : 2 | |||
4 Empty | 8169 | FULL OR EMPTY INDICATOR CODE | freight kind | tos|@|cargovisit|@|empty|status|ioutput|actual|value : FALSE | |||
RFF+BN:ROT045683' | |||||||
C506 | REFERENCE | ||||||
AAE Goods declaration number | 1153 | Reference code qualifier | Can have values like Booking number, relase number, …| | tos|@|cargovisit|@|bookingreferencenumber|metaelements|output|actual|value : ROT045683 tos|@|cargovisit|@|#1153names#|metaelements|output|actual|value : 1154 1153names from codelistsource SMDG: | |||
1154 | Reference identifier | Reference identifier | |||||
TMD+3++1' | |||||||
C219 | MOVEMENT TYPE | ||||||
2 LCL/LCL | 8335 | Movement type description code | Kind of move which is reported | tos|@|cargovisit|@|movetype|metaelements|output|actual|code : 3 | |||
1 Carrier | 8341 | HAULAGE ARRANGEMENTS CODE | who is responsible pary for it | tos|@|cargovisit|@|movetype|metaelements|output|actual|code : 1 | |||
DTM+404:200211150104:203' | |||||||
C507 | DATA / TIME / PERIOD | ||||||
7 Effective date/time | 2005 | Date or time or period function code qualifier | Date / Time Information of the Transport | DTM : Day Time Minute header event 1001MC002 = 122 load If header event 1001MC002 = 24 restow If header event 1001MC002 = 119 discharge If header event 1001MC002 = 122 load If DTM+ is 7 then tos|@|cargovisit|@|checkout|time|output|performed|timestamp : 2005 timestamp of the header event | |||
2380 | Date or time or period value | data of actual loading, dsicharge,restow | |||||
203 - CCYYMMDDHHMM | 2379 | Date or time or period format code | format description YYYYMMDDHHMM | ||||
LOC+11+USCHS:139:6:CHARLESTON, SC+WANDO:72:ZZZ:WANDO TERMINAL' | |||||||
LOC+147+0500284' | |||||||
1 | 5 Place of departure | 3227 | Location Function Code Qualifier | Function of location information which is described in the following information | tos|@|cargovisit|@|portofdischarge|.... (subject and concept for the rest of the codes) For terminals and TOS the main reference is the cargovisit, but for a shipping line is the cargotrip. There is a link between cargotrip and cargo visit | ||
2 | C517 | Location Identification | |||||
3 | 3225 | Location name Code - UNLOCCODE | UNLOCCode for the location or Stowage location (ISO format BBBRRTT) (if e3227 = 147) | tos|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|#qualifier#UNLOCCODE|value: USCHS | |||
4 | 139 - Port | 1131 | Code list identification code | Kind of the location | tos|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|#qualifier#UNLOCCODE|codelistidentificationcode: 139 | ||
5 | 5 ISO (International Organization for Standardization) | 3055 | Code list responsible agency code | tos|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|#qualifier#UNLOCCODE|codelistresponsibleagencycode: 6 | |||
6 | 3224 | Location Name | Free Text Port Name | tos|@|cargovisit|@|portofdischarge|logical|ouput|actual|#qualifier#UNLOCCODE|locationname: CHARLESTON, SC see 3227 and if 3055 = 5 ...|metaelements|ouput|actual|#qualifier#ISO|locationname|: 3224 | |||
7 | C519 | Related Location ONE IDENTIFICATION | |||||
8 | 3223 | First related location name code | Individual location code (f|e| "terminal code") | tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationnamecode: WANDO | |||
9 | 72 Container terminal | 1131 | Code list identification code | Which kind of location | tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationreferencenumber: 72 see 3227 ...|metaelements|output|actual|firstrelatedlocationreferencenumber:1131 (72/261/262/263/264/265/266/267/268/269) see 3227 and if 1131 = 72 ... containerterminal see 3227 and if 1131 = 261 ..|metaelements|output|actual|firstrelatedlocationreferencenname: consigneespremises | ||
10 | 9 - EAN (International Article Numbering association) | 3055 | Code list responsible agency code | tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationcode: ZZZ see 3227 ...|metaelements|output|actual|firstrelatedlocationcode: 3055 (9/184/SMD/ZZZ) | |||
11 | 3222 | First related location name, free text | location name | tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationname: WANDO TERMINAL | |||
12 | C553 | Related Location TWO IDENTIFICATION | |||||
13 | 3233 | Second related location name code | Individual location code (f|e| "terminal code") | tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|secondrelatedlocationnamecode: no example tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|secondrelatedlocationname: 3233 | |||
14 | 72 Container terminal | 1131 | Code list identification code | Which kind of location | tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|secondrelatedlocationreferencenumber: 72 see 3227 ...|metaelements|output|actual|secondrelatedlocationreferencenumber:1131 (72/261/262/263/264/265/266/267/268/269) see 3227 and if 1131 = 72 ... containerterminal see 3227 and if 1131 = 261 ..|metaelements|output|actual|secondrelatedlocationreferencenname: consigneespremises | ||
15 | 9 - EAN (International Article Numbering association) | 3055 | Code list responsible agency code | tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|secondrelatedlocationcode: ZZZ see 3227 ...|metaelements|output|actual|secondrelatedlocationcode: 3055 (9/184/SMD/ZZZ) | |||
3222 | Second related location name, free text | location name | tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|secondrelatedlocationname: WANDO TERMINAL | ||||
MEA+AAE+VGM+KGM:27510' | |||||||
AAE Measurement | 6311 | MEASUREMENT PURPOSE CODE QUALIFIER | tos|@|cargo|@|weight|gross|output|actual|#qualifier#VGM|#unit#kilograms|value = 27510 | ||||
C502 | MEASUREMENT DETAILS | ||||||
AAL Net weight | 6313 | Measured attribute code | Kind of measure information which follow | tos|@|cargo|@|weight|gross|output|actual|#qualifier#VGM|#unit#kilograms|qualifier = VGM if 6313 is AAL then | |||
C174 | VALUE / RANGE | ||||||
FTQ Cubic Feet | 6411 | MEASURE Unit code | Unit of the value | ….#unit#kilogram|unit = kilogram | |||
6314 | Measurement value | ||||||
DIM+13+CMT:::23' | |||||||
1 Gross dimensions | 6145 | DIMENSION TYPE CODE QUALIFIER | naming of the dimension / over dimension - each kind is a new entry in the file | tos|@|cargo|size|overheight|output|actual|#unit#centimeter|value = 23 | |||
C211 | DIMENSIONS | tos|@|cargo|size|… | |||||
CMT Centimetres | 6411 | Measurement unit code | tos|@|cargo|size|overheight|output|actual|#unit#centimeter|unit = centimeter | ||||
6168 | Length dimension value C n||15 | Length/ Overlength value | if 6145 = 1 or 10 then tos|@|cargo|size|lenght|output|actual|#unit#6411|value = 6168 | ||||
6140 | Width dimension value C n||15 | Width / Overwidth value | if 6145 = 1 or 10 then tos|@|cargo|size|width|output|actual|#unit#6411|value = 6140 | ||||
6008 | Height dimension value C n||15 | Height / Overheight value | tos|@|cargo|size|overheight|output|actual|#unit#centimeter|value = 23 |
Segment Group 7: LOC
A segment to identify a location or country related to the equipment, such as: -
stowage cell - (final) place/port of discharge - transhipment place - place of
delivery - country of origin/destination
Segment Group 6 - MEA - DIM (is following the segment group 7 in the COARRI structure, but part of segment group 6)
Measurements segment specifying a physical measurement related to the equipment, such as:
gross weight
Dimensions -A segment specifying physical dimensions related to the equipment, such as: -
gross dimensions - off standard dimension general - off standard dimension
left - off standard dimension right - off standard dimension back - off
standard dimension front
Segment Group 8: TMP - RNG
Temperature - A segment which identifies the transport temperature setting of the container.
Range Details - A segment to specify the transport temperature range setting of the container.
Segment Group 6 - SEL- FTX (is following the segment group 8 in the COARRI structure, but part of segment group 6)
Seal Number - A segment identifying a seal number related to the equipment.
Free Text - A segment to specify supplementary information related to the equipment, such
as: - blockade reason - government inspection service - container loading
remarks - container remarks - container order information - additional
remarks concerning the container - container safety convention plate -
continuous examination program (ACEP)
Segment Group 9: DGS-FTX
[to be defined]
Dangerous Goods
Free Text
Attached Equipment
Handling Instructions
Segment Group 11: DAM - COD
Damage
Component Details
Segment Group 12: TDT-LOC-DTM
Details of Transport
Place / Location Identification
Date / Time / Period
Name and Address
Control Total
Message Trailer