EDI Integration

Automated CODECO EDIFACT Generation

Generate, validate, and transmit CODECO EDI messages automatically. Support for D95B and D00B standards with per-liner configuration and bulk generation capabilities.

Container inspection and EDI approval flow
EDIFACT Standards

CODECO D95B & D00B

DepotLite supports both major CODECO EDIFACT directory versions used in the container shipping industry. Each shipping line can be configured to use the standard they require.

CODECO D95B

EDIFACT Directory 95B

The D95B directory version is the most widely adopted CODECO standard in the container shipping industry. DepotLite generates fully compliant D95B messages with proper segment ordering, qualifier codes, and data element formatting.

  • UNB/UNZ interchange envelope with proper syntax identifiers
  • UNH/UNT message envelope with D95B directory reference
  • BGM segment for gate-in (36) and gate-out (34) message types
  • TDT transport details with vessel and voyage information
  • LOC location codes with UN/LOCODE references
  • EQD equipment details with ISO type codes
  • RFF reference segments for booking and release numbers
  • DTM date/time with qualifier 203 format

CODECO D00B

EDIFACT Directory 00B

The D00B directory version includes extended segment definitions and additional qualifiers for more detailed container event reporting. Some shipping lines require D00B for enhanced data exchange capabilities.

  • Extended segment definitions for enhanced data fields
  • Additional qualifier codes for detailed event typing
  • Enhanced location segment with terminal-level detail
  • Extended equipment details with condition coding
  • Additional reference types for supply chain traceability
  • Enhanced date/time qualifiers for operational timestamps
  • Support for additional free-text segments
  • Backward compatibility with D95B processing systems
Per-Liner Configuration

Customized EDI for Every Shipping Line

Every shipping line has unique EDI requirements. DepotLite lets you configure EDI settings per liner, including the EDIFACT directory version, interchange sender/receiver IDs, application references, and message routing. When a container event occurs, the system automatically applies the correct configuration.

  • EDIFACT directory version selection (D95B or D00B) per liner
  • Custom interchange sender and receiver identification
  • Application reference and communication agreement settings
  • Message routing configuration for EDI delivery
  • Syntax identifier and version selection
  • Custom segment qualifiers per liner requirement
  • Test vs. production mode toggle per liner
  • EDI template preview before activation

Liner Configuration Example

MSCD95B

DEPOTLITEMSCGEN

MaerskD95B

DEPOTLITEMAERSK

CMA-CGMD00B

DEPOTLITECMACGM

Hapag-LloydD95B

DEPOTLITEHLCUGEN

Automation

Automatic Gate Event Triggers

EDI generation is triggered automatically when containers pass through gate-in and gate-out. No manual intervention required. The system detects the event, applies the liner configuration, generates the EDI, validates it, and queues it for delivery.

Gate-In Trigger

When a gate operator processes a container gate-in, a CODECO message type 36 (container arrival) is automatically generated with the container details, transport information, and location codes.

BGM segment: message type 36 (arrival)
Container details from gate-in form
Vehicle and transport information
Depot location with UN/LOCODE
Auto-timestamped with gate-in time

Gate-Out Trigger

When a container is released through gate-out, a CODECO message type 34 (container departure) is automatically generated with the container details, outbound transport, and release documentation.

BGM segment: message type 34 (departure)
Updated container details and condition
Outbound vehicle and driver information
New seal numbers applied at gate-out
Auto-timestamped with gate-out time

// Bulk EDI generation

POST /api/edi/generate/bulk

{

"liner": "MSC",

"eventType": "GATE_IN",

"dateRange": {

"from": "2026-03-20",

"to": "2026-03-24"

}

}

// Response: 47 EDI files generated

// All validated successfully

// Download available as ZIP

Bulk Operations

Bulk EDI Generation

Generate EDI files in bulk for a date range, specific liner, or event type. Ideal for catching up on missed transmissions, re-generating corrected files, or processing high-volume operations. All files are validated before bundling.

  • Generate EDI for multiple containers in a single operation
  • Filter by liner, event type, date range, or container list
  • All files individually validated before bundling
  • Download as ZIP archive or individual files
  • Re-generation with updated data for corrections
  • Batch processing via enterprise message queues
Technical Architecture

EDI Generator Service

The EDI system is powered by a dedicated service for generation, parsing, and validation. Built for reliability and scalability.

Generate

Create CODECO EDI messages from container event data. Accepts container details, event type, and liner configuration. Returns a valid EDIFACT interchange.

Parse

Parse incoming EDIFACT messages into structured data. Extract container details, event information, and reference data from EDI files received from partners.

Validate

Validate EDI messages against EDIFACT specifications before transmission. Check segment ordering, mandatory fields, qualifier codes, and data element formats.

NestJS Service

Dedicated microservice architecture

EDI Storage

Secure cloud storage for all generated files

Queue Processing

Reliable async generation

Integrations

Comprehensive platform features

Example

Sample CODECO Output

A complete CODECO D95B gate-in message generated by DepotLite for a container arrival event.

// CODECO D95B - Gate In Message

// Auto-generated by DepotLite EDI Service

UNA:+.? '

UNB+UNOA:2+DEPOTLITE:ZZ+MSCGEN:ZZ+260324:1430+00000001++CODECO'

UNH+1+CODECO:D:95B:UN'

BGM+36+GI202603240001+9'

TDT+20+V2603001+++:::MSC ANNA'

LOC+9+INMAA:139:6'

LOC+11+INMAA:139:6::CHENNAI DEPOT'

DTM+137:20260324:102'

NAD+CA+MSC:172:ZZ'

EQD+CN+MSCU1234567+22G1:102:5'

RFF+BN:BKG2603001'

RFF+RE:REL2603001'

DTM+7:202603241430:203'

MEA+AAE+T+KGM:2250'

SEL+SEAL001:CA'

UNT+15+1'

UNZ+1+00000001'

Automate Your EDI Compliance

See how DepotLite eliminates manual EDI work with automated CODECO generation, validation, and per-liner configuration.