UN/LOCODE is a geographic coding scheme developed and maintained by UNECEa unit of the United Nations.
It assigns aproximatly 40.000 code elements to locations names of ports, airports, rail and road terminals, postal exchange offices, border crossing points and other locations used in trade and transport in 234 countries.
UN/LOCODE typically have 5 characters. The first 2 are letters, and come from the ISO 3166-1 country codes. Normally 3 letters will follow, but if there are not enough combinations, also numbers can be used.
A detailed documentation about the usage of the Indication of Damage Condition (DAR) is provided by ITIGG (International Transport Implementation Guidelines Group) here under the section "Code List for the FTX Segment".
Purpose of the message: the COARRI message is used to confirm that containers have been discharged/loaded from/on a sea going vessel. COARRI is also used to confirm that containers have been shifted or restowed on board a vessel.
Parties involved: message is normally sent by Terminal Operator to Line or Liner Agent.