Agent StoreOperationsProcurement Operations
Live

Purchase Order Discrepancy Agent

OperationsProcurement Operations

Automatically matches purchase orders, receiving records, and invoices, identifying quantity, price, and terms discrepancies before payment is released.

4
Process steps
5
Integrations
3
Data inputs

Three-way matching between purchase orders, receiving documents, and invoices is often done manually by accounts payable staff, a slow process that delays payment approval and lets pricing or quantity errors slip through when volume is high

Discrepancies that are caught require back-and-forth between procurement, receiving, and the vendor to resolve, often after the invoice due date has already passed, risking late payment penalties or lost early-payment discounts

Without systematic tracking, the same vendors often generate repeat discrepancies without ever being held accountable

This agent performs automated three-way matching at line-item level the moment an invoice arrives, resolves minor discrepancies against configured tolerance rules, and routes only genuine exceptions for human review, accelerating the payment cycle while catching costly errors

The agent is triggered when a new invoice arrives via EDI, email, or vendor portal, and it uses OCR and an LLM to extract line-item details, cross-referencing them against the corresponding purchase order and receiving record in the ERP system. It applies configured tolerance rules (e.g., quantity variance under 2%, price variance under $50) to auto-approve minor discrepancies, while flagging material mismatches in price, quantity, or terms for human review with a clear explanation of the discrepancy. Approved invoices are routed to the payment queue automatically, and the agent tracks vendor-level discrepancy patterns over time to support procurement conversations.

1

Ingest and Extract Invoice Data

  • Receive invoice via EDI, email, or vendor portal
  • OCR and extract line-item detail (quantity, price, terms)
  • Match invoice to corresponding PO number
  • Pull matching receiving record from ERP
Outcome: Invoice, PO, and receiving data are assembled for comparison within minutes of invoice arrival.
2

Perform Three-Way Match

  • Compare invoice line items against PO and receiving quantities
  • Compare invoice pricing against PO contracted pricing
  • Check payment terms against vendor agreement
  • Apply configured tolerance thresholds
Outcome: Every invoice is matched line-by-line against source documents automatically.
3

Resolve or Route Discrepancies

  • Auto-approve discrepancies within tolerance
  • Generate clear explanation for out-of-tolerance mismatches
  • Route exceptions to procurement/AP for review
  • Notify vendor of disputed line items where applicable
Outcome: Only genuine discrepancies require human attention, with full context attached.
4

Track Vendor Patterns and Report

  • Log discrepancy type, frequency, and resolution by vendor
  • Calculate straight-through processing rate
  • Flag vendors with recurring discrepancy patterns
  • Publish monthly procurement accuracy report
Outcome: Procurement gets data to hold vendors accountable and improve match rates over time.
ERP/AP System
purchase order and receiving data, payment queue
EDI/Vendor Portal
invoice intake
OCR Engine
invoice line-item extraction
Procurement System
vendor contract pricing reference
BI Dashboard
vendor discrepancy pattern reporting