Home /Integrations

TOS, ERP, TMS and IoT integration for cargo terminals

Centralize TOS, ERP, TMS, IoT and field equipment data in Railios. Connect orders, movements, visits and readings with the 3D representation of your terminal.

The data of several systems and equipment converge into a digital terminal twin
Sources that can be connected to the digital twin
  • TOS
  • ERP
  • TMS
  • IoT
  • Scales and OCR

How does data reach the digital twin?

  1. The source system sends data

    The TOS provides a movement, the TMS a visit, the ERP an order or a scale the weight of a vehicle.

  2. The interface receives the data

    According to the system, the connection can use REST API, webhooks, messages or files. An industrial device may need a gateway.

  3. Railios links the data to the workflow

    The reading is associated with a visit, order, product, unit or location. Its operational context is preserved.

  4. The team views it on the map

    The twin represents what has been received. It is checked what appears when a data is missing, delayed or contradicts another source.

Which systems should you connect?

Existing TOS

Orders, movements, position and status according to the available interface. Define which system is the reference for each event and whether the exchange will be read-only or bidirectional.

ERP

Products, orders, invoices or confirmations. Aligns identifiers between companies, systems and equipment.

TMS

Planned visits, transport orders, vehicles and dispatch statuses according to the available data. Define which event confirms the passage through the terminal and what confirmation the operator needs.

IoT and automation

Sensors, equipment and plant systems can deliver state, presence or measurement events. It validates the origin, update frequency and available connection mechanism.

Scales and OCR

Link weighing and identification to the visit or loading. Review how an incomplete reading is managed and what happens if it is received again.

Shipping companies and operators

Use the messages or formats required by each counterpart. EDIFACT container messaging corresponds to those specialized flows.

From weighbridge reading to dispatch

A truck enters to load bulk cargo

The operation identifies the vehicle, the order and the product. The scale or its system publishes a reading, with its unit of measurement and capture time.

Reading is linked to the visit

Check how the incoming weight, the outgoing weight and their difference with the order are related. Decide which system calculates or confirms the net weight and what data the rest needs to receive.

Operations validate the output

The twin shows the status of the visit according to the data received. The integration defines what is returned to the TMS and how repeated or reference-free readings are handled.

Platform scale at the access to a terminal

EDIFACT messages for container operations

CODECO

Entry or exit registration at the gate of a container.

COARRI

Confirmation of loading or unloading of containers from a ship.

BAPLIE

Stowage plan and positions of the units on board.

BUY

Loading or unloading instructions for the terminal.

COPARN

Notice of delivery, collection or availability of a container.

IFTSTA

Communication of the status of a transport.

CUSRES

Customs response linked to the corresponding procedure.

DESTIM

Damage estimation of a unit.

VERMAS

Exchange of the verified gross mass of the container.

API, webhooks and message transport

REST API / JSON

Check what TOS data the ERP needs to consult or update and how the entities are identified between the two systems.

Webhooks

Define the events that must be notified, the receiving system and how their delivery will be followed.

SFTP, AS2 and X12

Validate the protocol and version with each counterpart. Document formats, identification, validation rules and exchange channels.

What should you prepare for a technical evaluation?

Prepare the list of counterparties and ERP, the messages you actually exchange and anonymized examples. In the review it is important to agree who originates each event, what confirmation is needed and who manages errors.

How do you validate EDI between the TOS, shipping line and ERP?

From event to message

A truck enters and the terminal records the movement. If the counterpart needs the notification, the evaluation must identify the event that triggers CODECO, the reference that links both systems and the treatment of a subsequent correction. A COARRI report corresponds to ship loading or unloading.

Access lane with OCR cameras

Versions, formats and error handling

Request anonymized samples of the messages you use and mark mandatory segments and references in return. Validate the behavior of the integration in the event of duplication, an incomplete file or temporary unavailability.

Software systems and sensors connected to a central data hub

Common references between systems

Use the same unit, scale or visit in both systems. Check that the message arrives, is interpreted and leaves a consistent status. Document which equipment has to act if the confirmation is not received within the agreed operational period.

Operations control station

Interfaces for bulk and general cargo

Defines which references and quantities are exchanged between the scale, ERP and operators. The integration can start from a product, an order, a batch or a part. Each reception and dispatch needs references that can be reconciled between the systems.

How do you connect a digital twin to an existing TOS?

Railios can incorporate data from the TOS that the terminal already operates. The first step is to identify what information it exposes and with which key it links to the operation plan and record. The table collects usual data that may be part of the scope.

Data that link the systems to the terminal
Source Data Reference Scope to agree
Existing TOS Orders, movements and states Order, unity or movement Who registers and confirms the event?
ERP Products, quantities and orders Product, lot or order What data is exchanged and in which direction?
TMS Visits, schedules and shipments Visit, vehicle or shipment How a change in planning is communicated
IoT, scales and OCR Field readings and identification Team, time and associated registration Frequency, unit of measurement and management of discrepancies

The exchange address and update frequency are agreed by source. Railios has REST API, webhooks and EDI messaging. A field team may require a gateway that converts its signal into data available for integration.