1. Home
  2. SAP automation
  3. SAP AP automation

SAP AP automation: S/4HANA matches each invoice; a product outside the ERP reads it

In SAP, accounts payable (AP) automation comes in two parts. S/4HANA checks each supplier invoice against the purchase order and goods receipt, and blocks it for payment when the gap is too big. Reading the invoice takes a product outside the ERP, such as SAP Concur Invoice, SAP Ariba Invoicing or SAP Document AI.

Checked 19 November 2026

S/4HANA matches each supplier invoice to the PO and receipt

SAP Learning calls the three-way match the standard way to post purchases in S/4HANA. The three steps are the purchase order, the goods receipt and the invoice receipt. When the invoice posts, S/4HANA also creates a finance document. It debits the goods receipt and invoice receipt (GR/IR) account and credits the supplier’s account.

Here is how the invoice gets in and gets checked:

  • Entry by hand. SAP names two routes: the Create Supplier Invoice app, or transaction MIRO, which also runs as an advanced version of that app.
  • Copied from the PO. Once you enter the purchase order, S/4HANA copies the invoicing party, the currency and the payment terms, if the PO has them.
  • The check. Simulate or Post compares each invoice line’s quantity and amount with the PO line.
  • The block. SAP’s S/4HANA Cloud Public Edition lessons say a gap beyond the set tolerance blocks the invoice for payment on its own. Tolerance keys include PP for price and DQ for quantity above the goods receipt. The Release Blocked Invoices (MRBR) app removes the block.

SAP’s S/4HANA Cloud Public Edition retail lesson describes three more routes that cut the typing. Invoices can arrive by EDI through SOAP services. With evaluated receipt settlement (ERS), the retailer and supplier agree that no invoice is sent. S/4HANA builds one from the goods receipt and the PO prices, and pays that. And with MIRA, a clerk enters the invoice header and S/4HANA checks the invoice later, in the background.

Hold, park or save as complete: what each status does

S/4HANA gives an unfinished invoice three states. They differ in what reaches finance.

Scroll the table sideways to see every column.

Status What SAP Learning says happens
Hold Only minimal checks. Nothing goes to finance, and the PO history does not change
Park A parked finance document is created and the PO history is updated. If set for the supplier, S/4HANA checks for duplicate invoices
Save as complete The invoice must be postable: a zero balance, or a gap inside the tolerances

Invoices without a PO, and where FB60 fits

S/4HANA proposes no invoice lines for an invoice with no PO, because it cannot find PO items or goods receipts. In MIRO and its advanced app, direct posting to G/L, material and asset accounts must first be switched on in Customizing.

FB60 is the Enter Vendor Invoice transaction. SAP’s course mentions it because MIRO’s G/L account tab uses the same item layouts as FB60.

Where the money lands differs too. Each supplier has its own account. The totals roll up to a payables reconciliation account in the General Ledger, which takes no direct postings. SAP’s payables course says that when no PO exists, the items need no place on the balance sheet, so the net amount is posted as an expense. The Accounts Payable Overview app shows the main payables KPIs in one place.

Three SAP products outside the ERP read invoices

The S/4HANA lessons we read cover entry by hand, EDI and ERS. For reading the PDF itself, three SAP products outside the ERP are documented on the pages we read.

SAP Concur Invoice

SAP Concur says Concur Invoice combines invoice capture, OCR data extraction, approval workflows, purchase order matching and spend views. OCR means reading text from an image. Suppliers can send invoices by email, PDF, EDI or paper, and all land in one system. Invoices are matched against purchase orders and receipts, and gaps are flagged. SAP Concur says it integrates with ERP systems such as SAP and Oracle NetSuite. The page does not say which SAP ERPs.

SAP Ariba Invoicing

SAP says Ariba Invoicing reads invoices from images, email or PDFs with its own AI OCR, and that no separate OCR product is needed. Other features SAP lists:

  • Non-PO invoices. AI that learns from invoice history picks the accounts.
  • Line matching. It matches lines on description, price, unit of measure and part numbers.
  • Exceptions. Business rules send each problem invoice to the right team.
  • Approvals. It supports series, parallel and multilevel approvals.

SAP lists the ERPs it works with: S/4HANA Cloud Public and Private Edition, S/4HANA from 2022 support pack 1, and ECC from enhancement package 8. Third-party ERPs will come in future releases, SAP says. Business One is not on the list.

SAP’s Ariba Network adds routes for suppliers. Invoices sent through it appear as drafts in S/4HANA’s Supplier Invoices List app. Suppliers can turn a PO into an invoice with PO Flip. Paper invoices can go to an SAP Ariba scan center.

SAP Document AI

SAP Document AI runs on SAP BTP, SAP’s cloud platform. SAP’s Architecture Center says it mixes OCR, extraction models and large language models. SAP ships more than 30 schemas for different documents, and you can build your own.

Each field it reads gets a confidence score from 0 to 100 percent. Documents with all fields above the set threshold, typically 90% for key fields, go ahead on their own. The rest wait for a person. In SAP’s reference architecture, a service you build, such as a CAP application or an Integration Suite flow, looks up the PO and goods receipt in S/4HANA and runs the three-way match. Matched invoices go on to posting. Mismatches go to accounts payable.

What Joule and machine learning do after the invoice is in

  • Joule, in S/4HANA Cloud Public Edition. SAP’s procurement AI lesson, set up for that edition, says Joule can release an invoice blocked for payment, given its number and fiscal year. It can also cancel supplier invoices. The user needs the SAP_BR_AP_ACCOUNTANT role or the matching catalog.
  • GR/IR clearing. Machine learning suggests next steps for unmatched GR/IR items. On premise, it needs a separate subscription license.

SAP also links two customer stories. FRoSTA AG automated paper, PDF and Excel invoices with SAP Build. Mota-Engil sped up invoice clearance with a procure-to-pay agent built on SAP BTP, SAP Business Data Cloud and Joule. Those are SAP’s own accounts, not our measurements.

A short Business One purchase needs only the A/P invoice

Business One’s purchasing runs from purchase order to goods receipt PO, then A/P invoice, then outgoing payment. In a short purchase, the A/P invoice is the only document you must enter.

Two rules matter for automation.

  1. An A/P invoice that does not point to a goods receipt PO adds to inventory. If the goods were already received, stock counts twice. SAP says to check for a prior goods receipt first.
  2. The allocation cost account checks whether goods receipt POs and A/P invoices match.

In the Service Layer, SAP’s web API for Business One, the A/P invoice is the PurchaseInvoices entity. SAP calls it a request for payment that also records the cost in the profit and loss statement. An approval step only starts if the approval template is active and lists A/P invoices among its targets. Then the invoice is held as a draft.

Business One’s Web client AI answers only from data a user supplies, SAP says. We searched every SAP page in our SAP fact base, and the SAP pages saved for this page and its sibling SAP pages, on 18 and 19 November 2026, for a Business One feature that reads invoices. We found none.

An AP agent fits Business One first

An agent can read each emailed bill, find the open purchase order and goods receipt PO, and save a draft A/P invoice through the Service Layer. Linking the goods receipt keeps stock from counting twice. A person approves the draft.

On S/4HANA, look at SAP’s own routes first: Concur Invoice, Ariba Invoicing and Document AI. A custom agent fits where a rule of yours sits outside all three. SAP’s API catalog and its S/4HANA help pages gave our fetcher no text when we built our SAP fact base on 18 November 2026. So we name no supplier invoice API here.

Our AP automation page, under Related pages below, compares how other ERPs handle bills. How an agent signs in to SAP is on SAP AI agents.

Our team’s SAP go-lives

Our SAP go-lives span Business One, S/4HANA and ECC. Our team can run the full implementation.

Our team’s AI workflows run in ERPNext

In ERPNext, our team built AI workflows that produce bookkeeping entries, invoices, sales orders and quotations. Read about that build in our case studies. The first call is free.

Questions

What is the FB60 Tcode in SAP?

FB60 is the Enter Vendor Invoice transaction. SAP's invoice course mentions it beside MIRO: MIRO's G/L account tab uses the same item layouts as FB60. The course does not say more about FB60. For invoices with a purchase order, it uses MIRO or the Create Supplier Invoice app.

What is accounts payable in SAP?

It is what you owe your suppliers. In S/4HANA each supplier has its own account. The totals roll up to a payables reconciliation account in the General Ledger, which takes no direct postings. With a purchase order, the invoice posts to the goods receipt and invoice receipt (GR/IR) account. SAP's payables course says that with no PO, the net amount is posted as an expense.

Does SAP read invoices with OCR?

Yes, through products outside the ERP. SAP Concur Invoice and SAP Ariba Invoicing both include OCR, and SAP says Ariba Invoicing needs no other OCR product. SAP Document AI on SAP BTP pulls invoice data out with a confidence score for each field. Ariba Invoicing lists S/4HANA editions and ECC. We found no OCR for Business One in the SAP pages we saved on 18 and 19 November 2026.

Why is an invoice blocked for payment in SAP?

SAP's S/4HANA Cloud Public Edition lessons give three examples: a variance on one or more lines, a manual payment block, or a random (stochastic) block. A variance block comes when the gap from the purchase order or goods receipt passes the set tolerance. Tolerance keys include PP for price and DQ for quantity above the goods receipt. Release it with the Release Blocked Invoices (MRBR) app, or ask Joule.

What is SAP Build automation?

SAP Build is SAP's tool to automate structured, deterministic workflows and tasks, SAP says. Its page links a customer story where FRoSTA AG automated paper, PDF and Excel invoices. For reading invoices, SAP also sells Concur Invoice and Ariba Invoicing, and offers Document AI on SAP BTP.

Can an AI agent post invoices in SAP Business One?

Yes, as drafts a person approves. Business One's Service Layer, SAP's web API, has a PurchaseInvoices entity. If an active approval template targets A/P invoices, Business One keeps the new invoice as a draft until approvers act. Have the agent link each A/P invoice to its goods receipt PO. SAP says an A/P invoice without that link increases inventory.

What is SAP automation and how does it work?

In SAP AP, it means S/4HANA doing checks a clerk once did by hand. S/4HANA compares each supplier invoice with the purchase order and goods receipt, and blocks it for payment when the gap passes a tolerance. SAP's S/4HANA Cloud Public Edition retail lesson adds evaluated receipt settlement, where S/4HANA builds the invoice from the goods receipt and PO prices. SAP Build runs rule-based workflows on top.

Sources

Every source behind a figure or a vendor fact on this page, with the day we read it.

Bring your SAP invoice queue to a first call

Tell us which SAP product you run, how supplier invoices reach you, and roughly how many come in each week. The first call is free.

Book an SAP AP call