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?
| Leg | Source | Question answered |
|---|---|---|
| 1. Internal ledger | Your authorizations, captures, refunds and payouts | What do we believe we owe and are owed? |
| 2. Processor reports | Settlement detail, fee detail, adjustment files | What did the processor clear and charge? |
| 3. Bank | Deposit 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?
| Key | Meaning | Notes |
|---|---|---|
| Network transaction ID | Network-assigned identifier returned at authorization and carried through clearing | Shared across a chain (incrementals, MITs, multi-capture); use it only together with amount, date and authorization code or ARN. |
| RRN | Retrieval reference number (ISO 8583 field 37) | Useful but not guaranteed unique over long periods |
| ARN | Acquirer reference number: an identifier assigned by the acquirer to a cleared transaction, used to trace it from acquirer to issuer, including in disputes | Not available at authorization; appears after clearing |
| Authorization code | Issuer approval code | Weak alone; use as a corroborating key |
| Amount and currency | Transaction amount in minor units | Match exactly except where documented differences apply |
| Date window | Authorization or capture date plus tolerance | Tolerance covers cutoff and weekend effects |
| Internal ID passthrough | Your payment ID sent in a reference field | Only 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:
- Authorizations never captured (cancelled orders, expired).
- Authorization reversals or partial captures at a lower final amount.
- Captures falling after the cutoff and therefore in the next day's batch (time zone effect).
- Declined or rejected clearing records, or records quarantined at ingest.
- 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:
| Component | Expected from | Variance means |
|---|---|---|
| Interchange | Card product, entry mode, MCC, qualification rules (Qualification and Downgrades) | Downgrade or misapplied rate |
| Assessments and network fees | Network fee schedule | Schedule change or wrong brand mapping |
| Processor markup | Pricing agreement (for example interchange-plus) | Contract misconfiguration |
| Per-item and batch fees | Contract | Counting 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 type | Typical causes | Resolution owner |
|---|---|---|
| Timing | Cutoff, time zone, weekend or holiday, late file | Operations; auto-clears when the counterpart arrives |
| Missing settlement | Authorized and captured but not cleared; capture not transmitted; record quarantined | Payments engineering with processor |
| Amount mismatch | Partial capture, tip adjustment, currency rounding, wrong amount submitted | Payments engineering |
| Duplicate | Resubmitted batch, duplicate file, double capture | Payments engineering; processor |
| Fee variance | Downgrade, fee schedule change, markup misconfiguration | Finance operations with processor or acquirer |
| Unexpected chargeback or adjustment | Dispute not yet in internal system; network fee collection | Risk or disputes team |
| FX | Conversion rate or timing differences, dynamic currency conversion | Treasury 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
| Table | Purpose | Key columns |
|---|---|---|
| recon_run | One execution for a scope and business date | id, scope, business_date, status, started_at, signed_off_by |
| recon_item | A normalized record from any leg | id, run_id, leg, source_file_id, source_sequence, key fields, amount_minor, currency |
| match_group | A set of items judged to agree | id, run_id, match_rule, difference_minor |
| match_group_item | Membership of items in groups | group_id, item_id |
| break | Unexplained difference or unmatched item | id, 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.
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).
Related Topics
- Clearing and Settlement: How Card Payments Move Money — the flows being reconciled.
- Settlement and Funding Files — how the data legs are ingested.
- Qualification and Downgrades — causes of fee variances.
- Chargebacks — source of unexpected adjustments.
- Check your understanding: Clearing and Settlement Quiz
References
- Mastercard Transaction Processing Rules — Mastercard
- Visa USA Interchange Reimbursement Fees — Visa, 2026
- ISO 20022 Message Definitions — ISO 20022 Registration Authority