How Does PO, Invoice & Material Receipt Matching works iDempiere Retail

Learn how iDempiere automatically matches Purchase Orders, Material Receipts, and Vendor Invoices. View matched records across PO, Invoice, and Receipt windows.

Introduction

In iDempiere, the matching of a Purchase Order (PO), Material Receipt, and Vendor Invoice is performed automatically by the system there is no manual matching step required. When documents are completed in the correct sequence, iDempiere creates matching records that link all three documents at the line level.

Two types of matching records are generated: a Matched Purchase Order (linking the Material Receipt line to the PO line) and a Matched Invoice (linking the Material Receipt line and Invoice line to the PO line). Both records are created automatically when documents are completed, provided the PO reference is populated on the receipt and invoice lines.

Business Rules

  • iDempiere automatically creates a Matched Purchase Order record when a Material Receipt is completed — provided the Receipt Line references a PO Order Line.
  • iDempiere automatically creates a Matched Invoice record when a Material Receipt or a Vendor Invoice is completed — provided the PO Order Line field is populated on the respective line.
  • When automatic matching is not possible, the Matching PO-Receipt-Invoice window can be used to create matching records manually.
  • Matched records are view-only — they cannot be edited after creation.
  • Matched records are visible from the Purchase Order window (Matching tab), the Vendor Invoice window (Matched POs and Matched Receipts tabs), and the Material Receipt window (Matched POs and Matched Invoices tabs).
  • A single PO line can have multiple matched receipts if goods are received in partial shipments.
  • A single receipt line can be matched to multiple invoice lines if the vendor bills partially.

Prerequisites

Ensure the following are in place before expecting automatic matching to occur in iDempiere:

  • Purchase Order is created, approved, and in Completed status.
  • The PO Line contains the correct product, quantity, and unit price.
  • Material Receipt is created with the Order Line field on each receipt line pointing to the originating PO line.
  • Vendor Invoice is created with the Order Line field on each invoice line pointing to the originating PO line.
  • Both Material Receipt and Vendor Invoice are in Completed status.

Navigation

Matched records can be accessed from three entry points in iDempiere:

Entry PointMenu PathWhat It Shows
Matched PO WindowMenu → Requisition-to-Invoice (Purchasing) → Matched Purchase OrdersAll matched PO, Invoice, Receipt pairs across the system
PO Window — Matching TabMenu → Requisition-to-Invoice (Purchasing) → Purchase Order → open a PO → Matching (Tab)Receipt lines matched to this specific PO
Invoice — Matched POs TabMenu → Requisition-to-Invoice (Purchasing) → Purchase Invoice and Credit/Debit Note → open an Invoice → Matched POs (Tab)PO lines matched to this specific invoice
Invoice — Matched Receipts TabMenu → Requisition-to-Invoice (Purchasing) → Purchase Invoice and Credit/Debit Note → open an Invoice → Matched Receipts (Tab)Receipt lines matched to this specific invoice
Matching PO-Receipt-InvoiceMenu → Requisition-to-Invoice (Purchasing) → Matching PO-Receipt-InvoiceManual matching form — used only when auto-match fails

Step-by-Step: How iDempiere Creates Matching Records

Step 1: Create and Complete the Purchase Order

The Purchase Order is the source document for all matching. Every receipt and invoice line must reference the PO line for automatic matching to work.

  • Click New Record (+) and select the Business Partner (vendor).
  • Add PO lines with the correct product, quantity, and unit price.
  • Set Document Action to Complete and click OK.
  • The PO is now in Completed status and ready to receive receipts and invoices.
FieldSample ValueDescription
Document NoPO2026System-assigned unique PO reference
Business PartnerCHENNAI SUPPLIERSVendor supplying the goods
Document StatusCompletedPO must be Completed before receipts can reference it
Line – ProductSGS25_Samsung Galaxy S25Product being procured
Line – Qty10,000Ordered quantity
Line – Unit Price85,000.00Agreed price — used for PPV and IPV calculations

Step 2: Create and Complete the Material Receipt

When creating the Material Receipt, the Order Line field on each receipt line must reference the corresponding PO line. This is the key field that enables automatic matching.

  • Click New Record (+) and select the same Business Partner as the PO.
  • In the receipt lines, select the product and enter the received quantity.
  • In the Order Line field on each receipt line, select the corresponding PO line.
  • Set Document Action to Complete and click OK.
Auto-Match Triggered: On completion, iDempiere automatically creates a Matched Purchase Order record linking this receipt line to the PO line.
FieldSample ValueDescription
Document No1000018System-assigned receipt reference
Business PartnerCHENNAI SUPPLIERSMust match the PO vendor
Document StatusCompletedMust be Completed for matching to occur
Line – ProductSGS25_Samsung Galaxy S25Must match the PO line product
Line – Qty1Quantity physically received
Line – Order LinePO2026_800002_06/15/2026_10_850000000CRITICAL — links this receipt line to the PO line; required for auto-match

Step 3: Create and Complete the Vendor Invoice

Similar to the receipt, each Vendor Invoice line must reference the PO line in the Order Line field for iDempiere to generate a Matched Invoice record automatically.

  • Click New Record (+) and select the Business Partner.
  • Enter the Invoice Date and the vendor’s Invoice No.
  • Add invoice lines — in the Order Line field on each line, select the corresponding PO line.
  • Set Document Action to Complete and click OK.
Auto-Match Triggered: On completion, iDempiere automatically creates a Matched Invoice record linking this invoice line to the receipt line and the PO line.
FieldSample ValueDescription
Document No1000003System-assigned invoice reference
Business PartnerCHENNAI SUPPLIERSMust match the PO and receipt vendor
Invoice Date06/15/2026Date on the vendor’s paper invoice
Document StatusCompletedMust be Completed for matching to occur
Line – ProductSGS25_Samsung Galaxy S25Must match the PO product
Line – Qty1Quantity billed by the vendor
Line – Unit Price85,000.00Vendor’s billed price
Line – Order LinePO2026_800002_06/15/2026_10_850000000CRITICAL — links this invoice line to the PO line; required for auto-match

Step 4: View Matched Records on the Purchase Order

After the Material Receipt is completed, the Matching tab on the Purchase Order displays the matched receipt lines. This confirms that the PO quantity has been updated correctly.

  • Search for the PO by document number.
  • Click the Matching tab (sub-tab at the bottom of the PO window).
  • The tab displays all Material Receipt lines that have been matched to this PO’s lines.
  • Verify the Matched Qty matches the received quantity.
ColumnDescription
PO LineThe Purchase Order line number being matched
Receipt LineThe specific receipt line matched to the PO line
ProductProduct on the matched line
QtyQuantity confirmed as received against this PO line
PostedIndicates whether the matching accounting entry has been posted


Step 5: View Matched POs and Matched Receipts on the Vendor Invoice

After the Vendor Invoice is completed, two tabs on the Invoice window display the matching results: Matched POs and Matched Receipts. These confirm the three-way link between PO, receipt, and invoice.

  • Search for the invoice by document number.
  • Click the Matched POs tab to see PO lines linked to this invoice.
  • Click the Matched Receipts tab to see receipt lines linked to this invoice.
  • Both tabs together confirm the complete three-way match.

Matched POs Tab — Key Fields:

ColumnDescription
PO LineSpecific PO line matched
ProductMatched product
Receipt LineSpecific receipt line matched
QtyQuantity confirmed between PO and Invoice

Matched Receipts Tab — Key Fields:

ColumnDescription
ReceiptMaterial Receipt document linked to this invoice line
Receipt LineSpecific receipt line matched
ProductMatched product
Matched QtyQuantity confirmed between Receipt and Invoice
Matched AmountValue confirmed — used for IPV and NIR posting

Step 7: Manual Matching via Matching PO-Receipt-Invoice

The Matching PO-Receipt-Invoice window is used only when automatic matching fails — typically because the Order Line field was not populated on the receipt or invoice line at the time of completion.

  • Navigate to Menu → Requisition-to-Invoice (Purchasing) → Matching PO-Receipt-Invoice.
  • Select the document type to match: Purchase Order, Material Receipt, or Invoice.
  • Select the specific document and line to match.
  • The system displays eligible lines from the other documents for selection.
  • Select the matching lines and click Process to create the matching record.

Common Issues and Resolutions

IssueCauseResolution
Matching tab on PO shows no recordsReceipt was not linked to this PO at receipt entryCheck the Material Receipt line — if Order Line is blank, use manual matching window
Matched POs tab on Invoice is emptyInvoice was created without that PO reference on the lineReverse the invoice, re-enter with Order Line populated, then complete
Matched Receipts tab on Invoice is emptyReceipt was not matched to this invoiceVerify receipt Order Line field references the same PO; use manual matching if needed
Partial match — PO line still shows as openVendor has not billed the full PO quantityExpected behavior for partial invoicing; PO remains open until fully invoiced

Best Practices

  • Create Material Receipts directly from the Purchase Order using the Generate Receipts function to auto-populate the Order Line field.
  • Create Vendor Invoices from the Purchase Order or Material Receipt to auto-populate the Order Line and avoid manual entry errors.
  • Use the Matched Purchase Orders window weekly to identify any PO lines with missing or incomplete matching records.
  • Use the Matching PO-Receipt-Invoice window as an exception tool only not as part of the standard procurement workflow.

Next Steps

After understanding PO–Invoice–Material Receipt matching in iDempiere, proceed with:

  • Configure the Payment Selection window to generate vendor payment batches.

Leave a Reply

Your email address will not be published. Required fields are marked *