What SAP accounts payable automation covers
SAP accounts payable automation, or SAP AP automation, removes the manual work between a supplier invoice arriving and its payment: capture, matching against the purchase order and goods receipt in MIRO, non-PO posting in FB60, approval, the F110 payment run and open-item reporting. SAP's tolerances and payment program stay in control; automation feeds them checked data.
- PostNow.ai automates the steps around SAP's own AP transactions. Document AI reads PDF invoices and posts a reviewed invoice through
BAPI_INCOMINGINVOICE_CREATE1(MIRO) orBAPI_ACC_DOCUMENT_POST(FB60); the Excel add-in posts invoices that already exist as data, with Validate, Simulate and a document number per row; approval policies hold a run until a named approver signs off; AP reports bring open items, aging and payments into Excel. - Matching and payment stay SAP's job. Tolerance checks, payment blocks, MRBR release and the F110 run work exactly as configured; the automation decides what reaches them, and how clean it is.
This guide covers the whole payables chain. The steps that have their own guides are linked where they come up: reading invoices in SAP invoice OCR, tolerances and 3-way match in SAP invoice matching, and bulk posting in MIRO mass invoice posting and FB60 mass upload.
How PostNow.ai automates accounts payable in SAP
PostNow.ai automates SAP accounts payable through three parts that share one SAP connection: Document AI for invoices that arrive as PDFs, the Excel add-in for invoices that already exist as data, and the Report Library for what happens after posting. Each part posts or reads through SAP's standard interfaces, so SAP's own checks apply to every invoice.
| Part of PostNow.ai | Which invoices | What it does | How it reaches SAP |
|---|---|---|---|
| Document AI (licensed module of the PostNow.ai portal) | Supplier invoices as PDF, scans included, uploaded or sent through its API | Operations workspace: extracts header, lines and tax with a confidence per field, flags exact and near-duplicates, pre-checks PO invoices against the PO and goods receipt, routes approvals. Posting screen: review, simulate in SAP, post | BAPI_INCOMINGINVOICE_CREATE1 for PO invoices (MIRO), BAPI_ACC_DOCUMENT_POST for non-PO invoices (FB60) |
| Excel add-in, posting | Invoices that exist as rows: recurring utilities and services, intercompany charges, exports from another system | Free templates for FB60, FB65, MIRO and MIR7; Validate in Excel, Simulate in SAP, Run with the document number or SAP's message on every row | BAPI_ACC_DOCUMENT_POST or a recorded FB60; BAPI_INCOMINGINVOICE_CREATE for MIRO; BAPI_INCOMINGINVOICE_PARK for MIR7 |
| Approval policies (portal) | Any template a policy names | Hold the run until a named approver accepts that exact data; the submitter cannot approve their own request | The run posts only after approval, through the template's own route |
| Report Library (Excel add-in) | Everything already in SAP | AP open items and aging, vendor documents, payment history, parked and held documents, blocked invoices, GR/IR | Read-only, under the user's own SAP authorisations |
The two posting routes meet in SAP, not in PostNow.ai: an invoice read by Document AI and a row posted from Excel both end up as an ordinary MIRO or FB60 document, paid by the same F110 run and listed by the same reports. Document AI and its operations workspace are described stage by stage in SAP intelligent document processing.
The accounts payable process in SAP, step by step
PostNow.ai has a route for every step of the accounts payable process in SAP, by posting, approving or reporting, while the match and the payment run remain SAP's own processing. The end-to-end flow is the same in SAP ECC and S/4HANA: an invoice is received, entered or parked, matched if it has a PO, approved, posted, paid and reconciled.
| AP step | SAP transaction | What automation changes | PostNow.ai route |
|---|---|---|---|
| 1. Receive and capture | Paper or PDF keyed in MIRO or FB60; EDI as IDoc; e-invoices through SAP Document and Reporting Compliance | The fields are read from the document instead of keyed; duplicates are caught before posting | Document AI for PDFs; the Excel add-in for invoices that exist as data |
| 2. Park or hold | MIR7 (PO invoice), FV60 (non-PO invoice); Hold in MIRO | An invoice someone must look at is saved without posting, so it cannot be paid yet | MIR7 template through BAPI_INCOMINGINVOICE_PARK |
| 3. Match a PO invoice | MIRO: price and quantity checked against the PO and goods receipt, within tolerance keys set in OMR6 | Variances are seen before posting instead of after | Document AI pre-checks the PO and goods receipt; Simulate returns SAP's own variance messages; the match itself is SAP's (invoice matching) |
| 4. Post a non-PO invoice | FB60, credit memos FB65 | The vendor line, G/L lines and tax are complete before SAP sees them | Document AI (vendor coding rules) or the FB60 and FB65 templates (FB60 mass upload) |
| 5. Approve | Release of parked invoices by workflow; flexible workflow in S/4HANA; approval outside SAP | The approver sees the data that will post, and the approval is recorded | Document AI approval matrix; approval policies on Excel templates |
| 6. Release blocked invoices | MRBR | Blocked invoices are listed and released once the variance is cleared | Blocked Invoices report in Excel; release stays in MRBR |
| 7. Pay | F110 automatic payment program: parameters, proposal, payment run, payment medium (SAP Help) | The proposal is reviewed against a clean open-item list | AP Open Items + Aging before the run, Vendor Payment History after it |
| 8. Reconcile and report | Vendor line items (FBL1N), GR/IR clearing, aging | Lists come out of SAP already in Excel, refreshed on demand | Report Library AP and GR/IR reports |
Two transactions decide most of the work: MIRO for every invoice that refers to a purchase order, FB60 for everything else. Posting a PO invoice in FB60 leaves the PO open for invoicing and the GR/IR account uncleared, so the routing decision in step 1 matters more than any single field. The step-by-step comparison is in MIRO mass invoice posting.
SAP AP automation integration: BAPI, IDoc and APIs
PostNow.ai integrates with SAP through BAPIs called over RFC, and its Excel add-in can also replay a recorded FB60: two of the four standard inbound routes an AP automation tool can use to integrate with SAP. The route decides which checks SAP runs and what the tool has to do itself, so ask any AP vendor which one it uses.
| Route into SAP | How the invoice arrives | Typical use | What to know |
|---|---|---|---|
| BAPI over RFC (PostNow.ai) | BAPI_INCOMINGINVOICE_CREATE1 or BAPI_INCOMINGINVOICE_CREATE for PO invoices, BAPI_ACC_DOCUMENT_POST for non-PO invoices; a commit after a clean result | Capture and upload tools that post from outside SAP | SAP returns its messages per call, and a test call can be rolled back. The duplicate invoice check does not run on this route (see below) |
| IDoc | Message type INVOIC, process code INVL for Logistics Invoice Verification, one IDoc per invoice (SAP Help) | EDI from suppliers and e-invoicing networks | An invoice with variances is saved for background verification; one that cannot post gets an IDoc error status for manual processing |
| OData API (S/4HANA) | API_SUPPLIERINVOICE_PROCESS_SRV creates supplier invoices from external systems (SAP KBA 3439469) | Cloud capture services and integration platforms | Same matching rules as MIRO, including GR-based invoice verification |
| Batch input recording (PostNow.ai, FB60) | One FB60 invoice recorded in SHDB, then the screens replayed for every invoice | FI postings where the screens must be replayed exactly as a clerk keys them | MIRO does not support batch input (SAP Note 381593), so PO invoices need a BAPI, IDoc or API |
One SAP behaviour applies to every interface route. SAP's duplicate invoice check compares the supplier's invoice reference with earlier invoices (message M8 108 in MIRO, F5 117 in FI), but KBA 1859210 describes that logistics invoice verification does not check duplicates for invoices from BAPI, EDI or API, and KBA 2389365 describes that F5 117 is not raised for BAPI_ACC_DOCUMENT_POST. An AP automation tool therefore needs its own duplicate check before posting. PostNow.ai Document AI runs one on intake and after extraction; on the Excel route, the AP Vendor Document Detail 360 report pulls posted references into the same workbook for a pre-check.
Invoice capture: OCR and e-invoices
PostNow.ai Document AI captures invoices that arrive as a page: an AI model reads the whole PDF and returns the header, every line and the tax lines, each field with a confidence score, and fields below 0.85 are flagged for the reviewer. Reading is only half of capture. A printed supplier name has to become a vendor number, "19%" has to become a tax code, and the lines have to add up to the net amount before SAP will post. How each invoice field lands in the MIRO and FB60 BAPIs is in SAP invoice OCR.
Invoices that arrive as data need no reading. A structured e-invoice such as XRechnung is XML, and ZUGFeRD or Factur-X embed the XML in the PDF. In S/4HANA, incoming e-invoices can be received through SAP Document and Reporting Compliance and processed as eDocuments, with coverage that differs by country (SAP Help). Whichever way an invoice arrives, the duplicate check and the vendor and tax code mapping still apply.
Matching, parked and blocked invoices: where AP stalls
PostNow.ai's Report Library lists the invoices that are stuck: Parked / Held Documents 360 for FI documents waiting to be completed, Invoice Receipts (MIRO) 360 with the invoice status and blocking information per document, and Blocked Invoices for logistics invoices held with payment or manual blocks. Those lists matter because an invoice can be stuck in three different states, and each one is cleared differently:
| State | Posted? | How it gets there | How it is cleared |
|---|---|---|---|
| Held | No; nothing passed to Financial Accounting | Hold in MIRO saves the current state with minimal checks | Completed and posted, or parked, from the MIRO worklist |
| Parked | No; no liability in the vendor account yet | MIR7 or Park in MIRO for PO invoices, FV60 for non-PO invoices | Completed, approved if a release workflow applies, then posted |
| Blocked for payment | Yes; the liability is booked and F110 skips it | A price or quantity variance above the tolerance limits sets payment block R on the vendor line, or someone sets a manual block | The variance is resolved, then the invoice is released in MRBR |
SAP's own learning material describes the difference between Hold and Park: a held invoice keeps only the current state with minimal checks, while a parked invoice creates an MM invoice document with status Parked and updates the purchase order history (SAP Learning). A blocked invoice is the opposite case: it has already posted, and the block only stops payment (SAP Help: blocking invoices). Tolerance keys, blocking reasons and MRBR release are covered in depth in SAP invoice matching.
Parking is the tool for invoices someone must see before they post: a missing PO reference, a price the buyer has not confirmed, or a policy that every invoice above a threshold is approved first. With PostNow.ai, the MIR7 template parks a batch of PO invoices through BAPI_INCOMINGINVOICE_PARK, so AP can load them from a file and still keep the review step in SAP.
Approvals and controls before an invoice posts
PostNow.ai ties approval to the data that will post, in both of its posting routes. In SAP itself, approval is configuration: release of parked invoices by workflow in ECC, and in S/4HANA a flexible workflow for supplier invoices saved as complete, approved in the My Inbox app (SAP Learning). PostNow.ai adds approval in front of SAP, where the data is prepared:
- Document AI approval matrix. In the operations workspace, invoices route through approval rules with SLA dates; the default rule asks one admin approval within 24 hours. Someone who edited an invoice's fields cannot be its only approver.
- Approval policies on Excel templates. A designer or admin names the template and one to twenty approvers. When a policy covers the template, the run waits until an approver accepts that exact set of rows in the portal's review grid. The approval matches a fingerprint of the data, so a change after approval needs a new one, and the submitter cannot approve their own request.
- Roles. Designers build and publish templates; operators run them and cannot change the mapping. In Document AI, admins and designers maintain the posting settings and operators cannot change them.
- Simulate before posting. On both routes, Simulate lets SAP check the invoice and returns SAP's messages without posting: a BAPI call followed by
BAPI_TRANSACTION_ROLLBACK, or, on a recorded FB60, the transaction's own Simulate function instead of Save. Tax code, posting period and balance errors surface before anything posts. - Audit. Every run's outcome per document (transaction, template, SAP system, client, user, result and document number) is recorded in the portal's central audit; Document AI keeps a hash-chained event log per invoice.
The payment run (F110) and AP reporting
PostNow.ai brings the lists around the F110 payment run into Excel, and the run itself stays in SAP. F110 selects due open items by the parameters you enter (company codes, payment methods, next payment date, vendor range), builds a proposal you can review and edit, then runs the payments and creates the payment medium. In S/4HANA the same program is also offered as the Manage Automatic Payments app. An invoice blocked for payment is not paid until it is released, so the blocked list belongs in the pre-run check.
| When | PostNow.ai report | What it answers |
|---|---|---|
| Before the F110 run | AP Open Items + Aging | What is open per vendor, with baseline date, payment terms, amount and payment block, for aging by key date |
| Before the run | Blocked Invoices | Which logistics invoices are held with a payment or manual block, and why |
| Before posting a batch | AP Vendor Document Detail 360 | Every vendor document with its reference, the source for a duplicate pre-check |
| After the run | Vendor Payment History | Cleared vendor items with clearing document and date, for days-to-pay analysis |
| Month-end | GR/IR Reconciliation, Parked / Held Documents 360 | Goods received but not invoiced (and the reverse) per PO item; documents still waiting to post |
Reports run read-only under the user's own SAP authorisations. Operators run the library's reports; designers build new queries with the SAP Query builder or AI Query Pilot. The Report Library also holds Withholding Tax Items and Foreign-Currency Open Items (Vendor) for AP teams that need them.
Worked example: one AP month-end in company code 1010
PostNow.ai handles three kinds of invoice in the same month-end for company code 1010, and each goes the route that fits it:
- PDF invoices with a PO. A supplier sends invoice
RE-2026-04417against PO4500001934: five lines, net 1,055.00 EUR, VAT 19% 200.45, gross 1,255.45 EUR. Document AI reads it, the reviewer confirms one flagged unit price, and Simulate in SAP returns warningM8 082(price too high) on line 3, which bills 12.60 EUR against a PO price of 12.00. The invoice posts as MIRO document5105602011and, because the variance exceeds the tolerance limit, SAP blocks it for payment (M8 082 is a warning in this system, so the invoice posts with a block instead of being rejected). - Recurring non-PO invoices from an export. 38 utilities and services invoices come from a facilities system as rows. AP fills the FB60 template, Validate marks one posting date in the wrong format, Simulate shows that one row uses a tax code not valid for 1010, and both are fixed in the sheet. The controller approves the batch under an approval policy; Run writes 38 document numbers beside the rows.
- Invoices waiting for a buyer. Six PO invoices with prices the buyer has not confirmed go through the MIR7 template and stay parked, so they cannot be paid until someone completes them in SAP.
- Before F110. AP refreshes AP Open Items + Aging and Blocked Invoices.
5105602011appears with its payment block; the buyer confirms the new price, the PO is updated and the invoice is released in MRBR. The F110 proposal then contains the 38 FB60 invoices due, plus the released MIRO invoice if it is due. - After F110. Vendor Payment History shows the clearing documents and dates, and the six parked invoices are still listed in Invoice Receipts (MIRO) 360 with status Parked for the next cycle.
Nothing in this month-end bypasses SAP: the variance block, the release, the payment proposal and the clearing are all SAP's own processing. What changed is that no invoice was keyed by hand, and every exception was visible in Excel before the payment run.
SAP AP automation in ECC vs S/4HANA
PostNow.ai uses the same templates, Document AI settings and reports on SAP ECC and S/4HANA, because the AP process and its posting interfaces carry over. What changes is around them:
| Topic | SAP ECC | SAP S/4HANA |
|---|---|---|
| PostNow.ai | The templates, BAPIs, Document AI settings and reports described above | The same ones; Document AI's vendor search reads LFA1, which S/4HANA keeps filled from the business partner |
| Vendor master | Vendor maintained in XK01/FK01 | Supplier maintained as a business partner in transaction BP, supplier role; payment terms and the duplicate-check flag sit there |
| Invoice entry and posting | MIRO, MIR7, FB60, FV60, MRBR, F110 | The same transactions, plus Fiori apps such as Manage Automatic Payments for the payment run |
| Where the posting lands | FI document tables BKPF and BSEG, open items in BSIK | The Universal Journal (ACDOCA); BSIK and BSAK remain readable as compatibility views, so AP reports keep working |
| Interfaces | BAPIs, IDoc INVOIC, batch input for FI | The same, plus the OData API API_SUPPLIERINVOICE_PROCESS_SRV |
| Approval in SAP | Release of parked documents by workflow | Flexible workflow for supplier invoices, approved in My Inbox |
Re-test the configuration, not just the file, when you move AP automation to S/4HANA: tolerance limits, duplicate-check settings, tax codes and payment methods are company-code configuration and can change in a conversion.
What to look for in AP automation for SAP
PostNow.ai is built around the checks this list asks for, and the same list works for comparing any AP automation solution for SAP ERP. Each feature is here because SAP behaves in a specific way that the tool has to handle:
| Feature to ask for | Why it matters in SAP | How PostNow.ai does it |
|---|---|---|
| PO and non-PO routing | A PO invoice posted in FB60 leaves GR/IR uncleared and the PO open | Document AI routes by the PO number on the invoice; the Excel route uses separate MIRO and FB60 templates |
| Duplicate check before posting | SAP's duplicate check does not run on BAPI and interface postings (KBAs 1859210, 2389365) | Exact and near-duplicate flags in Document AI; vendor document report for Excel batches |
| Line-level data for MIRO | MIRO posts per PO item, with quantity and amount per line | Every line extracted with quantity, amount and PO item |
| Tax code mapping | SAP needs a tax code valid for the company code, not a printed rate | A rate-to-tax-code table in Document AI; allowed values in the Excel template |
| A test run against SAP | Period, tax and balance errors only show in SAP | Simulate on both routes: SAP checks every invoice, and the BAPI call is rolled back |
| Approval tied to the data | An approval that does not match what posts is not a control | Fingerprint-matched approval policies; approval matrix in Document AI |
| Result per invoice | A batch that half-posts has to be finished, not restarted | Document number or SAP's message per row; Retry Failed re-posts only the errors, and a new Run offers to skip rows that already carry a document number |
| Exception and payment lists | Parked and blocked invoices miss the payment run | AP Open Items + Aging, Blocked Invoices, Parked / Held Documents 360 |
| Login and data handling | Postings must carry the user's own SAP authorisations | Own SAP login on the user's computer; AI Review gets field structure and SAP messages, not cell values, by default |
SAP's own AP automation options
PostNow.ai runs alongside your SAP system and posts through its BAPIs; SAP and its partners also offer AP automation of their own. The ones most often named in an evaluation:
- SAP Invoice Management by OpenText. An add-on to SAP ERP 6.0 and SAP S/4HANA that automates the processing of incoming invoices; OpenText calls it Vendor Invoice Management for SAP Solutions, which is where the abbreviation VIM comes from (SAP Help).
- SAP Document AI. SAP Document Information Extraction, part of SAP Document AI on SAP Business Technology Platform, extracts data from business documents such as invoices (SAP Learning).
- SAP Ariba Invoicing. Suppliers submit invoices on SAP Business Network, online or from their own systems, and the invoices are validated against the buyer's invoicing rules before they reach the buyer (SAP).
The questions in the table above apply to each of them: which route posts into SAP, where duplicates are checked, how approval is tied to the data, and how exceptions reach the payment run.

