How three-way matching in accounts payable works: the three documents, the GR/IR accounting, partial deliveries, real tolerance policies and SAP.
Three-way matching in accounts payable compares the purchase order, the goods receipt and the supplier invoice before the invoice is paid. The invoice price is checked against the PO price and the invoice quantity against the quantity received. If they agree within the agreed tolerance, the invoice can be approved for payment; if not, it is held as an exception.
A 2-way match compares the invoice with the purchase order only. A 3-way match adds the goods receipt, so you also confirm that what you are paying for actually arrived. 2-way matching is common for services and low-value spend; 3-way matching is used for physical goods above a set value.
The GR/IR (goods received, invoice received) clearing account holds the value between the goods receipt and the invoice. At goods receipt, inventory or expense is debited and GR/IR is credited. When the matching invoice is posted, GR/IR is debited and accounts payable is credited. A balance left on GR/IR shows goods received but not invoiced, or invoices for goods not yet received.
In SAP ERP, invoices are entered against the purchase order in Logistics Invoice Verification with transaction MIRO. Goods-receipt-based invoice verification matches each invoice item to a goods receipt item, and the GR/IR clearing account links the two postings. If a price or quantity variance exceeds the tolerance limits, SAP posts the invoice but blocks it for payment.
Match each invoice to the receipts it covers. If one invoice covers two deliveries, match it to both receipts combined; if each delivery has its own invoice, match them one to one. Hold an invoice that arrives before the goods until the receipt is posted, and close the PO line if no more goods are coming so the open quantity is not invoiced later.
Tolerances are set by each organization, often as a percentage, a fixed amount, or the lower of the two. For example, Texas Tech's published policy uses the lesser of 10 percent or $200. Set limits that fit your spend, write them down, and review how often people override them.