Home / Use cases / Legacy TMS modernization and a GenAI document desk

LOGISTICS

ENTERPRISE

LEGACY MODERNIZATION

GENAI · NIS2

Legacy TMS modernization and a GenAI document desk for freight forwarders

An ageing TMS replaced module by module, without stopping operations. Module-by-module modernization with no big-bang cut-over, plus a GenAI document desk.

Example engagement: figures show typical results for this kind of project.

4

migration waves, no big-bang cut-over

18 mo

typical timeline, phased

10

services working together

3

user roles, each with its own workspace

BUILT FOR

Freight forwarders and logistics enterprises

INDUSTRY

Logistics & Supply Chain

TYPICAL SIZE

Enterprise

WHERE WE DELIVER

United States, Canada and Europe

TYPICAL TIMELINE

18 months, phased

TEAM

Cross-practice: strategy, software, AI and data, managed cloud

Services used:

IT architecture assessment

Legacy modernization

API & integration

Generative AI & LLM apps

Data engineering

Business intelligence

Managed cloud

SOC as a Service

Managed detection & response

Backup & DR

IN SHORT

How do you modernize a legacy TMS without stopping operations?

Replace it one capability at a time.

KEY TAKEAWAYS

→ Avoid the big-bang rewrite: migrate in waves behind an API layer

→ Start with GenAI on documents: fast payback funds the programme

→ Protect the legacy estate while you modernize; attackers target it

→ NIS2 needs a 24-hour early warning for significant incidents

THE CHALLENGE

Sound familiar?

Volumes grow, competitors digitise, and the core system hasn't changed in decades.

01

A TMS nobody wanted to touch

An ageing on-premises TMS runs every booking. Each change takes months and only a few people understand the code.

02

High volumes of documents every month

Bills of lading, invoices and customs forms arrive by email and PDF, and large teams re-key them into the TMS.

03

Ransomware and NIS2 pressure

Attacks on logistics peers have stopped ports and warehouses for days, and NIS2 brings formal duties for risk management and incident reporting.

TECHNICAL ARCHITECTURE

The whole platform, in one picture

New cloud services sit beside the legacy TMS behind one API layer. Traffic moves wave by wave, and every event feeds the control tower and the SOC.

USERS & PARTNERS

Operations workspace

Web, for agents worldwide

Customer portal

Web & mobile

Control tower

Leadership & IT

Partner APIs & EDI

Carriers, customs, customers

↓

EDGE & ACCESS

Global CDN & WAF

API management

Versioned APIs, partner keys

Identity

Entra ID, SSO, MFA, zero trust

↓

NEW CORE SERVICES

Rates & quotes

Bookings

Shipments & milestones

Documents & customs

Billing & finance

↓

LEGACY (SHRINKING)

Legacy TMS

Remaining modules behind anti-corruption layer

Mainframe batch

Legacy decommissioned in the final wave

↓

AI LAYER

Document AI

Extraction from B/L, invoices, customs forms

GenAI email agent

Triage, validation, replies

ETA prediction

Machine learning

Exception detection

↓

DATA & EVENTS

Event bus

Kafka

Operational databases

Lakehouse

Data products

Shipments, customers, margin

Power BI

↓

INTEGRATIONS

Carriers & airlines

EDI and APIs

Customs systems

ERP (SAP)

Visibility providers

Banks & payments

SECURITY & RESILIENCE

Across every layer

• NIS2 Article 21 risk measures

• 24/7 SOC and managed detection & response

• 24 h early warning, 72 h notification

• Zero trust access for every endpoint

• OT network segmentation in warehouses

• Immutable backups, tested restores

• Legacy TMS isolated until decommission

• Quarterly penetration tests

THE SOLUTION IN DETAIL

One platform, three types of users

Operations agents move faster, customers self-serve, and leadership sees the whole network and its risks.

Product screens on this page show the design with sample data.

01

Operations agents

Operations workspace

6 core modules

02

Customers & partners

Customer portal

6 core features

03

Leadership & IT

Control tower

6 core modules

01

OPERATIONS WORKSPACE

Operations agents

Agents across every country confirm AI-extracted documents instead of typing them, and handle exceptions the AI spots before customers do.

CORE MODULES

✓

AI document desk

B/L, invoices and customs forms extracted in seconds.

✓

Confidence-based review

Only low-confidence fields go to a person.

✓

Shipment workspace

Milestones, documents and margin in one view.

✓

Exception detection

Delays, mismatches and missing documents flagged early.

✓

GenAI email agent

Customer emails triaged and draft replies prepared.

✓

Posting to TMS

Validated data written to new services or legacy TMS.

T

Tidewell Global

OPERATIONS WORKSPACE

Document desk

Shipments

Exceptions

Customs

Billing

Bill of lading · TWG-HBL-2611-04812

Received by email 09:14 · extracted by AI in 6 s · 2 fields need review

Search shipments, B/L, containers, customers…

Source document

BILL OF LADING

Extracted fields

94% fields auto-validated

Shipper

Hanseatic Components GmbH

99%

Consignee

Meyer Retail Group Inc.

99%

Port of loading

Hamburg (DEHAM)

98%

Port of discharge

Newark (USEWR)

98%

Container

MSKU 784512-3 · 40HC

97%

Gross weight

18,420 kg · differs from booking (18,240)

72%

HS code

8708.99 · auto-suggested

81%

Incoterms

FOB Hamburg

96%

Confirm & post to TMS

Flag to customer

AI document desk with extracted fields

T

Tidewell Global

OPERATIONS WORKSPACE

Document desk

Shipments

Exceptions

Customs

Billing

Shipment TWG-2611-04812

Hamburg → Newark · ocean FCL · ETA 21 Nov (predicted 22 Nov, 78% confidence)

Search shipments, B/L, containers, customers…

Milestones

Booked

02 Nov · confirmed by carrier

Gate in Hamburg

06 Nov 14:20

Loaded on vessel

08 Nov · MSC Aurora V.112E

In transit

Mid-Atlantic · on schedule

Arrival Newark

Predicted 22 Nov (+1 day, port congestion)

Customs & delivery

ISF filed · entry pending

Shipment details

Customer

Meyer Retail Group Inc.

Containers

1 × 40HC · 18,420 kg

Documents

B/L, commercial invoice, packing list, ISF

Rate

USD 2,940 all-in · margin 14.2%

Owner

Ops team Hamburg · Lena W.

Shipment workspace with predicted ETA

T

Tidewell Global

OPERATIONS WORKSPACE

Document desk

Shipments

Exceptions

Customs

Billing

Exceptions

AI flags issues before customers notice · 63 open across 40 countries

Search shipments, B/L, containers, customers…

Open exceptions

63

Auto-resolved today

212

Median time to resolve

38 min

−71%

Customer-reported first

4%

−22 pts

Open exceptions

SHIPMENT

ISSUE

IMPACT

SUGGESTED ACTION

PRIORITY

TWG-04812

Weight mismatch vs booking (180 kg)

VGM / customs risk

Request corrected VGM from shipper

High

TWG-04790

Vessel delay 2 days, Rotterdam

3 orders miss promo date

Offer rail transshipment option

High

TWG-04771

Missing packing list

Customs hold risk

Auto-email chased · 2nd reminder

Medium

TWG-04768

Rate below floor

Margin 3.1%

Send to pricing for approval

Medium

TWG-04752

Duplicate invoice detected

€4,120 at risk

Block payment · notify carrier

Medium

AI-detected exceptions queue

02

CUSTOMER PORTAL

Customers & partners

Shippers track every order live, get instant quotes from live carrier rates, and find every document and invoice without emailing an agent.

T

Tidewell Global

CUSTOMER PORTAL

Track

Quote & book

Documents

Invoices

Reports

Your shipments

Meyer Retail Group · 128 active shipments · 9 need attention

Search shipments, B/L, containers, customers…

Live map

Needs attention

PO 55120 · 2 days late

Rotterdam delay · rail option offered

PO 55098 · documents missing

Packing list requested

PO 55011 · arriving early

Warehouse slot moved to Monday

Shipments

PO

ROUTE

MODE

ETA

STATUS

CO2E

55120

Shanghai → Rotterdam → Chicago

Ocean + rail

24 Nov (+2 d)

Delayed

3.1 t

55102

Hamburg → Newark

Ocean

22 Nov

In transit

2.4 t

55098

Shenzhen → Los Angeles

Ocean

30 Nov

Docs missing

2.9 t

Customer tracking portal

T

Tidewell Global

CUSTOMER PORTAL

Track

Quote & book

Documents

Invoices

Reports

Instant quote

Live rates from 60+ carriers · book in 2 minutes

Search shipments, B/L, containers, customers…

Shipment

From

Ningbo, China (CNNGB)

To

Felixstowe, UK (GBFXT)

Load

2 × 40HC · general cargo

Ready date

28 Nov 2026

Options

Fastest

USD 4,380

26 days · direct service

2.8 t CO2e

Book

Best value

USD 3,640

31 days · 1 transshipment

3.1 t CO2e

Book

Lowest CO2e

USD 3,910

33 days · slow steaming

2.2 t CO2e

Book

Instant quote & booking

T

Tidewell Global

CUSTOMER PORTAL

Track

Quote & book

Documents

Invoices

Reports

Invoices & documents

All shipment documents and invoices in one place · e-invoicing ready

Search shipments, B/L, containers, customers…

Invoices

INVOICE

SHIPMENT

AMOUNT

DUE

STATUS

DOCUMENTS

INV-90412

TWG-04812

USD 2,940

05 Dec

Open

B/L · CI · PL · ISF

INV-90388

TWG-04790

EUR 3,120

28 Nov

Disputed

B/L · CI · delay notice

INV-90301

TWG-04702

USD 5,880

15 Nov

Paid

B/L · CI · PL · POD

INV-90277

TWG-04699

USD 1,240

12 Nov

Paid

AWB · CI · POD

Invoices & documents

CORE FEATURES

✓

Live tracking

Map, milestones and predicted ETAs for every PO.

✓

Proactive alerts

Delays and missing documents surfaced with options.

✓

Instant quotes

Live rates from connected carriers, booked in minutes.

✓

Emissions per shipment

CO2e shown on quotes and shipments.

✓

Documents & invoices

Every B/L, invoice and POD in one place.

✓

APIs & EDI

Large customers integrate directly with their ERP.

03

CONTROL TOWER

Leadership & IT

Executives see network performance and margin live, IT tracks the modernization wave by wave, and security sees NIS2 posture and threats in one place.

CORE MODULES

✓

Global control tower

OTIF, volumes and margin by region, live.

✓

Modernization tracker

Modules migrated, legacy traffic and release pace.

✓

Security & NIS2 posture

Detection times, vulnerabilities and Article 21 measures.

✓

Cloud cost

Spend by service and region with savings tracked.

✓

AI performance

Touch-free rate and extraction accuracy.

✓

Board reporting

Monthly pack for executives and the board.

T

Tidewell Global

LEADERSHIP & IT

Control tower

Modernization

Security

Cloud cost

Reports

Global control tower

40 countries · 1.2M documents and 410k shipments a month · live

Search shipments, B/L, containers, customers…

Shipments in transit

46,812

On-time (OTIF)

93.4%

+6.1 pts

Touch-free documents

70%

+64 pts

Gross margin per shipment

USD 312

+9%

Touch-free document rate by month

M1

M3

M5

M7

M9

M11

M13

M15

Regions

Europe

OTIF 95%

North America

OTIF 93%

Asia Pacific

OTIF 91%

Middle East & Africa

OTIF 88%

Global control tower

T

Tidewell Global

LEADERSHIP & IT

Control tower

Modernization

Security

Cloud cost

Reports

TMS modernization

Strangler-fig migration · legacy TMS switched off module by module

Search shipments, B/L, containers, customers…

Modules migrated

36 / 42

Legacy traffic

9%

−91 pts

Releases per month

22

was 1 per quarter

Downtime during migration

0 min

Migration waves

Wave 1 · Rates, quotes, bookings

Live · Q1

Wave 2 · Shipments & milestones

Live · Q2

Wave 3 · Documents & customs

Live · Q3

Wave 4 · Billing & finance

85% · cutover Dec

Legacy decommission

Planned Q2 2027

TMS modernization progress

T

Tidewell Global

LEADERSHIP & IT

Control tower

Modernization

Security

Cloud cost

Reports

Security & NIS2 posture

24/7 SOC · 9,400 endpoints · 312 warehouses and offices

Search shipments, B/L, containers, customers…

Mean time to detect

9 min

was 3 days

Mean time to contain

27 min

Critical vulns > 15 days

0

NIS2 controls in place

96%

NIS2 Article 21 measures

Risk analysis & policies

100%

Incident handling (24 h / 72 h)

100%

Business continuity & backups

100%

Supply chain security

90%

Vulnerability handling

100%

MFA & access control

95%

This week

Ransomware precursor blocked

Warehouse PC, Antwerp · isolated in 4 min

Phishing campaign contained

212 emails pulled from 9 mailboxes

OT network segmentation

Lisbon DC completed

Immutable backup restore test

TMS restored in 3 h 10 m

Security & NIS2 posture

TECHNOLOGY & SECURITY

Built to replace a legacy core without stopping the business

Cloud-native services, event streaming and AI, introduced beside the legacy TMS and then replacing it.

TECHNOLOGY STACK

Services

.NET 8

Java (Spring Boot)

React

Integration

Azure API Management

Apache Kafka

EDI (EDIFACT, X12)

AI

Azure AI Document Intelligence

Azure OpenAI

ML for ETAs

Data

Databricks

Power BI

Data products

Cloud

Microsoft Azure

AKS

Terraform

Security

Microsoft Sentinel

Defender XDR

Entra ID

Veeam

SECURITY & COMPLIANCE

✓ NIS2 Article 21 measures implemented and evidenced

✓ Early warning within 24 h and notification within 72 h

✓ 24/7 SOC and managed detection & response

✓ Zero trust access and phishing-resistant MFA

✓ OT segmentation across warehouses and depots

✓ Immutable, tested backups for TMS and data

✓ Legacy systems isolated and monitored until shutdown

✓ Quarterly penetration tests and red team exercise

DELIVERY TIMELINE

From assessment to a modern core in about 18 months

Phased so value arrives early: the AI document desk can go live around month 4 and help fund later waves.

Month 0

Month 2

Month 4

Month 6

Month 8

Month 10

Month 12

Month 14

Month 16

Month 18

Architecture assessment & roadmap

Code, data, risks, target architecture, business case.

Wk 0–6

Cloud landing zone & security baseline

Azure foundation, identity, SOC onboarding.

Wk 4–14

AI document desk

Pilot in a few countries, then global rollout.

Wk 10–40

NIS2 programme & 24/7 SOC

Risk measures, incident process, MDR.

Wk 6–30

Migration waves 1–4

Rates, shipments, documents, billing.

Wk 14–70

Control tower & data platform

Lakehouse, data products, Power BI.

Wk 24–52

Legacy decommission & managed run

Final cutover, shutdown plan, managed ops.

Wk 66–78

Typical plan: about 18 months to a modern core · AI document desk live around month 4

Fewer documents keyed by hand, modern releases and NIS2-ready security. Module-by-module modernization with no big-bang cut-over, plus a GenAI document desk.

WHAT THIS USE CASE DELIVERS

Use case blueprint. Scope, timeline and team are confirmed in a written proposal for your project.

RELATED USE CASES

More work like this

SAAS

AI agents

SOC 2

Enterprise-ready AI agent with SOC 2 and ISO 42001 for AI startups

THE CHALLENGE

Enterprise legal teams like AI demos, then ask hard security and AI questions.

OUR APPROACH

An evaluation-gated AI agent, SOC 2 and ISO 42001 controls, and a self-serve trust center.

WHAT SUCCESS LOOKS LIKE

An AI product that answers security and AI reviews with evidence, not promises.

3

frameworks built in: SOC 2, ISO 42001, trust center

Read the story →

1 / 3

RELATED INDUSTRIES

Built for your industry

The industry behind this use case, and others where the same approach works.

All industries →

BLOG & RESOURCES

Insights for logistics and supply chain leaders

Practical guides on visibility, AI automation and resilience.

View all resources →

LOGISTICS AI

AI for shipping documents, with people in the loop

How AI reads bills of lading and invoices, and where humans review.

Akash Soni, Founder & CEO · 8 min read

COMPLIANCE

NIS2 for logistics companies: a 90-day plan

Who is in scope, the key duties and 24-hour reporting.

Akash Soni, Founder & CEO · 8 min read

MODERNIZATION

Legacy modernization, one module at a time

The strangler fig approach, without a risky rewrite.

Akash Soni, Founder & CEO · 8 min read

FAQ

Legacy modernization, GenAI and NIS2 questions, answered

Short answers to what teams ask us most about this kind of project.

Still have a question?

Book a free consultation

What is the strangler fig pattern?

The strangler fig pattern modernizes a legacy system gradually: new services replace old functions one by one behind a routing layer until the old system can be retired, avoiding a risky big-bang cutover.

How long does it take to modernize a legacy TMS?

Modernizing a legacy transport management system typically takes 12 to 24 months in phases, with the first modules live within 3 to 6 months while the old system keeps running.

How accurate is AI on shipping documents?

Modern document AI extracts data from bills of lading, invoices and customs forms with high field-level accuracy.

Does NIS2 apply to logistics companies?

Yes. NIS2 includes transport and logistics. Medium and large companies operating in the EU must manage cybersecurity risk, secure their supply chain and report significant incidents.

What are the NIS2 incident reporting deadlines?

Under NIS2, an early warning is due within 24 hours of becoming aware of a significant incident, a full notification within 72 hours and a final report within one month.

SERVICES IN THIS USE CASE

IT Architecture Assessment →

An independent technical review

Legacy Modernization & Cloud Migration →

Modernize without a big-bang rewrite

API & Systems Integration →

Connect every system you run

Generative AI & LLM Application Development →

LLM and RAG apps built for production

Modernizing a legacy core? Let's talk.

Book a free 30-minute call. You'll leave with a first view of the safest migration path and where AI can pay for it, whether or not we work together.

The safest migration path

Where AI pays for it

No obligation

Book your free consultation

By submitting, you agree to our Privacy Policy. We never share your details.