EDIFACT message guide · Customs and regulatory
CODENO Permit expiration/clearance ready notice
The UN/EDIFACT message giving notice of cargo whose permits or customs documents are about to expire, or for which clearance is complete.
- Sent by
- Terminal, shipping line or customs-related party
- Received by
- Shipping line, consignee, forwarder or inland carrier
- Standard
- UN/EDIFACT · Batch message
- X12 equivalent
- No direct equivalent
What is the EDIFACT CODENO message?
CODENO is the UN/EDIFACT permit expiration/clearance ready notice. The directory defines it as a notice specifying the cargo for which either the validity of permits or customs documents expires at short notice, or for which regulatory customs clearance has taken place. It is part of the family of container messages for intermodal handling.
For importers and carriers, the notice is a prompt: an expiring permit needs action before the cargo becomes non-compliant, and a clearance-ready notice means containers can be collected.
How to read this diagram: the top row shows who sends CODENO, to whom, and which messages usually come before and after it. The lower part shows what the directory D.21A itself requires: the envelopes around CODENO and the segments and segment groups it marks mandatory. Conditional groups are listed by their trigger segment rather than drawn in full. This is the directory's minimum, not a trading partner's requirement: a message implementation guide, such as an industry subset or a partner’s own guide, usually makes some conditional groups mandatory, restricts the codes and may use an older directory.
When it is used
- Warning that a customs permit or document is about to expire
- Notifying that customs clearance is complete
- Prompting collection of cleared containers
Where it fits in the message flow
Structure
Mandatory segments in CODENO (directory D.21A)
In UN/EDIFACT directory D.21A, the CODENO message has 37 segment positions arranged in 14 segment groups. These are the segments and segment groups marked mandatory at message level, in order; a mandatory group is shown with the segment that starts it. Segments inside conditional groups are needed only when the group is used. This is the directory’s requirement, not your trading partner’s: each partner’s message implementation guide names the directory it uses, often an older one such as D.96A or D.01B where the structure can differ, makes some conditional segments mandatory and restricts the codes.
- UNH
- BGM
- SG2 (TDT)
- SG4 (NAD)
- SG11 (EQD)
- UNT
Practical example
CODENO in practice
Import containers at a terminal have been cleared by customs. The terminal sends the shipping line and the consignee's forwarder a CODENO reporting the containers as cleared and ready. The forwarder books trucks for collection, and the line issues the release order.
Implementation
Implementation considerations for CODENO
- Route expiry warnings to the people who can renew permits.
- Use clearance notices to trigger pickup planning.
- Match notices to containers and customs references exactly.
- Follow local port community specifications.
How ECOM helps
Automate CODENO with ECOM
Industry
Trucking and Transportation
Load tenders, responses, status and freight invoices for carriers, brokers and shippers, integrated with the TMS.
Solution
Supply Chain Visibility
Track orders, shipments and invoices across partners and catch exceptions early.
Solution
Logistics Automation
Automate tenders, status updates, freight invoices and warehouse orders with logistics partners.
Compare X12 and EDIFACT, or see answers to general questions in the EDI FAQ.
Related messages
Related customs and regulatory messages
- CUSCARCustoms cargo report
- CUSDECCustoms declaration
- CUSEXPCustoms express consignment declaration
- CUSPEDPeriodic customs declaration
- CUSREPCustoms conveyance report
- CUSRESCustoms response
- DGRECADangerous goods recapitulation
- GOVCBRGovernment Cross Border Regulatory
- PAXLSTPassenger list
- SANCRTInternational movement of goods governmental regulatory
- WASDISWaste disposal information
Need help with CODENO?
ECOM maps, tests and monitors EDIFACT messages for your trading partners and integrates them with your ERP.