Skip to content
Tutorials Center
My learning

Topics

Lesson 15 of 36 ยท Finance: FI/CO

SAP Accounts Payable and Receivable (FI-AP, FI-AR): Invoices, Payments, Dunning

Learn SAP accounts payable and receivable: vendor and customer master data, invoices and credit memos, open items and clearing, payment terms, the F110 payment run, dunning and aging.

Accounts payable (AP) tracks what the company owes its vendors. Accounts receivable (AR) tracks what customers owe the company. Both are subledgers of the general ledger: each business partner has its own account with open items, and the totals flow automatically into reconciliation accounts of the G/L (see the general ledger). This lesson covers master data, daily postings, the payment run and dunning.

Master data

A vendor or customer master has three levels:

  1. General data (client level): name, address, tax numbers, bank data.
  2. Company code data: reconciliation account, payment terms, payment methods, dunning procedure, withholding tax.
  3. Purchasing / sales area data: purchasing organization data for vendors; sales area data for customers.

In S/4HANA both are maintained as business partners with roles (BP), with the finance role holding the company code data; in ECC use XK01/FK01 and XD01/FD01.

The reconciliation account is crucial: it decides which G/L account receives the posting when you book an invoice to the partner. Postings to the vendor account debit or credit the vendor and automatically post the opposite side on the reconciliation account.

Open items and clearing

Both AP and AR work with open item management: each invoice stays open until it is cleared by a payment or credit memo. When a payment is matched to an invoice, SAP clears them: both receive a clearing document number and disappear from the open items list. Partial payments create a residual item.

Concept AP AR
Invoice FB60 (or from MM MIRO) FB70 (or from SD billing)
Credit memo FB65 FB75
Open items FBL1N FBL5N
Payment posting F-53 (outgoing) F-28 (incoming)
Document type KR / KZ DR / DZ

Posting an invoice

In FB60 (vendor invoice) you enter: vendor, invoice date, reference (the vendor's invoice number), amount, tax code, payment terms and the expense lines. The posting is:

Account Debit Credit
Expense (for example office supplies) 1,000
Input tax 190
Vendor (reconciliation account) 1,190

The reference is checked for duplicates: SAP warns if the same vendor, amount and reference exist already, which prevents double payment. A customer invoice mirrors it: debit customer, credit revenue and output tax.

Payment terms

Payment terms describe when and how to pay: for example "2% in 10 days, net 30 days" means a 2% cash discount if paid within 10 days, otherwise the full amount is due after 30 days. The terms are stored in the master and copied into each invoice; the baseline date (usually the invoice date) starts the clock.

Python Stand-in: payment terms and cash discount

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The automatic payment program (F110)

Instead of paying invoices one by one, accounts payable uses the payment run in transaction F110:

  1. Parameters: run date, identification, posting date, payment methods (bank transfer, check), company codes, and the range of vendors.
  2. Proposal: SAP selects open items that are due by the next payment run date (considering discounts), checks blocks, and builds payments, including house bank selection and payment method.
  3. Edit proposal: remove or block items, change the payment method.
  4. Payment run: SAP posts the payment documents (debit vendor, credit bank clearing) and clears the invoices.
  5. Payment medium: generate bank files (SEPA payment file in Europe) and printouts such as payment advice.

Blocks (a payment block key on an invoice or the vendor master) keep items out of the proposal until released.

Python Stand-in: a payment run proposal

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Dunning and aging in AR

On the receivables side, dunning (F150) reminds customers whose invoices are overdue. A dunning procedure defines levels (for example level 1 after 7 days overdue, level 2 after 21 days, level 3 after 35 days), the letters to send and fees. Items can be blocked from dunning if the customer disputes them.

An aging report (an "open items list sorted by due date") groups open amounts into buckets such as current, 1-30 days overdue, 31-60 and so on. It is the main tool of the credit and collections team, and the credit management feature uses open items to enforce limits (see order to cash).

Python Stand-in: AR aging buckets

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Other AP/AR features

  • Down payments and special G/L transactions (bills of exchange, guarantees) are posted with special G/L indicators and shown on separate reconciliation accounts.
  • Withholding tax and tax codes for VAT.
  • Foreign currency valuation of open items at period end.
  • Automatic clearing (F.13) for items that net to zero.
  • Bank reconciliation with electronic bank statements (FF_5) that clear customer items automatically.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What does the reconciliation account do?

    It ensures the subledger totals equal the G/L.
  2. 2. What does '2% in 10 days, net 30' mean?

    It is a cash discount of 2% within 10 days; otherwise net after 30.
  3. 3. Which transaction runs the automatic vendor payment?

    F110 is the payment run; F150 is dunning.
  4. 4. What happens when a payment is matched to an invoice?

    Clearing removes items from the open items list and links them.

Summary

  • AP and AR are subledgers linked to the G/L by reconciliation accounts.
  • Open item management keeps invoices open until payment clears them.
  • F110 runs the automatic payment program; F150 sends dunning letters.
  • Payment terms define discounts and due dates; aging reports bucket overdue items.

Next: Asset accounting