The Compile-Once Enterprise · Logistics groups
Kestova Group is a fictional composite. Industry facts are sourced; company figures are illustrative.

Logistics · whole group · planning for 2027

1.36 billion parcels a year lost their duty-free lane. Then Europe charged €3 an item. How many of your systems had to learn it?

On 29 August 2025 the United States ended duty-free de minimis entry for every country. In fiscal 2024 more than 1.36 billion shipments had come in that way.1,2 On 1 July 2026 the EU began charging €3 for each tariff classification in parcels worth up to €150.3 In a logistics group the parcel network, the forwarders, the customs brokers, the warehouses and the last-mile teams all meet that rule, each in its own stack, in every country.

An architecture concept by Muthukumar Subramanian · Agentic AI Architect

The Compile-Once Enterprise uses a language model to build each rule once, as a small tested program with a named owner. Every business line and every country installs it from one catalogue, with local rules as parameters. At run time it is plain code, with zero model calls.

The LLM builds. Code runs.

Kestova Group is a fictional composite. Industry facts are sourced; company figures are illustrative.

1.36 billion

US de minimis shipments in fiscal 2024, before duty-free entry was suspended, CBP2

€3 per item

EU duty on parcels up to €150, per tariff classification, since 1 July 20263

$725 million

Cargo theft losses in the US and Canada in 2025, up 60%, Verisk CargoNet14

2.9 million

Truck driver jobs unfilled across 18 markets in 2025, IRU15

Meet the group

Kestova Group: six businesses, 40 countries, one acquisition still settling in

Kestova is a fictional logistics group built from what large real ones look like. Each business line runs its own systems and its own change backlog. The shared functions sit across all of them, and so does every rule that changes. All figures below are illustrative.

Parcel & Express22 countries
58 sort hubs3.8m parcels a daysort control · track-and-trace · parcel billing
Air & Ocean Forwarding38 countries
410,000 TEU a yearairfreight consolidationsforwarding TMS · booking portals
Contract Logistics19 countries
140 warehousese-commerce fulfilmentWMS, three generations
Road Freight16 countries
2,100 own trucks6,000 subcontracted hauliersroad TMS · telematics
Customs Brokerage31 countries
licensed brokersentries for all linesa customs system per country
Last Mile14 metro areas
vans, bikes, lockersroute planning · proof of delivery
Rutalia, acquired 2026Mexico · Colombia · Peru
last mile in 9 citiesits own dispatch app · its own billing

Shared functions

  • Network planning
  • Pricing
  • Finance and billing
  • HR, 148,000 people
  • Procurement
  • Fleet
  • Legal and trade compliance
  • Cyber
PartnersAirlines, ocean carriers, rail operators and thousands of subcontracted hauliers and couriers.
AuthoritiesCustoms and tax authorities in 40 countries, each with its own filings, formats and deadlines.
CustomersMarketplaces, manufacturers and retailers. Larkmere runs its cross-border online orders through Kestova warehouses in nine countries.

The night route map · eight beats

One duty rule, built once, travelling with every shipment

Seen as a route map across the time zones, with the columns shaded by the local hour, so somewhere it is always the night shift. Hubs carry a ring for each business line they run. Press play, step through the beats, click a hub, a data sphere or a capsule tag, or highlight one business line.

Click a hub, a data sphere, the Forge or an amber capsule tag on the map to see what it holds. The lists on the left do the same with a keyboard.

From the customs desk to the finance office

What's hurting logistics groups right now

Ten pressures going into 2027, across trade rules, billing, capacity, carbon, security, people and the customer's front door. For each one, what Compile-Once would build, and where a model or a person has to stay.

CustomsLow-value parcels lost their exemptions

The US suspended duty-free de minimis entry for all countries on 29 August 2025, after more than 1.36 billion such shipments in fiscal 2024.1,2 The EU's temporary €3 duty applies from 1 July 2026 to parcels up to €150, one charge per tariff classification, until its customs data hub takes over.3,4

With Compile-Once: one low-value-duty capsule on trade.v7, with an EU-27 and a US parameter set that trade compliance owns. Classifying a vague description stays with a licensed broker, helped by a model routed on purpose.

CustomsAdvance cargo data before arrival

The EU's Import Control System 2 reached road and rail carriers from 1 April 2025, with deployment windows ending 1 September 2025 in most member states.5 A missing field now stops goods before they reach the border.

With Compile-Once: ens-completeness checks every entry summary declaration against declarations.v9 before departure, the same code for parcel, air, road and rail.

BillingDetention, demurrage and disputed accessorials

Detention cost US for-hire trucking $11.5 billion in lost productivity and $3.6 billion in direct costs in 2023. Drivers were held at 39.3% of stops, and fewer than half of detention invoices got paid.6 In US ocean trade, the FMC's billing rule has set what a demurrage or detention invoice must contain since 28 May 2024.7

With Compile-Once: free-time-clock and accessorial-validator, composed into the invoice-dispute constellation, and dnd-invoice-fields on US ocean invoices. A controller approves credits above a set limit.

FinanceE-invoicing mandates, country by country

Belgium made domestic B2B e-invoicing mandatory on 1 January 2026.8 Poland's KSeF became mandatory for large taxpayers on 1 February 2026 and for most others on 1 April 2026.9 The EU's VAT in the Digital Age package brings digital reporting for cross-border B2B supplies from 1 July 2030.10

With Compile-Once: einvoice-format-check on finance.v4, with one parameter set per country. A new mandate is a new parameter file with its tests, not a new project in each business line.

CapacityRates and routes that keep moving

UNCTAD's Review of Maritime Transport 2025 reports Suez Canal tonnage still around 70% below the 2023 average in early May 2025, with ships rerouted round the Cape of Good Hope, and calls freight rate volatility the new normal.11

With Compile-Once: contract-rate-lookup and surcharge rules as versioned parameters, so a new surcharge reaches every quote and invoice the same day. Forecasting rates is open-ended work; that stays with models and people.

CarbonEmissions you now have to pay for and prove

Shipping companies surrendered EU ETS allowances for 40% of 2024 emissions and 70% of 2025 emissions, rising to 100% from 2027.12 CountEmissionsEU, Regulation (EU) 2026/1030, sets ISO 14083 as the common method for anyone publishing transport emissions, with most provisions applying from 2 December 2030.13

With Compile-Once: co2e-per-shipment on emissions.v2 uses one method for every line, and ets-allowance-estimate feeds ocean pricing.

SecurityCargo theft moved to high-value loads

Verisk CargoNet estimates US and Canadian cargo theft losses at about $725 million in 2025, up 60%, with the average theft rising to $273,990.14

With Compile-Once: carrier-onboarding-check before a load is tendered and high-value-load-watch on unscheduled stops. Investigations and police contact stay with security teams.

PeopleNot enough drivers

IRU's 2025 survey finds around 2.9 million truck driver positions unfilled across 18 markets, 11% of the workforce, and 13% in Europe.15

With Compile-Once: driver-hours-check applies each country's working-time rules as parameters for own and subcontracted drivers. Recruiting and keeping drivers is people's work; no capsule fixes it.

ComplianceSanctions screening on every booking

OFAC's November 2024 guidance for the maritime industry walks through common evasion schemes and red flags in trade documents.16 BIS guidance reminds freight forwarders that export compliance is their responsibility too.17

With Compile-Once: denied-party-screen runs on every booking in every line, with the result logged. A potential match always goes to a compliance officer.

CustomersThe last mile is most of the cost

BCG puts the last mile at 50% to 60% of total parcel delivery cost.18 Every failed attempt and every "where is my parcel?" call adds to it.

With Compile-Once: address-quality, reattempt-rules and customer-notice run on every parcel. Writing a careful reply to an upset customer stays with a model routed on purpose, and a person.

13 spheres · 24 capsules · 3 constellations

Kestova on Compile-Once

Group spheres hold what every business shares. Line spheres hold what one business knows best. Each is reached only through its versioned contract; the source systems stay where they are. Contract ids and owners are illustrative.

Group spheres

Shared by all six business lines and by Rutalia from week three.

Customercustomer.v6Accounts, contacts, notice preferences · Group Commercial
Ratesrates.v5Contract rates, surcharges, SLAs · Group Pricing
Financefinance.v4Invoices, credits, tax formats · Group Finance
Peoplepeople.v3Roles, licences, working time · Group HR
Carrierscarrier.v4Subcontractors, vetting, insurance · Procurement
Tradetrade.v7Tariffs, duty rules, sanctions lists · Trade Compliance
Emissionsemissions.v2Fuel, distance, ISO 14083 factors · Sustainability

Line spheres

Owned by one business line, readable by others only through the contract.

Parcel networkparcel.v5Scans, sort events, addresses
Forwardingforwarding.v4Bookings, bills of lading, milestones
Warehousewarehouse.v6Stock, locations, client orders
Road loadsroad.v3Loads, stops, telematics
Declarationsdeclarations.v9Entries, holds, filings
Last-mile stopslastmile.v2Routes, attempts, proof of delivery

24 capsules, grouped by who uses them

The amber badge counts the business lines that install the capsule from the Exchange. Kinds: lookup, rules check, calculation, match, monitor, extraction.

1 · A shipment held at customs

Air freight from Shanghai held on arrival in Los Angeles.

  1. hold-reason-reader reads the hold notice · declarations.v9 (a small local model reads the scan, declared and tested)
  2. low-value-duty, US set, recalculates duty · trade.v7
  3. denied-party-screen rescreens all parties · trade.v7
  4. A licensed customs broker signs the amended entry
  5. customer-notice sends the new ETA · customer.v6
  6. sla-adjust applies the contract's hold clause · rates.v5
  7. load-rebook moves the onward truck to Chicago · road.v3

2 · One invoice dispute

An $18,420 ocean and road invoice, Shanghai to Milan via Rotterdam.

  1. duplicate-invoice-match · finance.v4
  2. contract-rate-lookup finds the contracted rate · rates.v5
  3. free-time-clock rebuilds the container's days from milestones · forwarding.v4
  4. accessorial-validator checks each surcharge against the contract · rates.v5
  5. einvoice-format-check builds the credit note in the Italian format · finance.v4
  6. A finance controller approves any credit above $1,000

3 · Onboarding Rutalia

The acquired last-mile company in Mexico, Colombia and Peru.

  1. Weeks 1–2: Rutalia's dispatch and billing data mapped to lastmile.v2, customer.v6, people.v3, finance.v4
  2. Weeks 3–4: data flows through the contracts; nothing is copied
  3. Week 5: address-quality, pod-check, reattempt-rules, customer-notice installed
  4. Week 6: driver-hours-check and einvoice-format-check with MX, CO and PE parameter sets; co2e-per-shipment live
  5. Rutalia's operations lead approves each local parameter set

The people side

Who owns what once code runs the routine

The work moves from building the same rule six times to owning contracts, rules and the catalogue. Some of these titles are still settling across the industry.

Sphere contract owners

One named owner per sphere, such as the Head of Trade Compliance for trade.v7. A contract change is a controlled event that regenerates and retests every bound capsule.

Rule parameter owners

Trade, tax and HR specialists in each region own the parameter files: the EU-27 duty set, the Polish invoice format, Mexico's driver rules. They change values; the Forge reruns the tests.

Forge governance board

Decides what may be forged, reviews approvals that touch money or compliance, and keeps model use at build time only.

Exchange curators

Keep the catalogue honest: merge near-duplicates, retire capsules nobody uses, and show every line what already exists before anyone raises a ticket.

Forward deployed engineers

Engineers who sit with a hub, a country team or an acquired company and turn its real requests into Forge requests. They led Rutalia's first six weeks.

People at decision points

Licensed customs brokers, finance controllers and compliance officers keep their signatures. Constellations bring them the evidence and record what they decided.

Edges, honestly

Where code alone isn't enough in logistics

Compile-Once moves repeatable work into tested code. These are the places a logistics group should plan for from day one.

  1. Tariff classification is judgement

    "Parts" or "gift" on a commercial invoice can't be classified by a rule. A model can suggest a heading and a licensed broker decides. The duty capsule only runs once the classification is known.

  2. Trade rules can change in weeks

    The US suspension was signed on 30 July 2025 and took effect on 29 August.1 Parameter owners need the authority and the tooling to change a rule set the same day, with tests, and keep the old version for rollback and audit.

  3. Partner data is only as good as the scan

    Thousands of subcontracted hauliers and couriers feed the parcel and road spheres. A contract can set quality rules and flag gaps; it cannot invent a missing scan.

  4. Driver and location data are personal

    Monitoring capsules touch working time and location. In many countries works councils or unions must be consulted first, and people.v3 has to carry those access rules before anything goes live.

  5. Some documents need perception

    Scanned hold notices, bills of lading and proof-of-delivery photos need a small local model inside the capsule. It must be declared in the manifest, versioned and tested like the code around it.

For CEOs, COOs, CIOs, CFOs and trade compliance leaders

Planning 2027 at logistics-group scale? Let's map your first Data Sphere.

Start with one business line, one sphere and one rule that every line keeps rebuilding. In eight weeks you will know whether it works for you.

Talk to Muthukumar on LinkedIn
  1. Weeks 1–2
    One line, one sphere, one contractFor example Customs Brokerage in one country and the trade sphere, with named owners and access rules.
  2. Weeks 3–6
    Forge 10 to 20 capsulesDuty, screening, declaration completeness and holds, each with tests and an owner.
  3. Week 7
    One reuse across linesParcel or Forwarding installs a capsule from the Exchange with its own parameters.
  4. Week 8
    MeasureRuntime cost, latency, change backlog and audit readiness, against today.

An illustrative pilot shape. No prices, no promised results.

Sources

Behind every figure, rule and date

Industry facts only. Kestova Group, Rutalia and all of their figures are illustrative.

  1. The White House, "Fact Sheet: President Donald J. Trump Is Protecting the United States' National Security and Economy by Suspending the De Minimis Exemption for Commercial Shipments Globally", July 2025. whitehouse.gov
  2. U.S. Customs and Border Protection, "CBP Proposes New Rule to Strengthen Enforcement and Limit Duty Exemption for Low-Value Shipments", 17 January 2025. cbp.gov
  3. European Commission, "Ensuring fairness and safety: €3 customs duty on low-value parcels", 29 June 2026. commission.europa.eu
  4. European Commission, Taxation and Customs Union, "Guidance and legal text: temporary flat fee on low-value imports, which will apply until 1 July 2028", 8 June 2026. taxation-customs.ec.europa.eu
  5. European Commission, "EU Import Control System 2 (ICS2) extends to rail and road transportation from April 2025", 3 February 2025; and FIATA, "ICS2 Release 3 goes live on 1 September 2025". taxation-customs.ec.europa.eu · fiata.org
  6. American Transportation Research Institute, "New Research Documents Substantial Financial and Safety Impacts from Truck Driver Detention", September 2024. truckingresearch.org
  7. Federal Maritime Commission, "FMC Publishes Final Rule on Detention and Demurrage Billing Practices", 2024; effective 28 May 2024. fmc.gov
  8. European Commission, Digital Building Blocks, "eInvoicing in Belgium". ec.europa.eu
  9. EY, "Poland signs into law mandatory national e-invoicing system", September 2025. ey.com
  10. European Commission, Taxation and Customs Union, "Adoption of the VAT in the Digital Age package", 11 March 2025. taxation-customs.ec.europa.eu
  11. UNCTAD, "Review of Maritime Transport 2025: Overview", September 2025. unctad.org
  12. European Commission, Climate Action, "FAQ: Maritime transport in EU Emissions Trading System (ETS)". climate.ec.europa.eu
  13. Regulation (EU) 2026/1030 on the accounting of greenhouse gas emissions of transport services (CountEmissionsEU), EUR-Lex. eur-lex.europa.eu
  14. Verisk, "Cargo theft losses surge to estimated $725 million in 2025, Verisk CargoNet analysis reveals", January 2026. verisk.com
  15. IRU, "Global Driver Shortage Report 2025", June 2026; figures as reported by DC Velocity, "IRU report finds global truck driver shortage". iru.org · dcvelocity.com
  16. Venable LLP, "OFAC Issues Sanctions Compliance Guidance and Scenarios for U.S. and International Maritime Industry", November 2024. venable.com
  17. Bureau of Industry and Security, "Freight Forwarder Guidance and Best Practices". bis.gov
  18. Boston Consulting Group, "How Cost Intelligence Is Reshaping Parcel Logistics", 3 February 2026. bcg.com