2 and 3 way matching in accounts payable is the matching of a purchase order to an invoice, or matching a purchase order to an invoice and a goods receipt.