Skip to main content

Three-Way Payment Reconciliation: Transactions, Fees and Funding

Last Updated: 2026-12-01 Status: Complete

Three-way reconciliation is the control that compares your internal transaction ledger with the processor's settlement and fee reports and with the bank's deposit records, so that every unit of money is explained. After this page you will be able to design matching keys, many-to-one matching, fee checks, a break taxonomy, an exception workflow and a data model, and to describe the controls an auditor expects. It builds on Clearing and Settlement and Settlement and Funding Files.

Quick Reference​

  • Authorizations, settlements and deposits are different events and will not agree on any given day.
  • The three legs: internal ledger, processor reports, bank deposits.
  • Matching is many-to-one: one deposit usually covers many transactions, net of fees, refunds, chargebacks and reserves.
  • Fees are reconciled separately: expected interchange plus assessments plus markup against what was billed.
  • Every break needs a type, an owner, an age and a resolution.
  • Reconcile daily, with sign-off and segregation of duties.

Why Do Authorizations, Settlements and Deposits Differ?​

An authorization is an approval to reserve value. Only a subset is captured; of those, only some are cleared on a given day; and the deposit is net of deductions and follows a funding schedule. Reasons the numbers differ include uncaptured or expired authorizations, authorization reversals, partial captures, tips adjusted at capture, cutoff and time zone effects, refunds, chargebacks, fees, reserves, holds and foreign exchange. Reconciliation is the discipline of proving which of these explains each difference.

What Are the Three Legs of Reconciliation?​

LegSourceQuestion answered
1. Internal ledgerYour authorizations, captures, refunds and payoutsWhat do we believe we owe and are owed?
2. Processor reportsSettlement detail, fee detail, adjustment filesWhat did the processor clear and charge?
3. BankDeposit lines (camt.053, camt.054, BAI2 or funding files)What cash actually arrived?

Comparing Leg 1 to Leg 2 proves transactions; Leg 2 to Leg 3 proves cash; and Leg 1 to Leg 3 verifies the ledger's expected funding.

What Matching Keys Should You Use?​

KeyMeaningNotes
Network transaction IDNetwork-assigned identifier returned at authorization and carried through clearingShared across a chain (incrementals, MITs, multi-capture); use it only together with amount, date and authorization code or ARN.
RRNRetrieval reference number (ISO 8583 field 37)Useful but not guaranteed unique over long periods
ARNAcquirer reference number: an identifier assigned by the acquirer to a cleared transaction, used to trace it from acquirer to issuer, including in disputesNot available at authorization; appears after clearing
Authorization codeIssuer approval codeWeak alone; use as a corroborating key
Amount and currencyTransaction amount in minor unitsMatch exactly except where documented differences apply
Date windowAuthorization or capture date plus toleranceTolerance covers cutoff and weekend effects
Internal ID passthroughYour payment ID sent in a reference fieldOnly if the processor returns it

Match by strongest key first, then fall back to composite keys (card token, amount, date window, authorization code), and flag ambiguous candidates for review instead of guessing.

Many-to-One Matching​

A single deposit corresponds to many transactions. Group the items by funding batch or settlement date, compute the expected net, and compare it with the deposit:

expected deposit = captured sales
- refunds
- chargebacks and adjustments
- fees (if net funded)
- reserve withheld
+ reserve released

Persist the decomposition so that a variance can be traced to a component rather than reported as a single number.

Scenario: 10,000 Authorized, 9,850 Settled​

An analyst finds authorizations of 10,000.00 for a day and settled transactions of 9,850.00. This is a difference of 150.00 and is not necessarily an error. Work through the candidates in order:

  1. Authorizations never captured (cancelled orders, expired).
  2. Authorization reversals or partial captures at a lower final amount.
  3. Captures falling after the cutoff and therefore in the next day's batch (time zone effect).
  4. Declined or rejected clearing records, or records quarantined at ingest.
  5. Refunds or voids on the same day.

The resolution is to classify each authorization as captured, reversed, expired or open, and show that captured plus reversed plus expired plus open equals 10,000.00. Only the unexplained remainder is a break.

How Do You Reconcile Fees?​

Compute the expected cost per transaction from your fee model and compare it with the billed amount:

ComponentExpected fromVariance means
InterchangeCard product, entry mode, MCC, qualification rules (Qualification and Downgrades)Downgrade or misapplied rate
Assessments and network feesNetwork fee scheduleSchedule change or wrong brand mapping
Processor markupPricing agreement (for example interchange-plus)Contract misconfiguration
Per-item and batch feesContractCounting differences

Effective rate equals total fees divided by total processed volume for the same period and scope. Track it by card brand, product, entry mode and merchant; a rising effective rate with a stable mix points to downgrades or fee changes. For interchange schedule values see Key Numbers rather than hardcoding rates in the reconciliation logic. For PayFacs, reconcile what the acquirer billed to you separately from what you billed each sub-merchant; the difference is your margin and should be explainable.

Break Taxonomy​

Break typeTypical causesResolution owner
TimingCutoff, time zone, weekend or holiday, late fileOperations; auto-clears when the counterpart arrives
Missing settlementAuthorized and captured but not cleared; capture not transmitted; record quarantinedPayments engineering with processor
Amount mismatchPartial capture, tip adjustment, currency rounding, wrong amount submittedPayments engineering
DuplicateResubmitted batch, duplicate file, double capturePayments engineering; processor
Fee varianceDowngrade, fee schedule change, markup misconfigurationFinance operations with processor or acquirer
Unexpected chargeback or adjustmentDispute not yet in internal system; network fee collectionRisk or disputes team
FXConversion rate or timing differences, dynamic currency conversionTreasury or finance operations

Exception Workflow and Aging​

  • Assign every break an owner, a category and a reason code on creation.
  • Age breaks in buckets (for example one day, several days, a week or more); set thresholds by business policy and not by network rule.
  • Auto-resolve timing breaks when the counterpart arrives within the tolerance window.
  • Keep manual adjustments as new ledger entries with reason and approver, never edits of history.
  • Report open breaks by amount and age to finance leadership.

Automated vs Manual Reconciliation​

Automate exact-key matching, many-to-one grouping, fee recomputation and timing-break clearance; reserve people for ambiguous matches, disputes with processors and adjustments. A well-run process aims for a small, aged, owned exception list rather than zero breaks.

Data Model​

TablePurposeKey columns
recon_runOne execution for a scope and business dateid, scope, business_date, status, started_at, signed_off_by
recon_itemA normalized record from any legid, run_id, leg, source_file_id, source_sequence, key fields, amount_minor, currency
match_groupA set of items judged to agreeid, run_id, match_rule, difference_minor
match_group_itemMembership of items in groupsgroup_id, item_id
breakUnexplained difference or unmatched itemid, run_id, type, amount_minor, owner, status, opened_at, resolved_at, resolution_note

Matching Sketch in TypeScript​

import { Injectable } from '@nestjs/common';

export enum Leg {
Ledger = 'LEDGER',
Processor = 'PROCESSOR',
Bank = 'BANK',
}

export interface ReconItem {
id: string;
leg: Leg;
networkTransactionId?: string;
authCode?: string;
rrn?: string;
amountMinor: bigint;
currency: string;
businessDate: string; // YYYY-MM-DD
}

export interface MatchGroup {
ruleName: string;
itemIds: string[];
differenceMinor: bigint;
}

export interface AmbiguousMatch {
status: 'AMBIGUOUS';
itemIds: string[]; // all candidates, for manual review
}

@Injectable()
export class TransactionMatcher {
// The network transaction ID is shared across a chain (incrementals, MITs,
// multi-capture), so it is a key only together with amount, currency and auth code.
private compositeKey(i: ReconItem): string | undefined {
if (!i.networkTransactionId || !i.authCode) return undefined;
return [i.networkTransactionId, i.amountMinor.toString(), i.currency, i.authCode].join('|');
}

private groupByKey(items: ReconItem[]): Map<string, ReconItem[]> {
const map = new Map<string, ReconItem[]>();
for (const i of items) {
const key = this.compositeKey(i);
if (key) map.set(key, [...(map.get(key) ?? []), i]);
}
return map;
}

match(ledger: ReconItem[], processor: ReconItem[]) {
const groups: MatchGroup[] = [];
const ambiguous: AmbiguousMatch[] = [];
const handled = new Set<string>();
const processorByKey = this.groupByKey(processor);

for (const [key, ls] of this.groupByKey(ledger)) {
const ps = processorByKey.get(key) ?? [];
if (ps.length === 0) continue;
const items = [...ls, ...ps];
items.forEach((i) => handled.add(i.id));
if (ls.length === 1 && ps.length === 1) {
groups.push({
ruleName: 'NTI_AMOUNT_CURRENCY_AUTH_CODE',
itemIds: [ls[0].id, ps[0].id],
differenceMinor: 0n, // amount is part of the key
});
} else {
// Several candidates on either side: never pick one, send to review.
ambiguous.push({ status: 'AMBIGUOUS', itemIds: items.map((i) => i.id) });
}
}

// Fallback rules (RRN, then card token, amount, date window) would run here on the remainder.
return {
groups,
ambiguous,
unmatchedLedger: ledger.filter((l) => !handled.has(l.id)),
unmatchedProcessor: processor.filter((p) => !handled.has(p.id)),
};
}

// Many-to-one: compare the grouped processor net to a bank deposit.
matchDeposit(netItems: ReconItem[], depositMinor: bigint): bigint {
const expected = netItems.reduce((sum, i) => sum + i.amountMinor, 0n);
return depositMinor - expected; // nonzero: create a break and decompose
}
}

The sketch keeps amounts as integer minor units, matches on a composite key rather than the network transaction ID alone, flags items with more than one candidate as AMBIGUOUS for review instead of picking one, and never handles card numbers; items carry only tokens and keys. Items whose amounts differ fall through to the fallback rules, where a nonzero difference becomes an amount break.

Controls and Audit​

  • Reconcile daily, including weekends where funding or files arrive, and track the reconciliation status of each business date.
  • Sign-off. A reviewer approves each run, and approvals are recorded with time and identity.
  • Segregation of duties. The person who can create manual adjustments or release payouts should not be the only person who approves the reconciliation.
  • Immutability and lineage. Every figure traces to a source file, record sequence and file checksum.
  • Evidence retention. Keep reports, break histories and approvals for the retention period set by your finance and compliance policy.
  • Gate payouts. Hold sub-merchant payouts when material breaks are open for the affected scope.
Time-Sensitive

Fee schedules, funding practices and file layouts change. Interchange values link to Key Numbers. Control design for financial reporting and PCI scope must be confirmed with your finance leadership, CISO or QSA; this page is educational and not an audit opinion. Ledger design for PayFac platforms is covered in Module 5 (not yet written).

References​

Share: