Accounts Payable
FI / FICOintermediate

Invoice Posting, Payment Terms, and Three-Way Match with Materials Management

Explains how vendor invoices are posted in FI, how payment terms drive cash discount and due date calculation, and how Logistics Invoice Verification reconciles purchase orders, goods receipts, and invoices before AP payment.

Explanation

Accounts Payable invoices rarely originate purely in FI in a mature procure-to-pay landscape. Most invoices for goods and services flow through Materials Management via Logistics Invoice Verification, which performs a three-way match against the purchase order and the goods receipt before the invoice is released for payment. Understanding this flow is essential because AP consultants are frequently asked to explain payment delays, blocked invoices, and price or quantity variances that originate outside FI but surface as AP problems. When a purchase order is created in MM, it carries agreed price and quantity. Goods receipt posts a movement that debits inventory or a GR/IR clearing account and credits the GR/IR account, valuing the receipt at PO price. When the vendor invoice arrives, Logistics Invoice Verification compares the invoice quantity and price against the PO and the goods receipt. If quantities and prices match within configured tolerances, the invoice posts automatically, debiting the GR/IR clearing account and crediting the vendor account, effectively closing the GR/IR temporary account. If there is a variance beyond tolerance, the system blocks the invoice for payment, and the amount remains open until the variance is resolved either through price correction, quantity correction, or manual release. For invoices without a PO reference, such as many service invoices or vendor invoices for expenses, AP posts directly in FI using a standard invoice transaction, entering the vendor, amount, tax code, and expense or cost object account assignment. This is a two-way relationship between AP and General Ledger only, without MM involvement. Payment terms are central to both flows. Configured as a payment terms key, they define the baseline due date calculation, any cash discount percentage and discount period, and net due date. When an invoice posts, the system calculates the baseline date usually from the invoice date or document date, then applies the payment terms to determine the discount due date and the net due date. If a payment clears within the discount period, the system automatically calculates the cash discount amount and posts it to a cash discount received account, reducing the vendor open item accordingly. This calculation happens at payment time, not at invoice posting time, because the actual discount amount depends on when payment is made. Tax handling adds further complexity. Input tax codes attached to the invoice line determine the tax rate and the corresponding tax account, and the system automatically calculates and posts input tax as a separate line during invoice posting. Special care is needed with cash discounts and tax, since some tax jurisdictions require gross-based discount calculation while others require net-based calculation, and the underlying configuration must align with the applicable tax rules for the country. Blocking mechanisms exist at multiple levels. A payment block indicator can be set manually or automatically due to price or quantity variance, ensuring the vendor is not paid until someone with appropriate authority resolves the discrepancy. AP consultants must be able to identify which block reason applies and coordinate with procurement or the requester to resolve it, since the block field itself does not diagnose the underlying issue.

Code example

ABAP Code
* Simplified accounting entries illustrating a PO-based invoice with tolerance-checked match 1. Goods Receipt (MM movement, PO price = 100 USD, qty 10):   Dr Inventory / Expense              1000   Cr GR/IR Clearing Account           1000 2. Vendor Invoice Verification (matches PO and GR, qty 10, price 100):   Dr GR/IR Clearing Account           1000   Dr Input Tax                         100   Cr Vendor Account                   1100 3. Payment within discount period (2% cash discount, terms 2/10 net 30):   Dr Vendor Account                   1100   Cr Cash Discount Received             20   Cr Bank Clearing Account            1080 * If invoice quantity or price exceeds configured tolerance,* the invoice line is blocked and payment cannot proceed until* the block is manually released or the variance corrected.

Real project scenario

A manufacturing client repeatedly saw vendor payments delayed past the agreed terms, generating vendor complaints and occasional late payment interest claims. Investigation showed that a large share of blocked invoices were quantity-variance blocks triggered because warehouse staff posted partial goods receipts days after physical receipt, while invoices arrived referencing the full PO quantity. The AP team had been manually releasing blocks without addressing the root cause. The consulting team worked with the warehouse to tighten goods receipt timeliness and adjusted tolerance keys for specific material groups where minor packaging-driven quantity differences were expected and acceptable, reducing false blocks while keeping genuine variances flagged for review.

Common mistakes

โ€ข Treating payment blocks as a payment problem rather than investigating the underlying MM variance that caused them โ€ข Assuming cash discount is calculated at invoice posting time rather than at actual payment time โ€ข Posting service invoices without a PO reference into the same workflow expected for goods invoices, causing missing three-way match controls โ€ข Ignoring tax jurisdiction rules when configuring cash discount base amount for gross versus net calculation โ€ข Failing to align tolerance key configuration with actual business patterns, resulting in either too many false blocks or missed real variances

Best practices

โ€ข Reconcile the GR/IR clearing account regularly and investigate long-outstanding balances rather than letting them accumulate โ€ข Align tolerance keys with actual business variance patterns instead of using overly generic defaults โ€ข Educate the warehouse and procurement teams on the downstream AP impact of delayed or inaccurate goods receipts โ€ข Ensure the payment terms configuration correctly reflects legal and contractual discount and due date rules for each vendor country โ€ข Document block reason codes and the responsible resolving team for each reason to speed up invoice release

Interview angle

Interviewers commonly ask candidates to explain the three-way match and what happens when a price or quantity variance exceeds tolerance, testing whether the candidate understands that AP payment blocks often originate in MM rather than FI. Be ready to describe the GR/IR clearing account lifecycle and why it should show zero or minimal balance for fully matched transactions, since GR/IR reconciliation is a frequent audit and interview topic.