Supplier invoice three-way match
Invoice, PO and goods receipt matched in SAP automatically; only out-of-tolerance lines reach a buyer.
Supplier invoice three-way match
- Invoice PDF from Demir Metal A.Ş. received in the ap@ mailbox
- OCR: invoice DM-2026-4471 · 184,320 TL · 3 lines · PO 4500123877 referenced
- Plan: PO → goods receipt → tolerance check → post or park
- PO 4500123877 pulled: 3 lines, 180,000 TL, vendor 100428
- Goods receipt 5000871122: 3 lines, 500/500/250 units, delivered 2 Sep
- Tolerance policy: price ±2%, quantity ±0%, freight up to 3,000 TL
- Line 2 price +2.4% (> 2% tolerance) → 4,320 TL deviation flagged
- Deviation > 2% and > 1,000 TL → buyer approval requested, approved with a note
- Invoice posted (doc 5105634201), payment block lifted, due 2 Oct
- Supplier acknowledgement sent, OCR pages and buyer note added to the audit trail
Simulation · derived from real agent definitions · every agent can be built by dialogue with the Autonomous Agent and validated with a test corpus
A supplier invoice PDF arrives in the ap@ mailbox
Invoice posted in SAP, payment block lifted, deviation reason in the audit trail
Agents
Invoice Supervisor
Decomposes the objective, delegates to agents, manages approval points, merges the result.
Capture Agent
Extracts invoice fields with OCR
ocr_documentextract_invoice_fieldsMatching Agent
Compares against PO and goods receipt, applies tolerances
get_purchase_orderget_goods_receiptsearch_tolerance_policyapply_tolerance_rulesPosting Agent
Posts or parks the invoice in SAP
post_invoicepark_invoicesend_emailSteps
| # | Kind | Agent | What happens | System | ms | tok |
|---|---|---|---|---|---|---|
| 01 | ingest | Invoice Supervisor | Invoice PDF from Demir Metal A.Ş. received in the ap@ mailbox | — | 200 | — |
| 02 | reason | Capture Agent | OCR: invoice DM-2026-4471 · 184,320 TL · 3 lines · PO 4500123877 referenced | — | 880 | 720 |
| 03 | plan | Invoice Supervisor | Plan: PO → goods receipt → tolerance check → post or park | — | 280 | 190 |
| 04 | tool | Matching Agent | PO 4500123877 pulled: 3 lines, 180,000 TL, vendor 100428 | SAP S/4HANA | 430 | — |
| 05 | tool | Matching Agent | Goods receipt 5000871122: 3 lines, 500/500/250 units, delivered 2 Sep | SAP S/4HANA | 410 | — |
| 06 | retrieve | Matching Agent | Tolerance policy: price ±2%, quantity ±0%, freight up to 3,000 TL | Tolerance Policy Vector Store | 360 | 300 |
| 07 | verify | Matching Agent | Line 2 price +2.4% (> 2% tolerance) → 4,320 TL deviation flagged | — | 760 | 890 |
| 08 | approval | Invoice Supervisor | Deviation > 2% and > 1,000 TL → buyer approval requested, approved with a note | — | 2,600 | — |
| 09 | write | Posting Agent | Invoice posted (doc 5105634201), payment block lifted, due 2 Oct | SAP S/4HANA | 560 | — |
| 10 | notify | Posting Agent | Supplier acknowledgement sent, OCR pages and buyer note added to the audit trail | Exchange / M365 Mail | 240 | — |
Maintenance ticket triage
Sensor alarm and technician voice note become one work order, spare parts and a safe stop window included.
Warranty claim processing
Dealer claims validated for coverage, parts and labour in minutes; big amounts go to the regional manager.
Time to move from experimenting with AI to transforming with it.
In a 30-minute discovery session we take your 2–3 priority business problems, show a live demo of a similar scenario, and draft a roadmap that starts with the Value layer.
- Your 2–3 priority problems
- Live demo of a similar scenario
- Roadmap starting with value analysis