Reconciliation
Definition
Reconciliation is a batch process that matches internal records item by item against an independent external record and flags or corrects every mismatch.
In practice
Timeouts, crashes and lost webhooks mean your ledger and a payment provider can disagree even when every component works as designed. A daily job that matches the ledger against settlement reports catches missing captures, amount mismatches, fees and chargebacks that real-time paths missed.
Reconciliation is a safety net, not a substitute for idempotency and outboxes: it finds errors hours later. Matching needs stable shared identifiers, and a growing pile of unresolved mismatches is a signal that something upstream is broken. The same idea applies to inventory, billing and replicated data.
Example
The nightly job matches 2,000,000 ledger payments against the provider's report and finds 14 captured at the provider but missing in the ledger, which it records as new transactions for review.