Manufacturing & Automotiveemailapibatch

Supplier invoice three-way match

Invoice, PO and goods receipt matched in SAP automatically; only out-of-tolerance lines reach a buyer.

In short

Supplier invoice three-way match is an agent scenario in the Manufacturing & Automotive sector running on the email, api, batch channels. Trigger: A supplier invoice PDF arrives in the ap@ mailbox. The Invoice Supervisor coordinates 3 specialist agents (Capture Agent, Matching Agent, Posting Agent) across 3 systems (SAP S/4HANA, Exchange / M365 Mail, Tolerance Policy Vector Store); of 10 steps, 1 write to systems and 2 are checks or approvals. Outcome: Invoice posted in SAP, payment block lifted, deviation reason in the audit trail. Approval rule: Price deviation > 2% or > 1,000 TL → buyer approval.

Manufacturing & Automotive

Supplier invoice three-way match

SUPERVISORAGENTSSYSTEMSInvoice Supervisorplan · route · approveCapture Agentaginies-konrul-1on-premMatching Agentaginies-tulpar-4on-premPosting Agentaginies-talay-2on-premSAP S/4HANAExchange / M365 MailTolerance Policy VectorStore
run #41,288,796elapsed 0 mstokens 0est. cost $0.000status —Approval rule: Price deviation > 2% or > 1,000 TL → buyer approval
Agents in this run
Invoice Supervisorsupervisorplans, routes, approves
Capture Agentaginies-konrul-1 · on-premExtracts invoice fields with OCR
Matching Agentaginies-tulpar-4 · on-premCompares against PO and goods receipt, applies tolerances
Posting Agentaginies-talay-2 · on-premPosts or parks the invoice in SAP
Audit trail00:00.00
  1. ■completed 

Simulation · derived from real agent definitions · every agent can be built by dialogue with the Autonomous Agent and validated with a test corpus

Trigger

A supplier invoice PDF arrives in the ap@ mailbox

Outcome

Invoice posted in SAP, payment block lifted, deviation reason in the audit trail

Agents

SUPERVISOR

Invoice Supervisor

Decomposes the objective, delegates to agents, manages approval points, merges the result.

aginies-konrul-1 · on-prem

Capture Agent

Extracts invoice fields with OCR

ocr_documentextract_invoice_fields
aginies-tulpar-4 · on-prem

Matching Agent

Compares against PO and goods receipt, applies tolerances

get_purchase_orderget_goods_receiptsearch_tolerance_policyapply_tolerance_rules
aginies-talay-2 · on-prem

Posting Agent

Posts or parks the invoice in SAP

post_invoicepark_invoicesend_email

Steps

#KindAgentWhat happensSystemmstok
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 —

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.

Book a 30-minute discovery session → dahi@aginies.com
  1. Your 2–3 priority problems
  2. Live demo of a similar scenario
  3. Roadmap starting with value analysis