---
name: match-purchase-order-receipt-and-bill
description: "Three-way match a supplier invoice against the purchase order and goods received, net of returns and earlier bills, to find over-billing on quantity or price before approval. Use when checking a supplier bill or invoice against a PO, delivery notes or goods received notes."
license: CC-BY-4.0
metadata:
  author: Raq.com
  version: "2026-11-22"
  homepage: https://skills.raq.com/skills/match-purchase-order-receipt-and-bill
---

# Match a purchase order, receipt and bill

Check the amount supported by orders and accepted deliveries before a supplier bill enters the approval queue.

## When to use this skill

- A supplier invoice needs checking against the purchase order and what was actually received before it is approved.
- Goods were part-delivered, returned or rejected, or the order has already been part-invoiced.
- An invoice price differs from the purchase order price.

## When not to use it

- Approving or releasing a payment. The result is evidence for the approver under the organisation's own policy and tolerances.
- Checking whether the invoice is a valid VAT invoice or uses the right VAT rate. Ask the accounts team, using the tax authority's rules.
- A request to change the supplier's bank details. Use the supplier bank change skill before anything is paid.

## What you need

- Purchase order with quantity, unit and net price for each line.
- Accepted receipts, returns, previously billed quantities and this bill.

## Ask before you start

If any of these are missing or unclear, ask before doing the work.

- Is the order billed on ordered quantities or on received quantities? That decides what the bill can claim.
- Do the receipt figures already exclude returns and rejected goods, and what has already been billed on each order line?
- Are the order, receipt and bill in the same unit, such as cases or single items, and the same currency, net of tax?
- Does your policy set a price or quantity tolerance? The full difference is reported either way, with a note of what falls inside it.

## Method

1. Match on purchase order, line ID, currency and unit. Resolve case-versus-each conversions from the actual order before comparing quantities. Missing receipts leave the position unverified.
2. Work out net accepted units. Identify whether the receipt figure is gross or already net of returns and rejects, then deduct each adjustment once.
3. Under received-quantity billing, the units available to bill are the lesser of ordered and net accepted units, less units already billed, floored at zero. Accepting an over-delivery does not enlarge the order.
4. Allocate from one remaining balance per order line across all current bill lines, in the documented matching order. If line attribution is ambiguous, give aggregate support instead.
5. For each bill line, split supported units from excess units. Compare the billed unit price with the contract price separately, so an excess quantity and a price difference are not charged twice.
6. Value supported units at the contract price, net of tax. Report billed minus supported as a signed amount and break it into its quantity part and its price part.
7. Apply the organisation's tolerance only after reporting the full difference. Hand the result to the approver as evidence, not as a payment instruction.

## Checks before you deliver

- A physical delivery note may include damaged goods that the receiver rejected.
- Previously billed quantities include earlier part-invoices. Using gross deliveries again can approve the same quantity twice.
- Accepting a price variance because it sits inside tolerance without recording it. Small variances add up across part-invoices on the same line.
- Comparing a case price with a unit price, or a gross amount with a net amount.
- Billing extra goods that were accepted but never ordered. They need an order change before the bill can be supported.

## How to present the result

Lead with the amount supported and the amount to query. Then give a table per bill line: units billed, units available, supported and excess units, billed and contract unit prices, and the value of each difference. Finish with a short query to the supplier listing each disputed line and the figure expected, ready to send.

## Worked example

**Request:** Perform a three-way match for this received-quantity PO.

**Supplied material:**

```text
Order L1 20 stands at £12 each. Delivered 16, rejected 2, previously billed 5. Current bill L1 10 stands at £13. GBP net.
```

**Answer:** Nine stands are supported at £12, or £108 net. The bill requests £130. Query £22: the tenth stand contributes £13 and the nine supported stands are £1 each above contract. Five of the 14 accepted units were billed previously.

## Structured output for tests

For an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.

Return available_units, supported_units and excess_units as objects keyed by current bill line ID. Return supported_value at contract prices and billed_less_supported as signed amounts in the stated currency, net of tax. Use null values for unverified inputs rather than manufacturing a receipt.

## Sources

- [Odoo: Manage vendor bills](https://www.odoo.com/documentation/19.0/applications/inventory_and_mrp/purchase/manage_deals/control_bills.html): Odoo's bill control policy separates billing on ordered quantities from billing on received quantities, and describes three-way matching as making sure bills are paid only once some or all of the ordered products have been received.
- [Microsoft Dynamics 365: Accounts payable invoice matching](https://learn.microsoft.com/en-us/dynamics365/finance/accounts-payable/accounts-payable-invoice-matching): Microsoft defines three-way matching as matching invoice price to the purchase order and invoice quantity to the product receipts selected for the invoice, with configurable price tolerances. Its price totals example includes earlier invoices on the same line, which is why the skill tracks prior billing.

Test cases and an answer checker for this skill: https://skills.raq.com/skills/match-purchase-order-receipt-and-bill
