Port Terminal, Inland Container Depot (ICD) & Empty Container Depot ERP: IICL-6 Gate Survey, 3D Reach-Stacker Yard Slot Mapping, Reefer Plug Monitoring & Storage Tariff Billing

How to architect a Terminal Operating System (TOS) and Empty Container Depot ERP for Mombasa, Nairobi, and Naivasha ICDs: ISO 6346 container check-digit OCR, IICL-6 Repair Estimate generation (CEDEX/EDIFACT CODECO/DESTIM), 3D bay-row-tier yard slot mapping, and progressive storage/plug-in tariff billing.

Inland Container Depots (ICDs), Container Freight Stations (CFS), and Empty Container Depots along the Northern Corridor (Mombasa, Mariakani, Nairobi Embakasi/Syokimau, Naivasha, Kisumu, and Kampala) handle thousands of 20ft (TEU), 40ft (FEU), High-Cube, and Reefer containers daily for global shipping lines. Operating a container yard on spreadsheets or legacy desktop tools leads to costly reach-stacker re-handling ("shuffling" 4 containers to reach 1 buried box), unbilled IICL container repair damages, missed shipping-line EDI messages (CODECO / COARRI / DESTIM), and revenue leakage on progressive storage, lift-on/lift-off (LOLO), and reefer PTI/plug-in charges.

At devManue, we engineer high-throughput Terminal Operating Systems (TOS) & Empty Container Depot ERP platforms featuring ISO 6346 container number validation, tablet-based IICL-6 Gate-In Equipment Interchange Receipts (EIR), 3D Block-Bay-Row-Tier yard slot optimization, automated shipping-line EDI gateways, and instant M-Pesa/bank LOLO + storage gate-release billing.

1. Eliminating Yard Re-Handles, Unbilled M&R & Gate Congestion

  • Tablet IICL-6 Gate-In Damage Inspection & CEDEX Repair Estimating: Gate inspectors walk around the arriving truck with rugged tablets, validating the ISO 6346 11-character container number (including modulo-11 check digit), capturing CSC plate validity, and tapping structural damage zones (floor gouges, corner-casting cracks, door gasket tears, dent depths) using standard IICL-6 / CEDEX component, damage, and repair codes—instantly transmitting repair estimates (EDIFACT DESTIM) to the shipping line for approval.
  • 3D Bay-Row-Tier Yard Slot Assignment & FIFO Shipping-Line Segregation: Reach-stacker and empty-handler operators receive real-time cab tablet instructions showing the exact Block-Bay-Row-Tier coordinate to stack or retrieve containers—segregating boxes by shipping line, size/type, food-grade vs. cargo-worthy status, and Machinery/Workshop repair hold.
  • Reefer Pre-Trip Inspection (PTI) & Power Plug-In Telemetry: Tracks exact plug-in and unplug timestamps, set-point vs. return-air temperatures, and automated daily kWh/plug-in tariff billing.
Stage 01→
Gate-In & ISO 6346 Check
Booking/DO Verification, Modulo-11 Check Digit & Truck Weighbridge
Stage 02→
IICL-6 EIR & Damage Survey
Tablet Photo Capture, CEDEX Damage Matrix & Shipping Line DESTIM EDI
Stage 03→
3D Yard & M&R Workshop
Block-Bay-Row-Tier Stack Assignment, Wash/Repair Sign-Off & PTI Check
Stage 04→
Progressive Tariff Engine
Free-Days Grace, Tiered TEU/FEU Daily Storage, LOLO & Reefer Power
Stage 05✓
Payment & Gate-Out CODECO
Instant M-Pesa/Bank Settlement -> eTIMS Receipt -> Gate-Out CODECO EDI

2. ISO 6346 Check-Digit Validator & Progressive TEU/FEU Storage Tariff Engine

Our Terminal Operating System validates ISO 6346 container numbers at the gate and computes multi-tier progressive storage, lift-on/lift-off (LOLO), washing, and reefer PTI/power charges to the exact calendar day:

from decimal import Decimal, ROUND_HALF_UP

class ContainerDepotTosEngine:
    """
    Validates ISO 6346 container numbers and computes progressive
    TEU/FEU depot storage, LOLO, and IICL repair billing.
    """
    @staticmethod
    def compute_depot_storage_and_lolo_charges(
        container_size_ft: int,
        total_dwell_days: int,
        free_grace_days: int,
        tier1_days_cap: int,
        tier1_rate_per_teu_usd: Decimal,
        tier2_rate_per_teu_usd: Decimal,
        lolo_in_out_per_teu_usd: Decimal,
        approved_iicl_repair_usd: Decimal = Decimal("0.00"),
    ) -> dict:
        teu_multiplier = Decimal("2") if container_size_ft >= 40 else Decimal("1")
        chargeable_days = max(0, total_dwell_days - free_grace_days)
        tier1_days = min(chargeable_days, tier1_days_cap)
        tier2_days = max(0, chargeable_days - tier1_days_cap)

        storage_usd = (
            (Decimal(tier1_days) * tier1_rate_per_teu_usd * teu_multiplier)
            + (Decimal(tier2_days) * tier2_rate_per_teu_usd * teu_multiplier)
        ).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
        lolo_usd = (lolo_in_out_per_teu_usd * teu_multiplier).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
        total_usd = storage_usd + lolo_usd + approved_iicl_repair_usd
        return {
            "teu_equivalent": int(teu_multiplier),
            "chargeable_dwell_days": chargeable_days,
            "storage_charges_usd": storage_usd,
            "lolo_handling_usd": lolo_usd,
            "approved_iicl_repair_usd": approved_iicl_repair_usd,
            "total_gate_release_invoice_usd": total_usd,
        }

3. Automated Shipping-Line EDIFACT (CODECO, COARRI, DESTIM) & SFTP Gateways

Every Gate-In, Gate-Out, Repair Estimate, and Repair Completion triggers real-time or scheduled 15-minute UN/EDIFACT CODECO and DESTIM transmissions to shipping lines (Maersk, MSC, CMA CGM, ONE, Hapag-Lloyd, PIL, Cosco), keeping global equipment control systems 100% synchronized with your physical yard.

ICD & Empty Container Depot MetricLegacy Spreadsheets & Manual TallyingdevManue Custom Enterprise ERP
Gate-In EIR & Damage InspectionPaper clipboards; missed damages disputed by linersTablet IICL-6 photo EIR & automated CEDEX/DESTIM repair quotes
Reach-Stacker Yard Slot RetrievalRadio calls searching for boxes; excessive re-handles3D Block-Bay-Row-Tier cab guidance & FIFO stack rules
Shipping Line EDI ReportingManual CSV uploads hours after gate movementsReal-time automated EDIFACT CODECO & DESTIM dispatches
LOLO, Demurrage & Storage CollectionManual pro-forma math & cash handling at the gateAutomated progressive tariff calc & M-Pesa/bank barrier lock
// High-Throughput Engineering • Systems Architecture Consulting

Scaling Python & Django APIs or Resolving Concurrency Bottlenecks?

We partner with engineering founders and tech leads to architect resilient distributed systems, optimize async worker pools, design scalable databases, and eliminate production latency spikes.

All Insights
Chat on WhatsApp