How-to7 minute read

How to match one payment to multiple invoices

A single ACH, wire, or check can settle several invoices. The mathematical problem is finding balances that add to the payment. The reconciliation problem is proving that the selected balances belong to the payer and period.

Worked example

Three-invoice ACH

Payment

$4,725.00

Invoice records

INV-2108 $1,500.00

INV-2141 $1,225.00

INV-2190 $2,000.00

Review result

Exact combined total

The combination is strong when the payer, currency, and remittance references also agree.

Collect the strongest identity evidence

Start with the payer name, customer ID, bank originator, remittance email, check number, and any invoice references. Map known parent-company or treasury names through explicit aliases that a reviewer can inspect.

Do not search every invoice across every customer solely because the totals might agree. Coincidental combinations become common as the open invoice list grows.

Narrow the candidate pool

Keep only open invoices with compatible currency, a plausible customer relationship, and dates consistent with the payment. Prefer directly referenced invoices. Apply a documented limit to candidate count and combination size.

Narrowing improves both speed and quality. It also makes the final explanation easier to review because every candidate passed the same initial scope rules.

  • Same customer or approved payer alias
  • Same currency
  • Open balance at the payment date
  • Within the configured date window
  • Referenced in remittance or bank text

Search combinations using integer amounts

Convert amounts to cents and search subsets that equal the payment. A bounded depth-first search or dynamic approach can work for a small, narrowed list. Stop or warn when limits are reached rather than allowing a large import to freeze the interface.

Return every plausible exact combination within the limit. If two sets produce the same total, the result is ambiguous until other evidence separates them.

Verify each application line

Show invoice number, date, customer, open balance, and proposed applied amount for every selected invoice. The payment total should equal the sum of applications plus any visible unapplied amount.

When one invoice is only partly covered, preserve its remaining balance. A combined payment can contain full and partial applications in the same decision.

Record the one-to-many relationship

Create separate links between the payment and every invoice rather than storing a comma-separated invoice list. The audit record should include the matching method, reasons, reviewer, source file, and decision.

After confirmation, verify the destination accounting ledger and keep any remittance evidence according to the organization's retention policy.

Key takeaways

  • Narrow by identity and currency before searching totals.
  • Use cents and bounded combination limits.
  • Return ambiguity when several combinations work.
  • Model each payment-to-invoice link separately.
  • Confirm the final allocation before ledger posting.

This material is general educational information, not accounting, tax, legal, or investment advice. Verify financial records and consult the appropriate professional for decisions that require judgment.