Compare the right line and unit first

A lower invoice total does not prove that a supplier used the agreed price. A partial delivery can reduce the total while a unit-price increase remains hidden. Build a line-level comparison using purchase-order ID, line ID, item, unit and currency. Let the reviewer see quantity status and price variance as separate columns, with both source references attached.

Power Query can join line records. The proposed comparison highlights differences for authorization; it does not decide whether an invoice should be paid or how a disputed amount belongs in the accounts.

Create a controlled line mapping

  1. Import the approved order lines, invoice lines and available receipt evidence as separate unchanged inputs.
  2. Use an explicit line mapping where supplier and internal line references differ. Do not match on description alone when an order has repeated items.
  3. Confirm units before comparison. A box, case and single item require an approved conversion, not a guessed multiplier.
  4. Compare invoice unit price with approved order price in the same currency. Keep invoice quantity and received quantity alongside ordered quantity.
  5. Calculate the price difference on the invoiced quantity, then create a separate quantity-status observation. Hold unmapped lines and unsupported conversions.

Record the order version used. A later approved change may explain the difference, but the workflow must reference that change rather than overwrite the original price silently.

Work through three synthetic order lines

LineOrder quantity / priceInvoice quantity / priceExpected observation
L1 / cable / each10 at $510 at $5Full quantity; $0 price difference
L2 / adapter / each8 at $203 at $20Partial quantity; $0 price difference
L3 / stand / each4 at $304 at $32Full quantity; $8 price difference

Assume receipt evidence confirms the invoiced quantities and all figures are USD with no other charges in this exercise. The invoice totals $238: $50 + $60 + $128. At approved unit prices, the same invoiced quantities total $230. The price variance is $8. L2 has five units still outside this invoice; it is not a $100 price error.

These are fictional expected results. Taxes, discounts, freight and contract terms would need their own explicit treatment rather than being folded into the unit-price check.

Keep invalid and missing data in review

Power Query exposes cell conversion errors. If a price says “included” or a quantity is blank, keep the source wording and request the relevant contract or order clarification. A missing price must not become zero. If several order lines could match one invoice line, show the competing references and stop automatic acceptance.

Route the $8 difference to the person authorized to confirm the commercial price. Record whether the supplier issues a correction, an approved order amendment exists or the difference remains disputed. The comparison itself does not resolve that decision.

Test both price and quantity failure cases

Change L2’s invoice quantity to nine while preserving its $20 price. Expect a quantity exception and still no unit-price variance. Change L3’s unit to “box”; require an unresolved unit mapping until evidence supports a conversion. Reorder the invoice lines and confirm the same line pairs and arithmetic.

Have a reviewer trace every proposed match to both documents before release. ParseMill can extract supported invoice fields and line items into reviewed Excel output; purchase-order joining and approval routing require a scoped workflow setup. The example here is an acceptance design, not a live procurement integration.

Assisted setup with ParseMill

Design a useful matching and review step

Identify the two records, the matching fields and the differences a person must decide. We can assess the preparation and exception workflow; accounting judgments stay with your team.

Discuss this deployment

Describe your tools, the repeated task, its frequency and the result you need. We agree the scope and any fee before starting. Third-party connections need their own fit assessment; sending a request does not activate an integration.

For supplier invoice PDFs, try the invoice-to-Excel example to see ParseMill’s extraction, source review and workbook export.

Sources and editorial notes

Written by ParseMill. Worked examples are illustrative process examples, not customer results. Software availability can vary by subscription and region; check the linked documentation for your account. Review decisions and approvals remain with your team.

Explore the wider workflow