Overview
A freight forwarders audit-and-pay process depended on analysts checking carrier invoices line by line. Charges, accessorials, and time windows were validated manually against shipment plans and port milestones, which slowed payments and fueled disputes. Intelligex implemented invoice ingestion with a rules-and-anomaly detection layer that compared billed amounts to shipment facts from Oracle Transportation Management (OTM) and port events. Finance focused on exceptions instead of rechecking every bill, dispute packages carried clear evidence, and carriers were paid on schedule with fewer back-and-forths.
Client Profile
- Industry: Freight forwarding and logistics
- Company size (range): Multi-region forwarder with ocean, air, and inland networks
- Stage: Established Transportation Management System (TMS) and carrier integrations
- Department owner: Procurement, Supply Chain & Logistics
- Other stakeholders: Carrier management, Finance/Accounts Payable, Operations control tower, Customer service, Legal and compliance, IT applications
The Challenge
Carrier bills arrived in a mix of Electronic Data Interchange (EDI), PDFs, and portal exports. Codes were inconsistent by carrier and mode, accessorials were described differently, and some invoices referenced shipment identifiers that did not match internal records. Analysts spent hours reconciling base freight, surcharges, detention/demurrage, and wait time against planned legs and actual events captured in OTM and terminal reports. Disputes relied on screenshots and email threads, and payments were held while evidence was assembled.
Replacing the TMS or renegotiating carrier formats was out of scope. The team needed to structure what they already had: pull shipment facts from OTM, capture port and terminal events, ingest carrier invoices regardless of format, and compare billed amounts to expected charges using a canonical cost model. Any differences needed to surface in a queue with clear reasons, supporting data, and a governed path to hold, approve, or dispute.
Why It Was Happening
Data and definitions were fragmented. Each carrier used its own codes for common accessorials, terminal events were reported at different granularities, and shipment references varied between bills of lading, booking numbers, and internal IDs. Without a canonical mapping and rating logic, analysts rebuilt the rules on every invoice.
Process gaps compounded the issue. There were few pre-payment controls beyond manual review, and tolerance bands differed by analyst or lane. Duplicate invoices and partial rebills were not consistently detected. Port arrival and gate times that should have validated detention claims were stored separately from the invoice review process, so validations depended on whoever remembered to look.
The Solution
Intelligex delivered an invoice ingestion and audit service that normalized carrier bills and compared them to shipment plans and actuals. The service pulled planned/actual legs from OTM and port events, ingested invoices via EDI or document capture, mapped carrier codes to a canonical charge model, and re-rated expected charges. Variances beyond defined tolerances triggered an exception workflow with links to shipment events and contract references. Finance worked exceptions; clean invoices flowed straight through to settlement.
- Integrations: Bi-directional connection to OTM for shipments, planned/actual legs, and cost baselines (for example, Oracle Transportation Management); carrier invoices via EDI aligned with X12 transportation transaction sets; document capture for PDFs with confidence thresholds and steward review; port and vessel timestamps referencing Automatic Identification System (AIS) and terminal events aligned with guidance from the International Maritime Organizations AIS; Accounts Payable system for holds and releases.
- Canonical charge model: Standardized base freight, bunker/fuel, security, documentation, chassis, pre-carriage/on-carriage, detention/demurrage, wait time, lift/handling, and accessorial categories with carrier code mappings.
- Rating and anomaly checks: Rule-driven rating by mode and lane; validations for duplicate invoices, mismatched identifiers, out-of-policy accessorials, and event-aligned detention/demurrage claims; currency and tax normalization at ingest.
- Exception workflow: Human-in-the-loop review for out-of-tolerance items, with evidence bundles linking OTM milestones, AIS/terminal events, and contract clauses; reason codes for approvals, holds, or disputes.
- Review gates: Tolerance bands by mode and charge type; required approvals for overrides and write-offs; segregation of duties between reviewers and approvers.
- Dashboards: Variance trends by carrier, lane, and charge type; dispute backlog and outcomes; duplicate/partial bill detection; on-time settlement metrics.
- Permissions and audit: Role-based access for AP analysts, carrier managers, and operations; immutable logs of mappings, validations, exceptions, and decisions.
Implementation
- Discovery: Cataloged carrier invoice formats by mode; mapped shipment identifiers and common accessorials; analyzed frequent variance reasons; inventoried OTM events and available port/terminal data by trade lane.
- Design: Defined the canonical charge model and mapping rules; set tolerance bands and reason codes; designed event schemas for invoice receipt, rating, variance detection, and dispute lifecycle; established the identity crosswalk between carrier references and internal shipment IDs.
- Build: Implemented OTM connectors; built EDI and document ingestion; configured the rating and validation engine; created the exception workflow and evidence bundling; integrated AP for pre-payment holds and releases; stood up dashboards.
- Testing/QA: Back-rated historical shipments and compared against invoices; validated detention/demurrage using AIS and terminal timestamps; ran observe-only audits while AP followed the legacy process; refined mappings and tolerances through human-in-the-loop reviews.
- Rollout: Piloted with a subset of carriers and lanes; kept legacy reviews as a fallback; enabled straight-through processing for clean bills and gated approvals for exceptions; expanded coverage as variance noise stabilized.
- Training/hand-off: Scenario-based training for AP and carrier managers; quick-reference guides on common variance types and evidence sources; runbooks for dispute submission and follow-up; transitioned daily operations to finance with IT support on call.
Results
Invoice processing shifted from universal scrutiny to exception management. Clean bills moved through without manual review, and exceptions arrived with a concise explanation and the underlying shipment and port events attached. Analysts stopped hunting for references across systems, and decisions were recorded with consistent reason codes.
Carrier relationships improved as disputes relied on shared facts rather than screenshots. Questionable detention, demurrage, or accessorials were challenged with reproducible evidence, while valid charges were paid on schedule. Operations and procurement used trend data to tighten routing guides and contract language where ambiguous charges recurred.
What Changed for the Team
- Before: Analysts rechecked every line; After: Straight-through processing handled clean invoices and analysts focused on true exceptions.
- Before: Codes and terms varied by carrier; After: A canonical charge model and mappings normalized invoices at ingest.
- Before: Detention/demurrage disputes were assembled by hand; After: Evidence bundles tied invoices to OTM milestones and port events.
- Before: Duplicate and partial bills slipped through; After: Automated checks flagged duplicates and inconsistencies before payment.
- Before: Dispute reasons lived in email; After: Reason-coded approvals, holds, and disputes were audit-logged and reportable.
Key Takeaways
- Turn carrier invoices and cost rules into datanormalize codes and apply a canonical charge model before review.
- Anchor audits in planned and actual shipment events from the TMS and terminal/AIS sources to validate time-based charges.
- Run invoice processing as an exception workflow with clear tolerance bands, not a universal recheck.
- Keep core systems in place; layer ingestion, rating, and evidence assembly to standardize outcomes without rip-and-replace.
- Start with a limited carrier and lane set in observe-only mode to tune mappings and tolerances, then scale.
FAQ
What tools did this integrate with?
The solution connected to Oracle Transportation Management for shipment plans and actuals (OTM), ingested carrier invoices via EDI aligned with X12 transportation transaction sets or through document capture, referenced port milestones and vessel times using guidance from the International Maritime Organizations AIS, and synchronized holds and releases with the Accounts Payable system.
How did you handle quality control and governance?
We enforced validated state transitions from invoice receipt to rating, variance detection, and settlement. Tolerance bands and mappings were change-controlled, and overrides or write-offs required approval with reason codes. Every decision and data change was audit-logged with user, timestamp, and context. Duplicate detection and identity crosswalks reduced misapplied payments.
How did you roll this out without disruption?
We ran the audit in observe-only mode first, back-rating shipments and comparing expected charges privately against live invoices while AP followed the legacy process. After mappings and tolerances stabilized and users trusted the results, we enabled straight-through processing for clean bills and gated approvals for exceptions, expanding by carrier and lane.
How were accessorials, detention, and demurrage validated?
Accessorials were mapped to a canonical set of categories with rule triggers tied to shipment events. Detention and demurrage were checked against terminal gate, vessel, and port timestamps and the contracted free-time rules. When events or references were missing, the system flagged lower confidence and routed the item for manual review.
What about carriers without EDI or consistent references?
Invoices from portals or PDFs were ingested through document capture with confidence thresholds; low-confidence fields triggered steward review. Identity matching used a crosswalk of bill of lading, booking, container, and internal shipment IDs. Where needed, carriers submitted a minimal set of reference fields through a secure form to improve matching without changing their core systems.
Department/Function: Finance & AccountingIT & InfrastructureProcurementSupply Chain & Logistics
Capability: Document Automation & Data Extraction
Get a FREE
Proof of Concept
& Consultation
No Cost, No Commitment!


