How to reconcile payments daily across your system, the provider, the settlement file and the bank, and who owns refunds, chargebacks and exceptions.
The payment succeeds, the customer sees a confirmation, and the order moves to fulfilment. Then the month ends, and what the order system says does not match what landed in the bank account. The gap is not necessarily an error or fraud; it is usually a fee nobody booked, a settlement that arrived late, a partial refund that moved the balance, or a payout that bundled a full day of sales into one line. This article is about the layer no demo ever shows: how payments are actually reconciled, who owns the exceptions, and how the day is closed without closing it by silence.
It is the necessary sequel to our payment gateway integration guide, which explains how a card is accepted, and to our piece on idempotency and payment retries, which explains how a customer is not charged twice. Both stop at the moment a transaction gets an identifier. This article starts there and asks: can you prove that this identifier arrived, for what amount, on which day, under which reference, and who signed off on the difference?
Four records that disagree by nature
The first record is yours: an order, an invoice, a payment transaction linked to both, and a status. The second is the provider: a transaction identifier, an amount, a fee, and the state of authorisation and settlement. The third is the settlement or payout file sent by the provider or the acquirer, which states what will actually be paid after fees and refunds. The fourth is the bank statement, and it is the final truth, because money that does not appear there did not arrive.
These records disagree because they are not measuring the same thing. Your system measures a commercial obligation, the provider measures an authorisation, the settlement file measures a net payable after deductions, and the bank measures a cash movement. Anyone who demands an exact row-by-row match is demanding the impossible, and will end up with «manual adjustments» that hide the gap instead of explaining it. The goal is not literal equality; it is that every difference is explained by a known rule and a reference someone can open.
Matching rules: what a match actually is
The first rule we apply on any engagement: never match on amount alone. Amounts repeat, dates slip, and currencies differ. Match on a unique reference first, then on the provider reference, then on a combination of amount, date, method and customer, and only then on amount within a time window. The order matters because every broader rule increases the chance of a false match, and a false match is worse than no match, because it closes a real exception.
The second rule: fees are not a discrepancy. If settlement arrives net of provider fees, reconciliation needs a fee line booked in your ledger; otherwise every day looks short. The third rule: a bundled payout is not a single transaction. Many providers transfer a full day of sales as one bank line, so the line must be matched against the sum of the transactions rather than each one separately, with the breakdown kept alongside it.
Exceptions: who owns what
An exception is anything a rule did not close. The common failure is one exception list that everyone can see and nobody owns, which becomes an archive. The table below splits the most frequent types by the team that can actually close them, not the team that noticed them.
| Exception | How it shows up | Owner | What closes it |
|---|---|---|---|
| Timing difference | A transaction in your system with no bank line yet | Finance | The line appearing in a later statement inside the declared window |
| Fee or rounding | Arrivals consistently short by a small amount | Finance | A fee line that matches the settlement file |
| Partial refund | The order is open and part of the money came back | Customer operations with finance | Linking the refund to the original transaction and updating the balance |
| Unidentified credit | Money arrived and no order claims it | Operations | Finding the reference, or returning the funds under a recorded decision |
| Duplicate capture | Two valid captures against one order | Engineering | Proving the double charge and refunding the difference |
| Chargeback | A bank debit after a cardholder dispute | Finance with the operational owner | The scheme decision, or the dispute window closing |
| Bundled payout | One bank line covering dozens of transactions | Finance | Matching the total against the transaction breakdown |
Note that an exception is not closed by «reviewed». It is closed by a verifiable event: a line appeared, funds were returned, or a decision was recorded with its owner and date. An exception that is not closed within a declared period should escalate automatically, rather than sit in the queue until it becomes part of the scenery.
Partial refunds: where the reports break
A full refund is easy: the transaction is voided and the order is closed. A partial refund is what exposes a weak model. Is the refund attached to the original transaction or to the order? Can 30 and then 20 be refunded out of 100? Is it recorded as a new transaction or an adjustment to the old one? And if it happens after settlement, who carries the negative balance? If these questions are not settled in the schema before the build, each one will later be settled by an individual decision in a spreadsheet, which is the worst possible place.
The practical rule we use: every refund is an independent transaction with its own identifier, a reference to the original, an amount, a date and a reason. The order carries the refundable total, and the original transaction carries what has been returned against it. That way two questions can be answered at any moment: how much of this transaction has been returned, and how much remains refundable. Whoever edits the amount on the original transaction loses history, and whoever loses history cannot explain a number six months later.
Chargebacks: a process with a deadline
A chargeback is not a reverse payment executed with a click; it is a dispute with deadlines and rules of evidence. The debit notice arrives from the bank or the provider, and a countdown to representment starts. A team without a ready evidence pack — proof of delivery, the communication log, the refund policy, the customer's acceptance — will lose the dispute through neglect rather than through being wrong. A team that has one can decide within an hour: do we contest it, or accept it and fix the cause?
From reading to shipping
Want this built, not just explained?
Bring us the problem behind the article. We will tell you what it takes, what it costs, and whether we are the right team.
That is why a chargeback belongs in the payments system, not in email. Every case carries the notice date, the deadline, the owner, the attached evidence, the decision and the outcome. And we promise no success rate; the rate depends on the scheme, the dispute type and the quality of the evidence, and anyone quoting a number is selling reassurance rather than a service. What matters is that the case is visible before the deadline, because a missed deadline is not recovered.
The daily close: a ritual, not a monthly report
Reconciliation performed at month end is an autopsy, not a treatment. The daily loop is shorter and cheaper: at a declared cut-off, transactions are pulled, the settlement file is loaded, the rules run in order, and three lists come out: matched, known exception, and exception needing investigation. Two people then sign the close, because whoever produces the number should not be the only person who approves it.
A good close does not mean zero exceptions. It means every exception is known, named, owned and dated. Closing a day with seven recorded exceptions is better than closing a «clean» day where differences were absorbed. At month end, do not rebuild the reconciliation from scratch; collect what was closed daily and review only what has aged past its window. That is what turns the monthly close into hours rather than weeks, and what makes an audit possible without reconstruction.
What we check before calling it ready
The list below is what we review in any payments system before calling it operable. It is not a security checklist and not a substitute for the provider's own review, but it is the minimum that stops a discrepancy from becoming a habit. Where the system is connected to an ERP, the same rules apply to the journal entries before they reach the ledger, as set out in our ERP integration checklist. We usually build this loop as part of integrations between systems that already exist.
A unique identifier per transaction stored on our side and present in the settlement file and the bank statement.
A separate fee line for every settlement, so a net amount never looks short.
A partial-refund rule fixed in the schema: a new transaction linked to the original, not an edit of it.
A declared timing window that finance knows before it has to ask.
One exception queue with an owner per type and automatic escalation when the window passes.
A dispute evidence pack built with the order rather than after it, retained for long enough.
A two-signature close that separates whoever produces the number from whoever approves it.
Ledger entries linked to transactions rather than keyed in manually afterwards.
Frequently asked questions (FAQ)
Do we need a new system for reconciliation?
Usually not. You first need a correct data model, a machine-readable settlement file, then a scheduled job and an exception queue. Many gaps that look like a system problem are solved by a unique reference and a fee line. If a system is needed, it comes later, after you know your rules, not before.
Should finance or engineering own reconciliation?
Finance owns the money and the decision; engineering owns the correctness of the data and the jobs that produce it. The split is not bureaucracy; it is what prevents a gap from being fixed by editing a number. The best arrangement is one operational owner of the loop, with the authority to pull both sides in.
How often should we reconcile?
Daily for systems that take payments every day, and real-time only for the sensitive operations that cannot wait. Real-time matching of everything is expensive and creates noise, because many differences are temporary by nature. What matters is that the daily cycle is shorter than the life of a gap before it becomes a problem.
What do we do with money we cannot attribute?
It sits in a suspense account, its reference is investigated, and it is returned under a recorded decision if it remains unidentified past a set period. It is not recognised as revenue and not used to cover another gap. Unidentified money absorbed into reconciliation becomes a deferred legal problem, not profit.
Sources
Saudi Central Bank — regulation of payment systems and services in the Kingdom.
PCI Security Standards Council — the PCI DSS standard for cardholder data.
ISO — standards for financial messaging and its data elements.
Zakat, Tax and Customs Authority — e-invoicing requirements tied to payments.
Cover image: Jakub Żerdzicki, Unsplash License, via Unsplash.

