Skip to content

Bank data migration testing: reconciliation and acceptance criteria

B2Bnetwork team · · 6 min

IT in banking

In brief

Data migration testing in a bank proves that after the move to a new system every customer has the same accounts, balances, contracts and history, and that the new system calculates the same results from them as the old one. This is done through reconciliation at four levels: record counts, control totals, field-by-field comparison and comparison of business results such as interest and repayment schedules. Acceptance criteria are written down before the first trial run, with a threshold for each category of difference.

What you have to prove after migration

A bank migration ends with a cutover decision. The board, risk and audit sign it off based on evidence, not on the team's assurances. The evidence has to answer four questions:

  1. Has nothing been lost and nothing duplicated? Every customer, account, contract and transaction from the old system has exactly one counterpart in the new one.
  2. Do the values match? Balances, limits, interest rates, dates, collateral, powers of attorney.
  3. Does the new system calculate the same? Interest for the next period, a loan installment, a card fee come out the same as in the old system, or differ for a documented reason.
  4. Does the general ledger balance? The sum of product balances in the new system matches the general ledger accounts after migration.

The migration techniques themselves, such as customer waves and change data capture, are described in Migrating customer data without interrupting service. This article is about how to check the result.

Four levels of reconciliation

LevelWhat we compareBanking exampleWhat it detects
1. countsnumber of records per object and statusactive, closed, blocked accountslost and duplicated records, wrong filters
2. control totalssums of amounts in cross-sectionsbalance by product, currency, branchcurrency conversion, sign and rounding errors
3. field by fieldeach record by business keyinterest rate, dates, account holdersmapping errors, truncated text, wrong code lists
4. business resultwhat the system calculates from the datamonthly interest, loan scheduledifferences in the rules of the two systems

Levels 1 and 2 are fast and run after every trial. Level 3 needs a key that links the old and new records, for example the account number or the contract ID. Store the key mapping table during the migration itself, because rebuilding it later costs days.

Level 4 is often skipped, yet it catches the most expensive errors. Two systems can hold the same data and calculate differently: a different day-count convention, a different accrual date, a different installment rounding. This is checked with a parallel run. Both systems accrue interest and generate schedules for the same period, and a script compares the results for every contract.

Categories of differences and acceptance criteria

There will always be differences. What matters is that each one lands in a category and each category has a threshold agreed before the first trial. An example set:

Category of differenceExampleThreshold for cutover
balance or contract amounta different account balance after migrationzero unexplained
missing or duplicate objectan account without a counterpartzero
attribute affecting accrualsa different interest rate or next installment datezero unexplained
difference in an accrual resultinterest differs by one cent due to roundingacceptable when the cause is documented and approved
descriptive attributea shortened address, different capitalizationa list to fix after cutover, with an owner
data deliberately not migratedclosed accounts older than the agreed perioda recorded decision, archive available

An "explained" difference is one whose cause has been approved by the product owner or finance, for example a deliberate rounding change in the new system. A "fixed" difference goes back into the next migration trial, not into a manual correction in the new system, because a manual correction will not repeat itself in the production migration.

Trial migrations and their metrics

Acceptance criteria are checked over a series of trials. Each trial is closer to production: full volume, the target environment, the target window schedule. After each one, the team measures the same things:

  • the number of differences in each category and its trend between trials,
  • migration time and reconciliation time, because both must fit in the cutover window,
  • the number of records rejected by validation and the reasons,
  • the number of manual steps in the procedure, which should fall to zero.

The last trial before cutover is the dress rehearsal: the whole procedure with the rollback plan, the clock and the people who will work on migration night. If a new category of difference appears in it, consider moving the cutover date. A wider view of migration testing beyond banking is given in Data migration testing: how to prove nothing was lost.

Data, environment and audit evidence

Migration trials need data with production volume and distribution, because rare cases only surface at full volume: an account with a dozen authorized persons, a loan with a payment holiday, a customer with data from before a code list reform. The delegated regulation under DORA (the EU Digital Operational Resilience Act) on the ICT risk management framework allows production data in non-production environments only for specific tests, for a limited time and with approval from the relevant function. Such trials have to be planned together with security, and the environment cleaned afterwards. Customer data in trials is still personal data under the GDPR, with an access log and a deletion date. How to organize environments is covered in Test environments in a bank.

Evidence for audit and risk is usually a package:

  • reconciliation reports from each trial, with the script version and date,
  • a register of differences with category, cause, decision and approver,
  • the result of the parallel accrual run,
  • the dress rehearsal record and the rollback plan,
  • signed acceptance criteria and the cutover decision.

Accuracy of risk data and its reconciliation with accounting data is also a BCBS 239 principle, so well-run migration reconciliations pay off later in reporting.

B2Bnetwork engineers build reconciliation scripts, parallel runs and reports for migrations like these. The scope is described on the Data and reporting page, and an example from a merger of two banks is shown in this case study.

Questions and answers

How many trial migrations does a bank need?

Usually several, and the number depends on how fast differences decline. A practical rule: cut over after at least one dress rehearsal with no new category of difference, a run time that fits the window and no manual steps outside the procedure. Plan the project with room for two extra trials.

Is comparing balances enough?

No. Matching balances do not guarantee matching accruals. A loan can have the same balance and a different next installment date, or a different rate after an index change. Only comparing schedules and interest in a parallel run shows whether the new system will calculate the same in the coming months.

Who signs off the migration?

Product owners confirm the data of their products, finance confirms consistency with the general ledger, risk and security accept the residual risk, and the program committee makes the cutover decision. The test team provides the evidence and the register of differences, but it should not set the thresholds itself.

What about data that fails the new system's validation?

Every rejected record goes into a register with its cause. Some are fixed in the old system before the next trial, some need a rule in the migration, and some need a business decision, for example that closed accounts older than a certain date stay in the archive. Manual corrections in the new system after migration are a last resort.

What it looks like in a project

Working on banking systems? Talk to an engineer who knows their constraints.

Let's talk

Read more: IT in banking

All in IT in banking →