﻿# How an AI accounts payable worker explains three-way match exceptions

Build an invoice review worker that traces purchase orders, receipts and invoices at the line level and sends unresolved differences to the right owner.

Author: Retrivium team
Updated: 2026-11-08
Canonical URL: https://retrivium.ai/journal/startup-worker-invoice-three-way-discrepancy/
Language: en

A three-way match agent earns its keep when it tells an accounts payable team exactly why an invoice needs attention. An AI-first startup can build the first product around exception preparation for a single procurement system. Let the accounting system apply the actual policy while the worker finds the records and explains the gaps.

## Match the order, invoice and receipt

Dynamics 365 documents checking invoice price against the purchase order and invoice quantity against receipts for three-way matching. Oracle also describes three-way matching with receipt information in its approval level guide. Preserve each source line, document version and unit of measure. Read actual tolerance and matching settings for the buying entity instead of inventing a rule. [Dynamics 365 invoice matching](https://learn.microsoft.com/en-us/dynamics365/finance/accounts-payable/accounts-payable-invoice-matching) · [Oracle procurement match approval levels](https://docs.oracle.com/en/cloud/saas/procurement/26a/oapro/match-approval-level-options.html).

## Distinguish a partial delivery from a price issue

Say the purchase order is for 120 units, the invoice bills 120 and the warehouse has received 80. The packet shows a missing receipt for 40 even if the unit price agrees. If a receipt uses cases and the invoice uses items, obtain the approved conversion rather than silently comparing the two numbers.

## Assign ownership by discrepancy type

The buyer can address a price change or missing purchase order amendment. The warehouse owner can verify a physical receipt or late posting. The accounting owner can review handling of taxes or freight under the local configuration. Provide one action per recipient with a source reference and a shared case ID.

## Re-run the match when a record changes

A new receipt or an amended purchase order can clear part of an exception. Re-read the current lines and show which part remains unresolved before an operator approves anything. Preserve the previous comparison as historical context. Keep posting and payment separate from review. A corrected packet can be sent without changing the ledger.

## Track recovery and duplicate risk

Measure reviewer time, correctly assigned exceptions, missing evidence and duplicate invoices detected. Include cases kept on hold and cases cleared after a late receipt. Sample variations across vendors and units of measure. The pilot should show that the worker can explain each accepted or unresolved line from the records available at the time.

## Related reading

- [Prove completion by reopening the integrated artifact](/journal/frontier-swarm-artifact-completion-proof/)
- [GPU inference pilot: what to check before an operating agreement](/journal/pilot-checklist/)
