Nestack Agent Care
Industries / Transportation / Freight audit agent

Transportation AI agent · Freight audit

Freight Audit, Pay & Dispute AI Agent

Audit invoices against the contract, the tariff and the documents, evidence each finding, and leave the dispute and any deduction to a named analyst who checks the contract first.

4–6 weeksTypical delivery
Your stackDeployment
Evidence-firstAnalyst signs
Agent CareAfter launch

What this agent does

Finds the discrepancy, never takes the money

In
01

Ingest invoices, rate confirmations, contracts and accessorial schedules from supported sources.

02

Normalise charge codes and units, and carry each charge forward with the document it was billed from.

Reason
03

Compare the billed charge against the rate on the confirmation, the contract and the governing tariff.

04

Separate the audit finding, which is analysis, from the dispute, which is an act with a deadline on it.

05

Read an ocean demurrage or detention invoice against the elements the FMC billing rule requires, one at a time.

Decide
06

Track the contest window, which runs from receipt of the bill and binds the shipper and the carrier alike.

07

Route the finding, with the documents behind it, to the analyst who decides whether anything is paid or contested.

Out
08

Retain the finding, the documents, the analyst's decision and the correspondence against the invoice.

09

Execute write actions only inside the approval boundaries agreed during implementation.

Product statement

The agent finds and evidences; a named analyst decides whether money moves, and a deduction is checked against the contract before it is taken.

Example workflow

One invoice, receipt to decision

AgentHuman
1Invoice receivedCarrier invoice, ocean demurrage bill, detention bill or accessorial charge
2Authority gatheredThe rate confirmation, the contract, the governing tariff and the documents the charge relies on
3Finding preparedCharge, authority, variance and confidence
4Controls appliedRate and tariff checks, invoice-element checks, contest-window checks and the confidence threshold
No human action required

Stages 1 to 4 run unaided and move no money — the finding is prepared, and the analyst's lane opens at the confidence gate.

5DecisionBranches at the confidence threshold
High confidence

Goes to the named analyst to decide.

Low confidence

Adds an audit-desk read first.

Analyst decides

The finding is held with its documents, its authority and the confidence.

Dispute · Accept · Send to the audit desk
Decided — disputed or accepted
6Payables records updatedOnly where write access and approval policy allow it
7Outcome evaluatedRecovery outcomes, carrier responses, reversed findings and contests prepared late
Overrides

Every analyst reversal is counted in the evaluation.

What should not run autonomously

Human approval stays in control

Outside the boundary — human approval required8 items
Deducting or short-paying any part of an invoice.
Deciding who the proper billed party is here.
Releasing payment or approving an invoice to pay.
Issuing a written notice of disallowance to a carrier.
Automation boundaryAgent acts unaided
Compare billed charges against the contract and.
Carry each charge forward with the document it was billed from.
Check a demurrage invoice against its required elements.
Flag the windows in play and hold the finding for the analyst.
Any write happens inside the boundaries agreed at implementation, never ahead of the analyst.
Waiving, settling or writing off a disputed charge.
Reading a contract clause as advice on your rights.
Committing the company in writing to a carrier.
Changes to audit rules, thresholds or approval limits.

Example output

One charge line, annotated

Everything the agent finds is attached to the document it was read from.

Audit output · single invoiceIllustrative example
Invoice
Charge line
Billed amount
Authority read
Confidence
Status
Ocean demurrage
Demurrage billed past the free time stated on the invoice
$2,340.00
Service contract on file
91%
Finding raised, not deducted
As receivedTaken from the carrier's invoice and the service contract on file — nothing on this side is inferred by the agent.
Authority used Service contract rate Free-time terms on the bill Container availability record
Why it stops hereA finding is analysis, not a right to withhold and a person still decides.
ActionDisputeAcceptSend to the audit desk
What the score decidesBelow the configured threshold the finding picks up an audit-desk read before it.

Value

Where AI adds value

The same four claims, placed at the point in the workflow where each one applies.

Where the value landsValue 01 – 04
Every invoiceFrom the payables feed or the TMS
03Audit

Test the charge against its authority

Draw on the rate confirmation, the contract, the governing tariff and the documents on file.

01Approved path

Find it, and evidence it

Routine invoices come back matched, with the authority attached.

02Human review

Pass the rest to the desk

Variances, missing invoice elements and low-confidence findings are marked, so the analyst's read starts where money concentrates.

04Build an evidence trail

The discrepancy, the documents behind it and the analyst who released it stay with the invoice.

Integrations

Typical integrations

Five system groups connect to the same agent. Which of them are in scope is decided in discovery.

Freight audit and payCass · Trax
nVision Global · enVista
TMS and ratingMcLeod · MercuryGate
Oracle OTM · e2open · Blue Yonder
Payables and ERPSAP · Oracle · NetSuite
Coupa · Workday

Agent

Freight audit, pay and dispute

Reads the invoice
Evidences the finding
Holds for an analyst

Documents and EDIEDI 210 · rate confirmations
Document management
Observability & evaluationOpenTelemetry · Langfuse
Supported monitoring/evaluation sources

Integration availability depends on the client's existing systems and API access.

Agent controls

Six layers between the model and the payment

The layers nest. What each one misses is named in the map below.

L6 · Outermost — last line of defenceInward → L1 · closest to the model
L6Rollback / safe modeRevert the agent to reporting-only when evaluation or production signals degrade.Roll back
L5Version monitoringTrack model, prompt, audit-rule and tariff-configuration changes.Track
L4TraceabilityRecord the invoice, the authority read, the finding, the documents and the decision.Record
L3Analyst approvalHold findings for a named analyst; it governs whether money moves, not whether the finding is right.Gate
L2Policy guardrailsTest findings against the configured contract, tariff and invoice-element rules; a failure returns the finding.Restrict
L1Confidence thresholdsRoute low-confidence findings to an audit-desk read before the analyst sees them.Require review
Model coreFinding produced — charge, authority, variance and confidence
L1 – L2Test whether a finding may stand
L3Puts the money in an analyst's hands
L4 – L5Keep the discrepancy and the documents behind it
L6Reverts to reporting-only when signals degrade

How Nestack evaluates it

Evaluate the audit workflow — not only the closing variance.

Coverage runs the whole depth of the workflow, and every layer is cut by slice.

Surface — the finding the carrier sees
Depth of coverage ▼
E1Final-output evaluationDid the finding hold against the authority it was tested on?
E2Step-level evaluationDid the agent read the right contract, tariff and accessorial schedule?
E3Tool evaluationDid it read and write the correct invoice and the correct charge line?
E4Confidence calibrationDo low-confidence findings actually attract more analyst reversals?
E5Slice evaluationHow does performance change across specific charge types?
E6Business outcomeHow many findings were reversed, or contested and then dropped?
Floor — the outcome the payables team answers for

Failure modes

Where each failure originates in the agent

Seven ways an audit goes wrong, at the stage it starts.

Agent lifecycleDirection of processing →
01 · Retrieval1 mode
BB-03

Superseded rate document

Charge tested against an expired contract or tariff.

Stage gathersInvoice, rate confirmation, contract, tariff and documents
02 · Reasoning2 modes
BB-04

Authority misread

The wrong schedule is treated as governing the charge.

BB-06

Finding read as entitlement

Analysis is presented as a right to withhold money.

Stage proposesCharge, authority, variance and confidence
03 · Tool / write2 modes
BB-02

Contest window missed

A contest is raised after the right to contest has run.

BB-05

Duplicate finding

One charge is raised twice across two invoices.

Stage writesOnly where write access and approval policy allow it
04 · Output1 mode
BB-01

Evidence not attached

A finding leaves without the document behind it.

Stage returnsThe finding the analyst reads and the carrier sees
05 · Change / Version1 mode
BB-07

Silent rule regression

A model or rule change widens what the agent will call a discrepancy.

Stage tracksModel, prompt, audit rules and tariff config
Sev-1 · money moves outside the boundary Sev-2 · a wrong finding reaches the carrier Sev-3 · source degrades, finding routes to review

Affected slices

Overall recovery can hide one charge type

Ocean demurrage is the slice that hides. Aggregate recovery reads steady while that cohort absorbs most of the reversed findings. Nestack reports the reversal rate by charge type, not only in total.

Slice performance — reported separately, not only in aggregateIllustrative example
SliceFailure rateLift Lift vs. thresholdStatus
Ocean demurrage invoices8.3%3.7× Review
Accessorial and detention5.0%2.2× Review
Reweigh and reclass charges3.6%1.6× Watch
Contracted lane invoices2.0%0.9× Normal
Bar: reversed-finding-rate lift vs. contracted-lane baseline · scale 0–4.0× · tick marks the 2.0× review threshold 2 of 4 slices over threshold

Evidence-linked improvement

The loop closes on a test, not a credit

A cycle is done when the miss has become a test the next release has to survive. That suite is what the next invoice audited is measured against.

Improvement cycle · five stagesSwitchback — the path turns at Improve and returns at Learn
01Detect

Reversed findings rise in one charge type.

02Diagnose

The analyst who reversed it walks the invoice, the authority and the documents back until one cause is left.

03Improve

Version-stamp the change and attach the invoices that exposed it.

04Verify

The affected cases run again, and a fail stops the release.

05Learn

It becomes a standing test, and the audit rules change with it.

Learn → DetectThe return edge. The next audit cycle is measured against a suite one case longer.

Typical build scope

Twelve workstreams across six weeks

The build scope read against the delivery timeline. Week structure follows the six-week plan — discovery, sources, audit workflow, evaluation, integration, then production validation and handover.

Workstream Week 1Week 2Week 3Week 4Week 5Week 6
01Freight audit workflow discovery and boundary definition.
02TMS, payables and EDI source assessment.
03Contract, rules-tariff and accessorial-schedule mapping.
04Invoice ingestion and charge normalisation.
05Authority matching and variance logic.
06Confidence scoring and finding routing.
07Analyst decision workflow.
08Payables and TMS integration.
09Evidence and window cases.
10Guardrails and payment controls.
11Invoice-trail instrumentation.
12Deployment, documentation and Agent Care handover.
12 workstreams · 6 weeks · bar shows the weeks a workstream is active — several run in parallel Final scope and sequence confirmed in discovery

Engagement tiers

What each tier includes

Rows are the capabilities named in each tier's scope. Higher tiers include everything below them.

Capability✓ in scope · — not at this tier PilotOne carrier, one entity ProductionProduction payables systems AdvancedMultiple entities / modes
Introduced at Pilot
Auditing to your contracts and tariffs
Analyst approval
Audit-quality baseline
Introduced at Production
Reporting by charge type
Decision workflow in your systems
Approved write-back
Payables-system integration
Introduced at Advanced
Multi-carrier contract and tariff rules
Multi-stage payables approvals
High invoice volume
Multi-entity audit controls
Build price From $5,000 From $8,000 Custom quote
Final build priceConfirmed after discovery based on integrations, workflow complexity, transaction volume, approval controls and deployment requirements.
Separate from buildBuild pricing is separate from recurring Agent Care, which covers managed monitoring, evaluations, incidents and verified improvements after launch.

What we need from you

What you bring, and what we build with it

Each input maps to a piece of build scope and a week in the delivery timeline.

You bringWe build with it
01Your carrier contracts, rate confirmations and rules tariffs Contract, rules-tariff and accessorial-schedule mappingWeek 1
02Representative paid and disputed invoices Audit baseline, charge normalisation and authority matchingWeek 2
03Your accessorial, fuel and demurrage schedules Audit-rule mapping and automation-boundary definitionWeek 1
04Access to relevant APIs, feeds or exports TMS, payables and EDI assessment, then integration setupWeek 2
05Deductions you would not want taken Window cases and failure-mode testingWeek 4
06What must reach an analyst before money moves Confidence scoring, finding routing, guardrails and approval controlsWeek 3
07Named analysts to decide on findings Analyst decision workflow, then pilot and production validationWeeks 5–6
Nothing else is required Deployment, documentation and Agent Care handover are ours.

Delivery timeline

Four phases across six weeks

Phases are drawn over the weeks they actually occupy, which is why week 5 doubles up rather than padding.

Phase W1W2W3W4W5W6
Discovery W1
Build W2 – W3
Evaluate W4 – W5
Pilot & Launch W5 – W6
Week focus W1Freight audit workflow discovery, rule mapping and the automation boundary W2Source integration and the audit baseline W3Audit workflow, confidence logic and approval controls W4Evaluation suite, window checks and failure-mode testing W5Payables integration, pilot invoices and targeted corrections W6One billing cycle audited under the payables team, then handover
Reading the bandEach bar covers only the weeks its work is named in. The week 5 overlap is real work, not padding.
At the end of W6The last checks clear on live invoices and monitoring moves to Agent Care.
DurationSix-week plan shown · typical delivery 4–6 weeks depending on scope confirmed in discovery.

Next step · Transportation AI agent

Build a freight audit agent around your payables chain.

Bring your carrier contracts, your rules tariffs and a month of paid invoices. We'll map the audit workflow, set the automation boundary and name what stays with the analyst.

Nestack Agents · Freight audit, pay and disputeAGT-TR-13 · Agent Care available after launch