Accounting Controls & AI BookkeepingLast reviewed 23 September 2026

Bank Statement to Accounts Receivable: How Partial Payments, UPI References and FIFO Matching Should Actually Work

When a customer payment doesn't exactly match one open invoice, a consistent oldest-invoice-first rule beats ad-hoc guessing — and knowing when to flag instead of guess matters just as much.

A chart icon representing the logic used to match a bank credit to an open receivable.
On this pageTap to choose a section

Bank matching is not the same as marking an invoice 'Paid'. One receipt can settle many invoices, one invoice can receive many payments, and references can be missing. Good automation proposes allocations but keeps the invoice-wise trail visible.

The Short Answer

Auto-match only when confidence is high. Use exact invoice references, virtual-account IDs, payer details, amount / date tolerance and open-invoice sequence. When one receipt covers multiple invoices or a partial payment is received, preserve allocation lines so the debtor ledger and bank reconcile to the same total.

In Plain Words

Use exact invoice reference or virtual-account ID first, then payer/amount/date clues, and FIFO only as a controlled fallback. The system should create allocation lines, not just a single paid/unpaid flag, so users can trace every rupee back to an invoice.

Why exact-amount matching should always come first

Before applying any fallback logic, always check for an exact amount match against a single open invoice — this is the highest-confidence match and should never be overridden by a FIFO rule, even if an older invoice exists.

Why FIFO is the right fallback, not guessing

When no exact match exists — a partial payment, a round-number payment covering several invoices, or an amount that doesn't cleanly map to any single invoice — matching against the customer's oldest outstanding invoice first mirrors how most businesses actually expect their receivables to be settled, and produces a consistent, explainable result every time the same situation recurs.

When to flag instead of forcing a match

If multiple invoices are equally old, or the payment amount doesn't cleanly resolve even after applying FIFO, don't force an automatic match — flag it for a human to review. An automatic match that's actually wrong is worse than an unmatched transaction sitting visibly in a review queue, because a wrong match can misstate which specific invoice is actually still outstanding.

Worked example

A customer has three open invoices: ₹20,000 (oldest), ₹15,000, and ₹10,000 (newest). A payment of ₹32,000 arrives with no invoice reference. Applying FIFO: the oldest ₹20,000 invoice is matched first and fully cleared, then ₹12,000 is applied against the ₹15,000 invoice, leaving it with ₹3,000 still outstanding. This is a defensible, explainable allocation — an arbitrary alternative (e.g. splitting evenly) would not be.

Illustrative example. Actual treatment may depend on the facts and rules applicable on the transaction date.

Documenting the matching rule

Whatever rule you apply, document it as a stated policy — this makes the outcome explainable to an auditor, to the customer if they dispute an allocation, and to your own team when reviewing aged receivables later.

Use the UPI reference as your first matching key

For UPI credits, the transaction reference in the bank narration is the most reliable link between a payment and an invoice. Match in this order: (1) reference number quoted by the customer, (2) exact amount, (3) payer name or VPA, (4) date proximity, and only then (5) oldest-invoice-first (FIFO) as a fallback that still needs a human to confirm when the customer has several open invoices.

Example: a ₹25,000 UPI credit arrives with no invoice reference. The customer has open invoices of ₹10,000 (oldest), ₹12,000 and ₹8,000. FIFO proposes ₹10,000 against the oldest and ₹12,000 against the next, leaving ₹3,000 as a partial payment on the third — presented as a suggestion to confirm, never auto-posted as fact.

The Key Steps at a Glance

Read the four steps in order — each one depends on the one before it.

  1. 1Why “mark invoice paid” is too simplistic
  2. 2Matching keys in order of reliability
  3. 3Partial payment allocation
  4. 4One payment for many invoices / many payments for one invoice

What to do now

  • Always check for an exact amount match before applying any fallback logic.
  • Apply oldest-invoice-first (FIFO) as your default, documented fallback rule.
  • Flag genuinely ambiguous cases for manual review rather than forcing an automatic match.

Common mistakes

  • Matching payments based on ad-hoc judgment instead of a consistent, documented rule.
  • Forcing a match in a genuinely ambiguous case instead of flagging it.
  • Not documenting the matching policy, making past allocations hard to explain later.

The Takeaway

Good payment automation keeps the allocation trail visible. The user should always be able to answer 'which receipt cleared which invoice?'

How Truetal Helps

Truetal's bank reconciliation engine applies exact-match-first, then FIFO, and explicitly flags ambiguous payments for manual review instead of guessing.

Questions People Search For

  • Bank statement invoice reconciliation partial payment
  • FIFO customer payment matching
  • Accounts receivable bank reconciliation automation

ICAI Guidance Note on Bank Reconciliation.

Related articles

Review Your Accounting Controls

Truetal supports traceable review workflows; it does not replace professional judgement.

Review Your Accounting ControlsRead more guides