insonl
← journal

Handle Freight and Surcharge Lines in Invoice Matching

date
29 November 2026
by
Insonl
read
7 min read

The goods on a supplier invoice can pass three-way matching while a fuel surcharge remains unresolved. The purchase order (PO) establishes the item price and the receipt establishes the quantity received. To clear the surcharge, accounts payable still needs to know whether the supplier was entitled to bill it, which shipment it covers and how the amount was calculated.

Start with the evidence for each charge. Freight recorded on the PO can be compared with an expected amount there. A fuel surcharge agreed outside the PO can be checked against a rate schedule if AP can identify the relevant shipment and rate. An unrecognised fee needs a person to establish whether it is payable. Set a tolerance after that distinction is clear.

Use the evidence that authorises each charge

Microsoft’s three-way matching example in Dynamics 365 Finance shows shipping and handling on the invoice and a corresponding charge code on the PO. The item match shown in the example reports receipt quantity, price and price total. The documentation describes a separate charges check that compares invoice and PO amounts by charge code. Line-level charges can also affect the net line amount used for item price checks, so changing how a charge is represented can change those checks. Three-way matching policies · Accounts payable invoice matching overview

Record the allowed charge, its expected source and the evidence needed to apply the rule. A charge printed on its own invoice row may already be authorised at the PO header. Check the purchase terms before treating it as an off-PO charge. For charges that really are outside the PO, make the alternative source explicit.

Invoice charge What to check When to send it to a person
Freight Compare with the approved PO charge or derive the expected amount from the applicable rate and shipment evidence. Check whether freight is already included in the item price or billed separately by a carrier. The supplier’s right to bill freight is unclear, the shipment link is ambiguous, or AP finds another bill for the same charge.
Fuel surcharge Use the agreed schedule and its effective date rule, eligible freight base and rounding convention. Keep the schedule version with the result. The schedule or base is missing, or the supplier applied the surcharge to a disputed amount.
Handling Check the PO charge or identify the agreed fee and what triggers it, such as a fee per order or a specific handling service. The trigger is unverified, the fee repeats across partial invoices, or the description could refer to more than one service.
Tax Reconcile the stated tax with the expected tax from the finance team’s configured tax process. Keep tax code, taxable base and rounding available to the reviewer. The tax code, taxable base or treatment of freight is disputed. Route it to the finance or tax reviewer.

Decide how to handle a combined freight-and-handling line before automating it. If the PO and invoice both use an approved combined charge, compare on that basis. If the supplier bundles two charges that have different rules, require an itemised breakdown or have the buyer confirm the basis for comparison. Record the decision where the next reviewer can find it.

Set the tolerance at the level the supplier bills

A charge tolerance answers a narrow question. How much can the billed amount differ from an established expected amount before AP needs to look? Apply it to the same charge code, currency and billing scope. A fixed freight amount might apply once per order. A fuel surcharge might recur per shipment. If a supplier invoices a partial delivery, establish how much of the expected charge belongs to that delivery before comparing amounts. A receipt can help identify the delivery covered by a charge. Matching Delivery Notes to Goods Receipts

Start by measuring how legitimate variances arise. A small currency amount can make sense for rounding. A percentage can handle an acceptable variance that scales with the charge. Where AP policy requires both, require the charge to pass both limits and confirm where each check runs. Decide how to treat credits, undercharges and missing expected charges. Record the actual amount, expected amount and signed difference, and replay the same inputs with the same rule version when a decision is questioned.

In Dynamics 365 Finance, charges matching uses percentage tolerances and runs for codes enabled for PO-to-invoice comparison when charges matching is enabled for the legal entity. The documentation describes a separate maximum charge amount associated with invoice policy validation, which requires a charges-based policy rule. That maximum limits the charge amount itself. If AP needs a currency cap on the variance from the expected amount, specify and test that check separately. Accounts payable invoice matching overview · Create charges codes

Distinguish an expected amount of zero from a missing expected amount. Zero can mean the agreed terms include delivery in the goods price. A missing amount can mean the applicable schedule has yet to be linked. Route the first as a disputed charge when the invoice bills freight separately, and the second as a missing reference. Keep the outcomes separate so a reviewer can fix the right problem. A similar evidence check applies when the billed and ordered units differ. Handle Units of Measure When Matching Orders to Supplier Documents

Follow a partial invoice through the checks

In this hypothetical example, an order ships in two parts. The PO permits fixed freight once for the order, billed on the first shipment. The agreement also allows a fuel surcharge on the eligible freight base shown on the supplier’s shipment statement. The first invoice’s goods match the first receipt. Base freight agrees with the PO and the fuel amount differs from the schedule calculation only by rounding, within the approved tolerance. A separate handling fee has no listed trigger or supporting evidence, so AP holds the charge for the buyer.

The second invoice repeats the fixed freight. Its amount still agrees with the PO. The duplicate is visible when the check looks up freight already billed against that order and charge. If the first invoice was credited, review the linked credit and any replacement before deciding whether the charge is still outstanding. Store the billed amounts and their links so the next invoice can be checked against the remaining allowance.

Use AI to read the bill and give reviewers the evidence

AI extraction can locate charge rows on a PDF and capture the vendor’s wording, amount, sign, currency and references. Keep the invoice identifier, page and source location for every candidate. Capture whether the row appears at the header or beside an item. A model can suggest a charge code for a label such as “fuel adj.” Apply approved mappings where the label has a known meaning for that supplier. Send an ambiguous label or an unreadable amount to AP with the page excerpt.

Give the rules service the authority to calculate the expected amount from the approved records and apply the tolerance. Keep tax treatment, charge allocation, approval of unsupported fees and posting authority in the existing finance workflow. Extraction confidence can help AP prioritise a reading check. The source image supports the reading, and the PO, agreement or recorded approval establishes authorisation.

Show reviewers the invoice line, expected amount and source, billing scope, prior related charges and the rule that fired. Give AP the option to correct the extraction and rerun validation. Send disputed terms or unrecognised commercial charges to Purchasing or Logistics, and send tax discrepancies to Finance. Record exceptions approved under policy with the approver, reason, evidence and rule version. Route goods receipt and item price exceptions through the existing process. Three-Way Invoice Matching Exceptions: Queue Rules

Replay invoices before turning the rules on

Use invoices AP has already resolved. Include a repeated charge across split invoices, an invoice-level fee billed separately by a carrier, a rate change and a credit followed by a rebill. Include a case where freight goes up while another amount goes down and the invoice total still looks right. Check each charge and the invoice totals independently. For each test, record what the rule should pass, what it should send for review and who owns the decision. Sample passes as well as exceptions to catch repeat overcharges that generate no alerts.

Sources

Request a free AI workflow audit

Bring a supplier invoice with an extra charge, the corresponding purchase order and receipt, and the policy or rate schedule your team uses to decide what is payable. Request a free AI workflow audit