Container EDI messages explained: CODECO, COPARN, COREOR, COARRI and CEDEX
Updated 17 November 2026 · 6 min read
Short answer. Shipping lines, terminals and depots exchange container events as UN/EDIFACT messages. The ones a container owner meets most: CODECO reports a gate-in or gate-out; COPARN announces a booking or an empty release; COREOR is a release order; COARRI confirms a container loaded on or discharged from a vessel. Their implementation guides are maintained by SMDG, the user group for shipping lines and container terminals. Damage and repair information uses the CEDEX codes of ISO 9897.
The messages at a glance
| Message | What it says | Usually sent |
|---|---|---|
| CODECO | Container gate-in or gate-out report, by truck, train or barge | Terminal or depot to the line |
| COPARN | Container announcement: full-in booking order or empty-out release | Line to terminal or depot |
| COREOR | Container release order | Line to terminal |
| COPINO | Pick-up notification | Line or forwarder to terminal |
| COPRAR / COARRI | Vessel discharge and loading order, then its confirmation | Line to terminal, then terminal to line |
CODECO: gate-in and gate-out
CODECO is the container gate-in/gate-out report message. When a container enters or leaves a terminal or depot, the facility sends a CODECO to the container's line or owner with the container number, the date and time, the type, whether it is full or empty, and the transport mode. For a lessor or a line, these are the dates that start and stop per diem and storage, the same dates that appear on the EIR.
COPARN and COREOR: bookings and releases
COPARN is the container announcement message. SMDG's recommended version covers both a full-in booking order and an empty-out release: the line tells the terminal or depot which containers may be handed out, or which full containers will arrive. COREOR is the container release order message, used to tell a terminal that an import container may be released to the party collecting it.
COPRAR and COARRI: vessel operations
COPRAR gives the terminal the vessel discharge or loading order; COARRI confirms what was actually discharged or loaded. They matter to lines and terminals more than to depots and traders.
CEDEX: the language of damage and repair
CEDEX (Container Equipment Data Exchange) is the code set of ISO 9897 for describing container equipment: components, materials, damage and repair. A CEDEX code such as "MF" from the damage list replaces a free-text description, so that an estimate written in one depot can be read and approved in another country.
Versions and implementation guides
The messages come from the UN/EDIFACT directories. SMDG publishes the message implementation guides (MIGs) that lines and terminals follow; its current recommended versions of CODECO, COPARN, COPRAR and COARRI are based on directory D.00B and were upgraded for VGM (verified gross mass) requirements. Older D.95B versions are still in use in some places.
Do you need EDI?
EDI pays off for high message volumes between parties with systems that support it: lines and terminals, large lessors and their depots. Many container owners still receive depot activity as emails, spreadsheets or PDF stock reports.
In Krak Stack, there is no EDI today: depots keep sending the reports they already send (CSV, Excel, PDF, gate emails, EIRs), uploaded or read from a dedicated mailbox, and each line is matched against your releases, returns and stock.
Frequently asked questions
What does CODECO stand for?
Container gate-in/gate-out report message, the UN/EDIFACT message a terminal or depot sends when a container enters or leaves.
What is the difference between COPARN and COREOR?
COPARN announces bookings and empty releases from the line to the terminal or depot; COREOR is a release order for an import container.
Who maintains the container EDI messages?
The messages are UN/EDIFACT standards; SMDG, the user group for shipping lines and container terminals, maintains their implementation guides.
What is CEDEX?
The ISO 9897 code set for container equipment data exchange, used to describe components, damage and repairs in a common language.
Does Krak Stack read EDI messages?
Not today. It reads the depot stock reports depots already send by email or as files.
Sources
- SMDG, container messages working group (CODECO, COPARN, COREOR, COPINO): https://smdg.org/working-groups/container-messages/
- SMDG, container message implementation guides (recommended D.00B versions, VGM): https://smdg.org/documents/edifact-migs-message-implementation-guidelines/container-messages/
- UN/CEFACT, UN/EDIFACT standard directory D.01A (CODECO definition): https://digitallibrary.un.org/record/433163/files/%5EE_ECE_%5ETRADE_CEFACT_2001_33-EN.pdf
- GS1 code directory (COREOR, container release order message): https://gs1.org/sites/gs1/files/docs/eancom/ean02s3/part3/dc13.htm
- ISO 9897 (CEDEX), general communication codes, as published in IS 13731:2003: https://law.resource.org/pub/in/bis/S13/is.13731.2003.pdf