Logistics and supply chain

A shipment passes through several companies' systems, and they often disagree

We build the integrations and data pipelines that keep orders, freight and inventory consistent between carriers, warehouses and trading partners.

Relevant capabilities

Overview

Moving a shipment involves a series of handoffs between companies. The shipper's order becomes a tender to a carrier, then a booking, a pickup, a run of status events, a proof of delivery and finally an invoice. Each party records its part in its own system, which may be an ERP, a transport or warehouse management system, a carrier's dispatch platform or a customs broker's software. For that reason most of the technology work in logistics is concerned with other companies' systems and the messages that pass between them.

Those messages are older and less consistent than the ones most other industries work with. EDI in the X12 and EDIFACT standards still carries a large part of the volume, and it runs alongside carrier APIs, portal uploads, emailed spreadsheets and scanned documents. Each trading partner implements the standard slightly differently, and status events can arrive late, out of order or twice, and sometimes they do not arrive at all. A system built on the assumption that its input will be clean and in sequence usually runs into trouble within its first week of live traffic.

We approach this as integration and data engineering in which mistakes have operational consequences, because a missed message can mean a truck arriving at a closed dock or a container running up storage charges. Our designs therefore allow for the partner whose files are malformed, the event that arrives after the delivery it describes and the night when a carrier API is unavailable. Planners and dispatchers continue to make the decisions, and our part is to give them a single accurate picture of each shipment to base those decisions on.

Industry challenges

The forces on technology leaders
  1. Customers expect to see every shipment live

    Shippers and consignees want a tracking view and a dependable arrival estimate for each load. The underlying data comes from carriers, telematics providers and terminals that use different identifiers and report at different intervals, so when updates stop for a few hours the customer tends to assume the shipment has been lost.

  2. Partner onboarding takes too long

    Every new customer or carrier brings another round of mapping documents, test files and exceptions, and all of it waits in the integration team's queue. By that point sales has signed the account and operations is ready to start, so the first shipments are keyed in by hand while the EDI connection is still being tested.

  3. Margins depend on exceptions and accessorials

    Detention, demurrage, redelivery and re-weigh charges reduce an already thin margin. Disputing them requires documents and timestamps that are held in different systems, so an operator without clean event data often pays charges it could have contested and fails to bill the ones it is owed.

  4. A warehouse that cannot stop for an upgrade

    The warehouse management system directs each pick, putaway and load, often around the clock, and the conveyors, scanners and automation on the floor are tied to it. Changes carry real risk because test environments rarely mirror the floor, and peak season takes months out of the calendar that would otherwise be available for them.

  5. Labor and capacity planned on yesterday's volume

    The staffing of a dock or a fleet depends on what will arrive tomorrow, but the forecasts are usually kept in spreadsheets and the advance ship notices are often incomplete. As a result planners tend to learn the actual volume only when the trucks appear at the gate.

Transformation opportunities

Where technology changes the result
  • One event history per shipment

    Status messages from EDI, carrier APIs and telematics are normalized into a single timeline for each shipment. Duplicates are removed and conflicts are settled by written rules, so customer service, billing and the customer portal all read the same history and no longer work from three partial ones.

  • Arrival estimates that planners can trust

    We build predicted arrival times from position data, the dwell history at each facility and the driver's remaining legal driving hours. Each estimate is published with a confidence range, which gives a dock scheduler enough information to decide whether to hold a door for the truck or reassign it.

  • Freight audit done by machine first

    Carrier invoices are matched automatically against the rate agreement, the shipment record and the event timeline. Invoices that match are paid without anyone handling them, and those that do not go to an auditor's queue with the contract clause, the timestamps and the difference already set out.

  • Paperwork read at the point of arrival

    Bills of lading, delivery receipts, customs documents and packing lists are extracted as soon as they are scanned or emailed, and a person checks any field the extraction was unsure about. As a result the data reaches the transport and warehouse systems before the truck leaves, when it would otherwise be keyed in some days afterward.

  • Exception handling with an agent's help

    An agent watches for late pickups and missed milestones, gathers the facts about the shipment, drafts the carrier inquiry and the customer notice, and proposes a rebooking. Anything that costs money or changes a delivery commitment still has to be approved by a dispatcher before it goes ahead.

Relevant capabilities

The services that matter most here, and why

What shapes the engineering

Regulatory, data and operational constraints
  1. Each partner implements EDI differently

    X12 and EDIFACT define the message structures, but each trading partner publishes its own implementation guide with its own required fields and code values. We keep the partner-specific mappings as configuration and hold a set of test files for each partner, so that a change for one customer does not require redeploying the integration for all the others.

  2. Customs and security filings have legal deadlines

    Cross-border shipments require declarations and advance cargo data to be filed with customs authorities before set points in the journey, and the requirements differ by country and change over time. Any system that prepares this data therefore needs validation, an audit trail of what was filed and a clearly named owner for corrections.

  3. Dangerous goods and temperature records

    Hazardous materials are governed by rules specific to each mode of transport, such as the IMDG Code for sea and the IATA regulations for air, and temperature-controlled goods need continuous records. Software has to carry the classification and temperature data intact through each handoff, which rules out dropping a required field because it is inconvenient to map.

  4. Operations run through nights and weekends

    Warehouses and linehaul networks are at work during the hours when office systems are usually patched, and scanners have to keep working when the connection to the warehouse system drops. We schedule releases with operations, design for local buffering on the floor and write runbooks for the shifts that have no engineer on site.

In practice

Three situations from this industry, and what we would do in each.

Carrier status events that contradict each other

The situation
A freight forwarder shows its customers a tracking page that is fed by EDI status messages from some carriers, API calls to others and emails from the rest. The same shipment can appear as delivered and in transit at once, so customer service keeps its own spreadsheet of the true status and customers phone in because they do not trust the page.
What we would build
We would build an event service that takes in every source, maps it to one set of milestone codes and keys it to a single shipment identifier, even where carriers use their own references. Written rules would decide which source takes precedence in a conflict, and an event arriving after a later milestone would be recorded without moving the status backward. Events that cannot be matched would go to a review queue.
What it is designed to change
The tracking page and the service desk would then read the same timeline. We would track the number of shipments with contradictory or missing milestones each day, along with the volume of status inquiries that reach the service desk.

New accounts waiting in the EDI queue

The situation
A third-party logistics provider wins new accounts faster than it can connect them. Each customer sends orders and expects ship confirmations in its own EDI variant, and the mappings are hand-coded by a small group of specialists. Until a connection goes live, warehouse staff rekey orders from emailed files and the resulting errors show up as mis-shipments.
What we would build
We would move the mappings out of code and into a canonical order and shipment model with configuration for each partner, and build a test suite that replays every partner's sample files whenever something changes. A self-check tool would let a new customer validate its own files before the first joint test. Orders keyed by hand would be counted, which keeps the size of the backlog visible.
What it is designed to change
Onboarding a partner would become a matter of configuration and testing rather than a development project. Success would be judged on the elapsed time from a signed account to the first order processed without rekeying, and on the count of orders still entered by hand.

Detention charges that go undisputed

The situation
A regional distributor pays carrier detention invoices that it suspects are wrong. The gate arrival times are in the yard system, the dock times are in the warehouse system and the carrier's claim is on a scanned invoice. Assembling the evidence for a single dispute takes an analyst so long that only the largest charges are challenged.
What we would build
We would join the gate, dock and appointment records into one dwell record per visit, extract the charge lines from the carrier invoices and compare each claim with the recorded times and the free time allowed in the carrier agreement. Claims that agree with the records would be approved for payment, and the rest would be queued for the analyst with the evidence already assembled.
What it is designed to change
Every detention charge would be checked against the recorded times, including the smaller ones that currently go unchallenged. The measures would be the share of accessorial invoices verified before payment and the time an analyst spends on each dispute.

Business outcomes

What the work is meant to change
  • One answer to where the freight is

    Operations, customer service and the customer portal all read the same event history, which means a question about a shipment's status gets the same answer whichever screen it is asked from.

  • New partners connected through configuration

    A customer or carrier connection is set up by mapping the partner's format and replaying its test files, so the integration team is no longer on the critical path each time an account is signed.

  • Charges paid and billed on evidence

    Freight invoices and accessorials are checked against contracts and timestamps before any money moves, and the charges you are owed are raised with the supporting record attached.

  • Exceptions raised while they can be fixed

    A late pickup or a partner feed that has stopped raises a task with the facts already gathered, at a point when there is still time to rebook and before the problem turns into a missed delivery.

Questions leaders ask

No, because we are not an implementer of any transport or warehouse management product and we do not sell one. Our work sits around those systems and covers the integrations into and out of them, the data they produce and the applications they do not provide. If you are selecting a new system, we can run an independent comparison against your lanes, volumes and partner mix and write down the reasoning behind the result.

No, and most of your trading partners would not agree to it in any case, because EDI is going to carry volume for years yet. The practical step is to put a canonical model between your systems and both formats, so that an order looks the same internally whether it arrived as an X12 file, an EDIFACT message or an API call. Each partner can then move at its own pace, and when one does you change a single mapping and leave your core systems alone.

We assume from the start that some of it will be bad. Every inbound feed gets validation, deduplication and a quarantine for messages that fail, together with an alert that names the partner and the reason. We also monitor for feeds that stop altogether, since a missing feed does as much damage as one full of errors and is harder to notice. Although we cannot fix a partner's system, these checks keep its errors out of yours, and scorecards built from the same data give your carrier managers evidence to bring to the partner.

They can for narrow jobs, provided a person approves anything that costs money. An agent can gather the facts about a shipment, draft messages to a carrier and propose a rebooking, but it should not commit spend, change a promise made to a customer or file a customs entry on its own. We scope each agent to one task, give it the minimum system access it needs, log every step and test it against real past exceptions before it handles live freight.

In practice

An engagement from this industry

Other industries

Tell us what you are trying to change and we will tell you what it would involve.

Tell us what you are trying to do and where it is stuck. A principal reads every message and replies within one working day.

All services

Start a conversation.

A short paragraph is enough. A principal reads every message and replies within one working day.

Or email hello@farside.works. We use what you send only to reply. Privacy