Skip to content
Portos

Commercial & customers · EDI & customs

EDI and customs integration for container terminals

Lines send their lists as UN/EDIFACT; Portos applies them to the yard and reports every gate and vessel move back from the same event log. Customs releases lift holds, and every movement is queued for KLTS in order.

  • COPRAR and VERMAS in
  • CODECO and COARRI out
  • KLTS outbox in order
EDI messagesLive
MessagePartnerStatus
COPRARLine AProcessed
VERMASLine AProcessed
CODECOLine BSent
COARRILine ASent
COPRARLine C2 lines in error

Customs · release recorded

MSCU 123456 6: customs release recorded by the clerk, customs hold lifted.

Capabilities

Standard messages in, clean reports out

Every message is kept raw beside what was read from it, so a problem is always one click from the segment that caused it.

  • Trading partners

    One partner per line or organisation, with the interchange ids and what flows each way.

    • What they send and what we send them
    • Last exchange, 30-day traffic and inbound error rate
    • A new partner starts with events from now on
  • Inbound EDIFACT

    Lists from the lines applied to the yard, container by container.

    • COPRAR discharge orders advise import containers
    • COPRAR loading orders kept for vessel planning
    • VERMAS sets the VGM of known containers
    • Dangerous-goods declarations read from DGS
  • Outbound from the event log

    Reports built deterministically from what happened to each container.

    • CODECO for gate in and gate out
    • COARRI for discharge and load
    • Generated every 10 minutes, nothing skipped or sent twice
    • An outbound queue to download and mark sent
  • Message log and error queue

    Failed and partial messages wait with their first problem and the common causes.

    • Raw and decoded interchange side by side
    • Errors per container, linked to their segment
    • Reprocess once the cause is fixed
  • Customs declarations per unit

    A release or a hold reported by a broker, a document or a clerk changes the unit.

    • Released grants the customs release; held adds a customs hold
    • The gate and the load list see it like any other hold
    • A timeline per declaration, from status to gate passage
    • An inspection’s release recorded on its declaration
    CFS & inspections
  • KLTS reporting

    Every gate and vessel movement queued in order for KLTS, the Ministry of Trade's Container and Port Tracking System (Konteyner ve Liman Takip Sistemi). The outbox is ready for the ministry's technical specification, confirmed at the pilot.

    • An outbox that survives outages, one message id per report
    • Retries with backoff; later moves never overtake earlier ones
    • Fallback suggested at the gate after 30 minutes without acceptance
    • Manual-fallback movements reconciled afterwards

How AI helps here

How AI helps with EDI and customs

Messages are parsed and applied by rules, and reports come from the event log. The AI reads them for you and explains what went wrong.

The copilot works with your permissions. Anything it changes waits for your approval and is recorded in the audit log.

  1. 1

    Explains a broken message

    Ask the copilot about a failed interchange and it reads the raw text and the item errors, and tells you which segment is wrong and why.

  2. 2

    Customs status in a sentence

    A container's declarations and KLTS movements, or the state of the KLTS link and whether the gate should run in fallback.

  3. 3

    Scanned releases, with approval

    The document agent reads a scanned customs release; it becomes a release on the unit only after a person approves it, and the action is audited.

FAQ

Questions about EDI & customs

Which EDIFACT messages does Portos support?

Inbound, COPRAR discharge and loading orders, VERMAS and COPARN (D.95B and D.00B); outbound, CODECO for gate moves and COARRI for discharge and load (D.95B), generated from the unit event log, and INVOIC D.96A for your ERP. The vessel module reads the arrival BAPLIE 2.2 into the discharge list, reads MOVINS and writes the departure BAPLIE 2.2. BAPLIE 3.1 is planned.

Does Portos report to KLTS?

Portos has a KLTS reporting outbox, ready for the ministry’s technical specification at the pilot. Every gate in, gate out, discharge and load is queued for KLTS in order, with retries and one message id per report so KLTS keeps a single copy. The client follows the ministry’s public material; its field mapping is confirmed against the ministry’s specification and test credentials at the pilot. Portos sends to KLTS; customs releases are recorded in Portos by a clerk, a broker, a document or EDI.

What happens when KLTS stops accepting reports?

After 30 minutes with movements waiting and nothing accepted, Portos raises an urgent to-do and the gate suggests fallback mode. Movements recorded by hand during fallback are matched to the outbox and reconciled.

Does Portos handle customs inspections and X-ray scans?

Yes, in the CFS & inspections product. A physical inspection, a full examination or an X-ray scan puts an inspection hold on the container until the result, and a release can be recorded on the declaration here. The slots, the scanner queue and the results are described on the CFS & inspections page.

Does Portos track summary declarations, temporary storage limits and bonded stock?

Yes, by each facility's country profile: özet beyan and 45 days for sea cargo in Türkiye, ENS and 90 days under the EU defaults, or the facility's own limit. Boxes stay on a customs hold until their summary declaration is accepted; each box gets a clock from discharge, customs staff are warned before the limit, and overdue boxes are held and listed for liquidation, with a monthly report. Bonded warehouse stock is kept by declaration with every move in and out.

How do outbound EDI messages reach partners?

Generated messages wait in the outbound queue, where they are downloaded and marked sent. Partners that prefer JSON can use signed webhooks or the DCSA Track & Trace events.

See how Portos would run your terminal

Tell us about your terminal and we'll walk you through the product, the AI and the path to go-live.