AI agent that processes 4,000+ freight invoices per month with 97% accuracy — replacing a 3-person manual team
A mid-sized freight forwarding company had a team of three full-time operators whose entire job was opening PDFs from carriers, extracting line-item charges, validating them against purchase orders, flagging discrepancies, and entering approved invoices into their ERP system. The PDFs came from 60+ carriers in different formats, languages (English, German, Polish, Dutch), and layouts. Every exception required a human judgement call.
We built a multi-stage AI agent pipeline: a document classification layer identifies the carrier and invoice type; a structured extraction layer (fine-tuned on their historical invoices) pulls line items, charges, and reference numbers into a validated JSON schema; a rules engine compares extracted data against PO records in their ERP; confident matches are auto-approved and written back; discrepancies above a threshold are routed to a human review queue with a pre-filled context card. The entire pipeline runs on AWS with a Slack-based review interface.