Quick answer

How do you measure freight detention automation economics?

Add ELD, telematics or geofence events, TMS and accounting tools, document processing, models, notifications, retries, human review, disputes, implementation, support, and correction cost. Attribute that loaded cost to eligible stops, identified detention events, supported claims, approved charges, collected dollars, customers, facilities, and loads.

Cost per identified event measures detection. Cost per supported claim measures billing readiness. Cost per collected accessorial dollar measures recovery. The last denominator is usually the most economically defensible.

The freight detention stop-to-cash funnel

StageRequired evidenceEconomic question
Eligible stopValid load, facility, stop type, appointment, customer, and contract routeWhich stops should enter monitoring?
Arrival and departure observedApproved geofence, ELD, telematics, check-in, document, or manual sourceIs the dwell clock trustworthy?
Candidate detention eventDwell exceeds the configured preliminary thresholdHow many stops require rule evaluation?
Supported claimApplicable terms, free time, notice, evidence, exclusions, responsible party, and calculation passHow many events are ready to submit or bill?
Approved accessorialAuthorized counterparty or internal approval under policyWhat amount is accepted?
Invoiced and undisputedCharge posted with required packet and dispute stateHow much enters accounts receivable cleanly?
Collected dollarVerified payment or settlement within the observation windowWhat cash was actually recovered?

Segment the funnel by carrier, broker, shipper, receiver, facility, customer, stop type, mode, lane category, contract rule, responsible party, evidence source, and reviewer. Blended recovery rates can hide weak facilities, incomplete evidence, or customer-specific concessions.

A detention event identified is not an accessorial dollar recovered

Dwell dashboards can produce a large number of alerts. That does not mean each event is contractually payable, sufficiently documented, approved, invoiced, or collected.

Observed eventWhat it provesWhat it does not prove
Geofence arrivalA device entered a configured boundaryAppointment, check-in, facility responsibility, or contract applicability
Dwell threshold exceededThe observed stop lasted beyond a configured timePayable detention or complete evidence
Claim generatedA workflow produced a charge packetAccuracy, approval, invoice acceptance, or payment
Charge approvedAn authorized party accepted an amountInvoice delivery, absence of dispute, or cash
Charge invoicedAn accounts-receivable item existsCollection or net recovery after credits
Dollar collectedThe selected payment state was reachedIncremental value unless compared with a credible baseline

Preserve every state. Rewriting a candidate directly to “paid” erases the evidence needed to diagnose leakage between detection, approval, billing, and collection.

Detention is an operational, safety, and revenue-recovery problem

FMCSA's detention research describes the effects of excess waiting time on driver earnings, operations, and safety, while noting the difficulty of separating normal loading or unloading from detention. The American Transportation Research Institute reported detention at 39.3% of surveyed stops in its 2023 data.

Current products illustrate the workflow categories. ChargeGuard focuses on timestamps, specific contract terms, and claim generation; Haulia describes automatic clocks, proactive notice, evidence, and billing; and LoadStop connects accessorial detection with document validation and invoicing. Treat product claims as diligence inputs, not proof of your recovery rate.

The complete detention-automation cost stack

  1. 01
    Stop and appointment data

    TMS records, appointment changes, facility data, manual corrections, synchronization, and data-quality monitoring.

  2. 02
    Location and time evidence

    ELD, telematics, geofences, mobile check-in, timestamps, messages, documents, and evidence reconciliation.

  3. 03
    Contract and rule processing

    Customer, broker, carrier, facility, mode, free-time, rate, rounding, notice, exclusion, and submission-window logic.

  4. 04
    Models and document tools

    Extraction, classification, matching, validation, confidence, prompt and model versions, retries, and fallbacks.

  5. 05
    Notifications and workflow actions

    Pre-threshold notices, approvals, customer or carrier communication, TMS updates, invoice creation, and accounting sync.

  6. 06
    Human review and disputes

    Evidence repair, contract interpretation, strategic exceptions, approvals, dispute response, collections, and relationship management.

  7. 07
    Errors, credits, and delayed cash

    False events, duplicate charges, wrong parties, inaccurate calculations, rejected packets, credits, write-offs, and full-invoice delays.

  8. 08
    Implementation and controls

    Integration, testing, access, security, retention, audit, monitoring, change control, support, and incident response.

For an automation vendor, attribute the cost to each customer. Event frequency, contract variation, facility data quality, document volume, dispute behavior, custom integrations, and human service can make equally priced accounts economically different.

Freight detention automation unit-economics formulas

Loaded cost per identified detention event

cost_per_identified_event = total_detection_and_validation_cost ÷ candidate_detention_events

Loaded cost per supported claim

cost_per_supported_claim = (data + rules + models + tools + review + allocated_ops) ÷ supported_claims

Cost per recovered accessorial dollar

cost_per_recovered_dollar = total_detention_program_cost ÷ collected_accessorial_dollars

Documentation completeness

documentation_completeness_rate = claims_meeting_evidence_standard ÷ candidate_claims

Approval and collection conversion

collection_conversion = collected_non_reversed_claims ÷ supported_claims

Incremental detention automation ROI

detention_automation_ROI = (incremental_collected_accessorials + validated_labor_value − program_cost − incremental_dispute_and_credit_cost) ÷ program_cost

Vendor customer margin

customer_margin = (customer_revenue − data_and_model_cost − tools − human_review − support_and_integration_allocation) ÷ customer_revenue

Use collected dollars, not generated charges, in the most conservative recovery formula. Keep billed, approved, disputed, credited, written-off, and collected amounts visible so teams can choose a less conservative view without losing the underlying funnel.

Worked example: truckload stop-to-cash automation

The following values are illustrative—not a benchmark, customer result, vendor quote, contract interpretation, accounting treatment, legal conclusion, or financial projection. They demonstrate a conservative model that credits only incremental collected accessorials.

InputIllustrative valueEconomic result
Eligible monthly stops5,000 stopsThe complete monitored cohort
Candidate detention events1,300 eventsPreliminary dwell threshold exceeded
Supported claims1,000 claims76.9% pass terms, evidence, notice, and responsible-party rules
Approved charges780 claims · $78,00078% supported-to-approved conversion
Collected within the observation window$66,30085% of approved dollars collected
Data, telematics, and integrations$3,000Stop, appointment, location, TMS, and accounting events
Models, documents, rules, and workflow tools$2,400Extraction, validation, notifications, and actions
Human review, disputes, and collections$4,200Retained operational work
Platform, support, and allocated operations$2,200Monitoring, security, implementation allocation, and support
Corrections and credits$1,200Observed error and concession cost
Total program cost$13,000$10.00 per candidate, $13.00 per supported claim, $0.20 per collected dollar
Incremental collections versus baseline$42,000Existing manual recovery is excluded
Validated billing and operations labor value$3,000Only time demonstrably reassigned or avoided
Incremental dispute and relationship cost$2,000Downside beyond normal program operations
Net observable benefit$30,000 monthlyAbout 231% illustrative ROI on program cost
Activity view1,300 events identified

Detection does not establish contract applicability, evidence, approval, invoice acceptance, or cash.

Economic view$0.20 cost per collected dollar

Uses loaded program cost and the verified payment state.

Test causality by customer, facility, contract version, evidence source, stop type, mode, responsible party, reviewer, and aging bucket. Volume, customer policy, facility behavior, freight mix, and collections performance can change results independently of the automation.

Detention economics change by operator

OperatorUseful outcomeCosts hidden by averages
Motor carrierDocumented charge collected and driver or equipment cost recoveredDriver reporting, ELD coverage, broker terms, claim follow-up, and payment timing
Freight brokerCorrect carrier-pay and shipper-bill outcome with defensible marginDifferent buy and sell terms, evidence, approvals, disputes, and relationship concessions
Third-party logistics providerRecovered or avoided accessorial by customer, facility, and modeCustomer contracts, operating partners, modes, systems, and allocation
ShipperCorrect charge paid or avoidable dwell reducedFacility responsibility, appointment data, dispute review, and operational improvement
Detention-automation vendorVerified customer outcome at positive contributionData events, documents, integrations, custom rules, human services, support, and recovery-based pricing

Design detention automation around evidence and exceptions

Workflow designBest useCost or risk to measure
Alert-onlySurface possible events for staffAlert fatigue, review time, missed submission windows, and low follow-through
Draft-and-reviewAssemble calculation and packet for approvalEvidence repair, reviewer throughput, false positives, and queue age
Straight-through billingHigh-confidence, contract-standard eventsDuplicate or wrong-party charges, credits, disputes, and relationship damage
Proactive preventionNotify before free time expires and escalate dwell riskNotification delivery, operational response, avoided-event attribution, and message cost
Recovery and collectionTrack approved charges through paymentInvoice disputes, cash delay, follow-up work, concessions, and write-offs
Hybrid confidence routingAutomate routine events and review exceptionsThreshold calibration, reviewer consistency, and retained staffing

The most profitable design is rarely “automate every event.” It is usually straight-through processing for evidence-complete, low-risk claims plus fast review for ambiguous or strategically sensitive cases.

Freight detention automation metrics worth tracking

MetricWhat it revealsDecision it supports
Eligible stops, observed arrivals and complete departuresMonitoring coverage and source qualityData integrations and denominator design
Candidate events and dwell-band distributionDetection volume without assuming payabilityThreshold and facility analysis
Terms match, evidence completeness, and notice successClaim readinessContract data, document, and messaging work
Supported, approved, disputed, credited, and collectedThe full recovery funnelWorkflow scope and ROI
Dollars generated, approved, invoiced, aged, and collectedWhere financial leakage occursBilling and collections operations
Straight-through rate, review time, and dispute effortRetained human workConfidence thresholds and staffing
Cost per event, supported claim, approved charge, and recovered dollarActivity versus outcome economicsArchitecture, vendor, and pricing comparison
Recovery and margin by customer, facility, rule, and workflowWho creates or erodes contributionContracting, rollout, and commercial plans
Latency, retries, tool failure, and unpriced usageTechnical and cost blind spotsProvider, model, and telemetry optimization

A machine-readable detention cost event without shipment or invoice content

Use internal customer, facility, workflow, stop-type, mode, contract-rule, dwell-band, evidence, review, and claim-state categories instead of shipment descriptions, precise coordinates, driver or consignee data, rate confirmations, BOLs, PODs, invoice content, or messages:

{
  "event_id": "evt_detention_7284",
  "execution_id": "stop_detention_4fd2",
  "step_id": "step_claim_validation_08",
  "parent_step_id": "step_evidence_07",
  "provider": "openai",
  "model": "document-reasoning-model",
  "operation": "validate_detention_claim",
  "input_tokens": 1940,
  "output_tokens": 214,
  "cached_input_tokens": 1120,
  "latency_ms": 548,
  "status": "success",
  "environment": "production",
  "provider_reported_cost_usd": 0.0294,
  "attributes": {
    "application": "freight-detention-automation",
    "workflow": "truckload_stop_to_cash",
    "feature": "accessorial_recovery",
    "customer_id": "broker_org_1842",
    "facility_id": "facility_group_42",
    "stop_type": "delivery",
    "mode": "truckload",
    "contract_rule_id": "detention_rule_17",
    "contract_rule_version": "v6",
    "pricing_version": "recovery_plan_v3",
    "dwell_band": "threshold_plus_60_to_120",
    "evidence_completeness": "complete",
    "claim_state": "supported_pending_approval",
    "human_review_required": false,
    "data_classification": "no_shipment_document_or_invoice_content"
  }
}

Send separate events for stop data, location evidence, contract lookup, document processing, notice, review, charge creation, invoice, dispute, credit, and payment with the same execution_id. Preserve original events and post reversals rather than mutating the ledger.

Commercial rules, evidence, and relationships are part of unit cost

This article is an economics and observability framework, not transportation, safety, contract, legal, regulatory, tax, accounting, billing, collections, or financial advice. Parties should determine applicable agreements, tariffs, regulations, evidence, notices, authorization, recordkeeping, dispute, privacy, security, and accounting treatment with qualified teams.

  • Use governing terms: do not replace customer-, broker-, carrier-, facility-, or mode-specific rules with a universal threshold.
  • Preserve source reliability: record whether an event came from ELD, geofence, check-in, document, message, or manual correction.
  • Separate parties and amounts: carrier-pay, broker-margin, shipper-bill, credit, and collection can differ.
  • Route ambiguity: conflicting timestamps, unclear responsibility, missing notice, and strategic exceptions need authorized review.
  • Minimize telemetry: cost measurement rarely needs shipment, driver, consignee, document, coordinate, invoice, or message content.
  • Price controls: evidence QA, approval, disputes, collections, security, audit, and change management belong in loaded cost.

How to implement detention cost attribution

  1. 01
    Define the recovered-dollar outcome

    Write the exact event, evidence, contractual, approval, invoice, dispute, credit, payment, and observation-window states before measuring automation.

  2. 02
    Establish a comparable baseline

    Measure the same customers, facilities, modes, stop types, terms, volumes, event frequency, documentation, approval, collection, review time, and write-offs before rollout.

  3. 03
    Create one stop-to-cash execution ID

    Join appointment, geofence or ELD, check-in, dwell, notice, contract, evidence, review, charge, invoice, dispute, credit, and payment steps under one durable identifier.

  4. 04
    Capture cost and control metadata

    Record provider cost, documents, tools, latency, rule and model versions, evidence completeness, retries, review, claim state, and outcome without copying shipment or invoice content into the cost ledger.

  5. 05
    Attach customer and commercial context

    Add the carrier, broker, 3PL, or shipper customer; facility category; stop type; contract rule; plan; pricing version; and revenue or recovery allocation at the source.

  6. 06
    Monitor recovery economics

    Alert on cost per identified event, supported claim, approved charge, recovered dollar, dispute, customer margin, collection delay, and unpriced usage.

Ganivra's AI and MCP event model links provider cost, documents, tools, retries, rules, customers, facilities, workflows, and outcomes without proxying operations or storing their content. Use the broader freight back-office economics guide for load-to-cash context, the agentic workflow guide for review and retry economics, and the Voice AI pricing guide when check calls or phone evidence enter the workflow.

Freight detention automation economics FAQ

What is freight detention automation?

Freight detention automation is a controlled workflow that detects extended dwell at a pickup or delivery facility, applies the governing free-time and rate terms, assembles required evidence, notifies the appropriate parties, creates or validates an accessorial charge, routes exceptions for review, and tracks the charge through approval, invoice, dispute, credit, and collection.

What is driver detention time?

FMCSA describes detention as extra time commercial motor vehicle operators wait at shipping or receiving facilities because of delays beyond normal loading or unloading. Commercial payment definitions vary by contract, customer, facility, mode, and workflow, so a dwell threshold alone does not prove a payable event.

How does automated detention tracking work?

A workflow combines appointment, arrival and departure evidence from approved sources; computes dwell and contractual free time; validates load, facility, party, notice, evidence, and rate rules; creates a candidate charge; and routes it to billing or review. Later events record approval, dispute, invoice, payment, reversal, and collection.

How do you calculate freight detention automation ROI?

Compare a defined stop cohort with a credible baseline. Measure loaded program cost, candidate events, supported claims, approved and invoiced charges, dollars collected within the observation window, human review, dispute cost, credits, relationship concessions, and validated labor returned. Credit only incremental collections and avoided cost.

What counts as an identified detention event?

An identified event is a stop whose validated dwell and preliminary rules exceed a configured threshold. It is a candidate, not necessarily a payable charge. The workflow should still verify appointment and facility events, applicable free time, responsible party, exclusions, notice, evidence, and contract terms.

What counts as a supported detention claim?

A supported claim satisfies the organization's written standard for governing terms, validated arrival and departure or equivalent evidence, required notices, reason or exception codes, charge calculation, documentation, submission window, and responsible bill-to party. Missing or conflicting evidence should trigger review rather than automatic billing.

What counts as an accessorial dollar recovered?

Use a verified cash or settlement state from the accounting or payment system within a defined observation window. An identified event, generated invoice, submitted claim, customer approval, or accounts-receivable balance is not yet a recovered dollar.

What data is needed to automate detention charges?

Common inputs include the load and stop, facility, appointment window, arrival and departure evidence, source reliability, governing customer or broker terms, free time, rate and rounding, notice requirements, exclusions, documents, responsible party, invoice state, disputes, credits, and payment. Exact requirements depend on the commercial agreement.

Can ELD or geofence data prove detention?

ELD, telematics, or geofence events can provide valuable arrival and departure evidence, but commercial acceptance depends on the agreement and counterparty. Data quality, geofence boundaries, device state, yard movement, appointment changes, manual corrections, and required signed documents can affect whether the evidence is sufficient.

What is the difference between detention and demurrage?

In trucking, detention generally concerns a driver's or equipment's excess waiting time at a shipper or receiver. In ocean and intermodal contexts, detention and demurrage commonly refer to distinct container and terminal timing concepts with different tariffs, free periods, clocks, responsible parties, and evidence. Do not reuse one workflow's rules for the other.

Should every detention event be invoiced automatically?

Not necessarily. High-confidence, low-risk events may qualify for straight-through billing under policy. Conflicting timestamps, missing notices, disputed responsibility, strategic-customer exceptions, unclear terms, high-value claims, or unusual facilities should route to authorized review.

How should detention disputes and credits be measured?

Track dispute reason, evidence gap, reviewer time, resolution, amount approved, amount credited, days to resolution, payment delay, and whether the event affected the full freight invoice. Preserve the original charge event and post a separate reversal or credit rather than rewriting history.

Can detention automation recover lumper, layover, and TONU charges?

The same event-and-evidence architecture can support lumper, layover, truck ordered not used, driver assist, extra stop, redelivery, and other accessorials, but each needs its own trigger, governing terms, documents, responsible party, approval path, and collection definition.

How should brokers and carriers measure detention differently?

A carrier may focus on earned charge, driver or equipment cost, claim submission, approval, and payment. A broker may need separate carrier-pay and shipper-bill rules, evidence, margin, disputes, and cash timing. The amount charged to a shipper and paid to a carrier should not be assumed identical.

How do detention-automation vendors measure customer margin?

Attribute data ingestion, geofence or telematics events, models, documents, TMS and accounting tools, notifications, human review, disputes, support, and implementation allocation to each carrier, broker, 3PL, or shipper customer. Compare that cost with subscription, usage, or recovered-dollar revenue by customer and workflow.

Which freight detention automation metrics matter most?

Track eligible stops, dwell candidates, identified events, supported claims, notices, approved charges, invoiced dollars, disputes, credits, collected dollars, collection time, documentation completeness, straight-through and review rates, cost per event and recovered dollar, incremental recovery, customer margin, and unpriced usage.

From dwell alerts to recovered revenue

Know what every collected accessorial dollar costs.

Connect data, model, document, tool, review, customer, facility, claim, and collection economics in one execution ledger—without sending shipment or invoice content.