Accounts payable in SAP,
matched three ways

Lleverage automates accounts payable in SAP S/4HANA and ECC with an AI agent. It reads supplier invoices from the finance inbox in any layout, matches every line against the purchase order and goods receipt in SAP, and posts the invoices that agree. The rest wait for finance with all 3 documents open. Releasing a payment stays with a person.

Invalid work email
Forklift carrying a wrapped pallet past the lit loading dock of a brick warehouse at dusk

How does accounts payable automation work in SAP S/4HANA?

In SAP an AP clerk opens each invoice, looks up the purchase order and the goods receipt, and keys it into MIRO. With automated invoice processing the agent does that work in 4 steps, and SAP still runs its own tolerance checks when the invoice is posted. How this compares with other tools is in our guide to accounts payable automation software.

01

Read the invoice from the finance inbox

A PDF, a scan or a forwarded email, in any layout. The agent reads the supplier, the invoice number, the purchase order reference, the VAT and every line, with a confidence on each field, and ties the sender to the supplier record in SAP. Nobody uploads a file.

02

Find the purchase order and the goods receipt

Each line is tied to its purchase order item in SAP and to the goods receipt posted against it. A line with no goods receipt yet waits, because SAP itself blocks such an invoice unless tolerance key DW is set to allow it.

03

Check every line three ways

Price against the order price, quantity against what the warehouse received, cost centre and bank details against what SAP holds. Each check has a tolerance you set per supplier or category, on top of the price (PP) and quantity (DQ) tolerance keys SAP applies per company code.

04

Post what agrees, hand over the rest

Invoices inside your tolerances are posted in SAP against the purchase order, the same supplier invoice an AP clerk creates in MIRO, ready for the payment run. An invoice with a line outside them is not posted: it goes to the person you choose, with the difference named.

What changes for accounts payable in SAP?

Supplier invoices are matched and posted in SAP the day they arrive, so the payment run is ready on time and the ledger is current every morning. Incoming payments are applied and debtor reminders go out the same way, so your team only handles the variances and the disputes.

Learn more
Finance deskSAP S/4HANA · today
Live
EUR 547,200outstanding across 118 invoices
38 days▼ 6 days DSO
CurrentEUR 412,900
30 daysEUR 88,400
60 daysEUR 31,200
90+EUR 14,700
Just matched · INV‑20931 · Meerdink
OrderPO‑880940 pcs · EUR 12,480✓
ReceiptGR‑331740 pcs received✓
InvoiceINV‑2093140 pcs · EUR 12,480✓
Posted in SAP · ready for Friday’s payment run31 reminders sent today

One supplier invoice, matched three ways in SAP.

A supplier invoice for EUR 18,240 lands in the finance inbox. In SAP there is a purchase order and a goods receipt that should agree with it, line by line.

SAP S/4HANA · 3-way match Reconciling INV-2025-0847 Noordkamp Lagers · EUR 18,240
Comparing documents 4 of 5 reconciled
InvoiceINV-2025-0847
QTY
Steel sheet S235 2mm120
Round bar 40mm80
Welded tube 60x6060
Flange DN8050
Hex bolts M12500
TotalEUR 18,240
Purchase orderPO-4471 · SAP
ORD
Steel sheet S235 2mm120
Round bar 40mm80
Welded tube 60x6060
Flange DN8050
Hex bolts M12500
OrderedEUR 18,240
Goods receiptGR-8830 · SAP
REC
Steel sheet S235 2mm120
Round bar 40mm80
Welded tube 60x6060
Flange DN8046
Hex bolts M12500
Received09 Jun 2026
4 of 5 lines reconciled
1 exception held Parking the invoice in SAP Invoice parked in SAP
# ap-exceptions Operations · Finance
Lleverage
Invoice agent Agent 09:42
Invoice INV-2025-0847 from Noordkamp Lagers is checked. 4 of 5 lines match the purchase order and the goods receipt in SAP. The flange line is 4 units short, so I parked the invoice in SAP until you decide.
Exception · Flange DN80 EUR 1,460
Invoiced50 units
Ordered50 units
Received46 units
SK
SK
Sanne Kuipers AP controller 09:43
Thanks. I will confirm the short delivery with the warehouse, then approve.
Human in the loop

What does the agent check before an invoice is posted in SAP?

Price, quantity, cost centre and bank details are checked against the purchase order and goods receipt in SAP, each with a tolerance you set. Invoices inside it are posted on their own. Anything outside it waits in finance with all three documents open.

01Tolerances you setPrice and quantity differences it may accept, per supplier or category.
02A setting per checkOrder, receipt, cost centre and bank details, each with its own answer.
03Money always waits for a personIt books and chases. Releasing a payment is never its call.
Invoice INV‑20931 · MeerdinkYour tolerance ±1%
Linevs POWho handles it
Hinge 35 mm0.0%Agent books it
Drawer slide 450+0.6%Agent books it
Mounting plate0.0%Agent books it
Freight+3.3%AP clerk checks
Release the paymentAlways a person
Inside your tolerance: the agentOutside it: a person

SAP’s own invoice tools or Lleverage: which fits when?

SAP covers supplier invoices in 3 places: invoice verification inside S/4HANA (Create Supplier Invoice, MIRO), SAP Ariba Invoicing on SAP BTP for intake and extraction, and OpenText Vendor Invoice Management (VIM), an SAP solution extension. We read SAP Help Portal and OpenText’s product page on 5 October 2026, and every statement in the middle column comes from those pages.

SAP’s own optionsLleverage
How invoices get inIn S/4HANA Cloud Public Edition, Upload Supplier Invoices (F2452) creates one draft invoice per uploaded file and attaches the file to it. SAP Ariba Invoicing takes uploaded files and, with scope item 6JX, the invoice files from incoming emails.The agent picks invoices up from the finance inbox as they arrive, overnight and at weekends too. Nobody uploads a file.
Reading the invoiceAriba Invoicing extracts each upload with Document Information Extraction by default, and AI-Assisted Multi-Model Data Extraction, once activated, adds large language models. VIM extracts data from incoming documents through an add-on, OpenText Core Capture for SAP Solutions.Any layout and any format, read on its meaning rather than a template, scans and photographs included. Every field gets its own confidence, and below your threshold it waits instead of guessing.
The three-way matchSAP’s strength. Invoice verification in S/4HANA checks each item against the purchase order or goods receipt with tolerance keys per company code, such as PP for price and DQ for quantity, and a configuration app holds supplier-specific limits.The same three documents compared line by line, with tolerances per supplier or category, before anything reaches SAP. SAP’s own tolerance check still runs when the invoice is posted.
A line outside toleranceThe invoice is posted and blocked for payment, and a user releases it in a separate step. An invoice can also be parked in MIRO and finished later. If the invoice does not balance beyond the BD limit for small differences, it cannot be posted at all.The invoice is not posted. It waits for the person you choose with all 3 documents open and the difference named, and a correction becomes a rule once a person confirms it.
Who sees the exceptionVIM routes exceptions by role to the right specialists, in SAP Fiori apps, and gives suppliers self-service on invoice status. Without it, a blocked invoice waits until someone in SAP releases it.The request lands in Teams, Slack or the inbox of the person who owns it, routed by value, category and delegation. An approval that is ageing escalates.
Invoices without a purchase orderMIRO can post them without a purchasing document, directly to a G/L account, and tolerance key AN can check items without an order reference against an absolute amount limit.Nothing to match three ways, so the agent checks the supplier, the bank details and the cost centre, then routes the invoice to the approver your rules name.
SAP versionsMIRO and the tolerance keys are documented for S/4HANA on-premise and Cloud Public Edition. Ariba Invoicing connects to S/4HANA Cloud Public Edition, S/4HANA and SAP ERP. VIM extends RISE with SAP, S/4HANA and SAP ERP.SAP S/4HANA and SAP ECC, in the cloud or on your own servers, reached without opening them to the internet.
Set-up and priceTolerance keys are configured per company code in S/4HANA. Ariba Invoicing runs on SAP BTP and is set up as scope item 4N6, and OpenText points to its implementation partners for VIM. Prices are not described on the pages we read.Forward deployed engineers build the first flow with your finance team. One monthly price per agent, with integration included.
Fits best whenInvoices arrive in modest numbers, purchase orders and goods receipts are kept clean, and your AP team works in SAP all day anyway.Invoices arrive as PDFs and scans in every layout, variances need the warehouse or a buyer, and you want the clean ones posted without anyone opening them.

We think SAP’s own invoice verification is enough when invoices arrive clean and in modest numbers: the three-way check is already in S/4HANA and the tolerance keys do their job. We think Lleverage fits when the work you want gone is reading every layout, matching it and chasing the variances. More on three-way matching and on filling SAP’s gaps without customising it.

Our engineers set it up with you.
It takes on more of the invoice run as it learns.

Forward deployed engineers match the first invoices beside your finance team and connect the agent to SAP S/4HANA or ECC, so the run comes off the desk in the first weeks rather than at the end of a project. From there it automates gradually: every correction teaches it your suppliers, your tolerances and your cost centres, and fewer invoices need a person to look.

Invalid work email
The FDE model Forward deployed engineers, with you for the first invoices and for every run after.

They work inside your operation. They agree tolerances and cost centres with your controller, set the confidence line together, and stay on through audits and SAP upgrades. Not a licence and a manual. A team that knows your ledger.

If you preferSame agents Self-served Your own finance team builds it in Lleverage.

The finance inbox, the tolerances, the checks and the log are yours to configure. Our documentation and support sit behind your team, and an engineer is a call away whenever you want one.

Talk to us about either ↗

Frequently asked questions

Does it work with SAP S/4HANA on-premise, private cloud and ECC?

Yes. Lleverage connects to SAP S/4HANA and SAP ECC, in the cloud or on your own servers. Systems behind your firewall are reached without opening them to the internet, and the agent gets the access a person in accounts payable has, nothing more. Our engineers set up the connection with your SAP team. More on integrations.

Do we need an SAP partner to build it?

No. Our forward deployed engineers build the first invoice flow with your finance team on your real invoices, and connect it with your SAP team. Nothing is migrated or customised inside SAP: turn the agent off and SAP is exactly as it was the day before. The first process typically runs supervised within a few weeks.

How does it compare with SAP Invoice Management by OpenText (VIM)?

VIM runs inside SAP as an SAP solution extension, with role-based workflows, Fiori apps and capture as a separate add-on, and OpenText points to its implementation partners for it (opentext.com, read 5 October 2026). We think it suits a large AP team that works in SAP all day. Lleverage works from the finance inbox and posts into SAP.

What happens to invoices without a purchase order?

There is nothing to match three ways, so the agent checks what it can: the supplier, the bank details and the cost centre. The invoice then goes to the approver your rules name, by value and category, in Teams, Slack or the inbox. In SAP itself, tolerance key AN puts an amount limit on such items.

Can the agent release invoices that SAP has blocked for payment?

No. Releasing a payment is never its call. SAP blocks an invoice for payment when a variance exceeds an upper tolerance limit, and a user releases it in a separate step (SAP Help Portal, read 5 October 2026). The agent prepares that decision: it gathers the order, the goods receipt and the difference, so the controller decides in one look.

Where is our invoice data hosted?

Lleverage is EU hosted by default and GDPR compliant, with on-prem where you need it. SAP stays the system of record: nothing is copied into a second database, and every action is logged with what the agent read, what it decided and why, against the SAP document it touched. More on control and audit trails.

The rest of the back office.

Give your back office an AI workforce.