Data-Mapping Specs for Core Banking Migrations
bankingNovember 24, 2026

Data-Mapping Specs for Core Banking Migrations

Field-level lineage and reconciliation as acceptance criteria

Core banking migrations rarely go wrong because the extraction scripts fail. They go wrong because two systems that both claim to hold an "account status" or a "maturity date" mean slightly different things by it, and nobody wrote down exactly how one becomes the other. The code then faithfully implements an ambiguity. The first sign of trouble is a customer whose dormant account shows as active, a loan whose interest accrual is a day off, or a finance team whose general ledger total no longer matches the sum of migrated balances. 


The document that prevents this is the data-mapping specification. In many programmes it starts life as a spreadsheet with a column labelled "transformation" that mostly says "direct map". That's enough for a demo and not enough for a bank. A mapping spec for a core migration has three readers with very different needs. Engineers build from it. Testers verify against it. And internal audit and risk functions want to trace any value in the new system back to its origin and see that the totals that matter came across intact. This piece, written from the business analyst's seat, covers how to write a spec that serves all three: what each mapping row needs, how to handle empty values deliberately, how to express lineage, and how to make reconciliation the acceptance criterion rather than an afterthought. 


The mapping row is a contract, not a cross-reference 


A useful test of any mapping row: could an engineer implement it, a tester write a test for it and an auditor accept it as evidence, without any of them asking the BA a question? Most rows fail that test because they describe where data goes, not what happens to it on the way. A row that passes looks more like this: 


 1 Rule:            MAP-ACC-017  (version 3) 
 2 Target:          core.account.status  — enum ACTIVE | DORMANT | BLOCKED | CLOSED 
 3 Source:          LEGACY.ACCMAST.ACST  — CHAR(1) 
 4 Transformation:  'A' → ACTIVE 
 5                  'D' → DORMANT 
 6                  'B', 'F' → BLOCKED 
 7                  'C' → CLOSED 
 8                  block_reason keeps the merged distinction: 
 9                      'B' → core.account.block_reason = OPERATIONAL 
10                      'F' → core.account.block_reason = FRAUD 
11 Empty / invalid: space, NULL or any other value → record rejected to 
12                  exception queue E-ACC-STATUS; no default applied 
13 Reconciliation:  REC-ACC-004 — account count per status, source vs target 
14 Business owner:  Head of Account Servicing 
15 Approved:        2026-10-14 

Every element earns its place. The rule ID and version let lineage, tests and sign-offs refer to an exact definition, not to "row 214 of the spreadsheet as it was in September". The source format matters because CHAR(1) filled with a blank behaves differently from a nullable column. The transformation is written out value by value, not summarised. The empty-value rule is explicit. The reconciliation rule that proves the mapping worked is named. And a business owner, not the BA, has approved the meaning. 


Look closely at the 'B' and 'F' line, because this is where migrations quietly lose information. Two legacy values become one target value. That might be fine, or it might drop a distinction that operations, fraud or a regulator relies on. Every many-to-one mapping should state what is merged, where the lost distinction is preserved if it needs to be (here, in block_reason), and who accepted the merge. 


"Empty" is not one thing 

Legacy core systems have decades of conventions for "no value", and a mapping spec that treats them all as null will migrate them wrongly. A single field can contain several of these at once: 

 1 a true database NULL; 
 2 an empty string, or a fixed-width field full of spaces; 
 3 zero, which in an amount field may be a real zero balance, or may mean "not captured"; 
 4 sentinel values such as 01-01-1900 for "no maturity date", 99999999 for "no limit", or 'X' for "not applicable"; 
 5 values that are technically present but invalid: a branch code that no longer exists, or a currency code retired years ago. 

For each target field, the spec needs a deliberate decision about every one of these, chosen from a small set of options: carry the value as null, apply a documented default, derive the value from another field, or reject the record to an exception queue for a business decision. The choice between "unknown" and "not applicable" is especially important. A loan with no maturity date because it's revolving is different from a loan whose maturity date was never captured, and the target system will treat the two very differently. 

Defaults deserve particular caution. A default that makes the load succeed can hide a data quality problem that should have been fixed at source. A useful rule of thumb: defaults are acceptable for presentation fields, questionable for classification fields, and never acceptable for amounts, dates that drive interest or fees, or anything used in customer communication. Those values either come across exactly, or the record goes to the exception queue for someone with authority to decide. 


Lineage at field level, recorded as data 

Auditors and risk functions ask a simple question with a demanding answer: where did this value come from? For a migrated balance, interest rate or customer risk classification, the answer should be retrievable for any individual field, not reconstructed from memory and spreadsheets months later. Supervisors have been pushing in the same direction for years. The Basel Committee's principles on risk data aggregation and reporting (BCBS 239) set the baseline, and the ECB's 2024 guide on the topic makes data lineage an explicit part of what supervisors expect banks to be able to demonstrate. 


In practice, field-level lineage for a migration means: 

  • every target field references the rule ID and version that populated it, and every rule references its source fields; 
  • the rule set is version-controlled, so the lineage for a field loaded in rehearsal three can be distinguished from the lineage in the production cutover; 
  • the migration tooling writes the rule ID and run ID into its own load logs or metadata tables, so lineage is recorded by the process itself rather than documented next to it. 

Recorded this way, lineage becomes queryable. "Show me every target field derived from LEGACY.ACCMAST" or "show me every rule that changed between rehearsal two and three" become questions with direct answers. That makes impact analysis during the programme easier, and it makes the post-migration audit much shorter. 


Reconciliation is the acceptance criterion 

Testing that individual transformations work is necessary but not sufficient. The real question a bank's management and auditors need answered is whether everything came across: no records lost, none duplicated, no value changed in a way that wasn't intended. That's what reconciliation proves, and it should be specified, owned and approved as part of the mapping spec, not designed by the test team in the last month. 


A sound reconciliation framework works at several levels: 

Record counts per entity and per segment: customers, accounts per product and status, loans, standing orders, cards. 

Control totals on every amount that matters: balances per currency and product, accrued interest, overdue amounts, approved limits, collateral values. 

Hash totals on key identifiers, to catch records that were swapped or re-keyed even when counts match. 

Field-level sample comparison, with sampling weighted toward high-risk populations such as dormant accounts, accounts under legal hold, and loansin arrears. 

Business reconciliation by finance and product control: does the migrated position agree with the general ledger, and do interest and fee calculations in the new system produce the same results for a test period? 


Written as acceptance criteria, these become unambiguous: 

When a migration run completes, the sum of ledger (booked) balances 
per currency and product in the target core, plus the balances of 
records in exception queues and in the explained differences 
register, shall equal the sum in the source extract, with zero 
tolerance. 

When a migration run completes, every source record shall be 
loaded to the target, present in an exception queue, or excluded 
by a rule in the explained differences register, and the three 
counts together shall equal the source extract count. 
 
If any control total differs between the source and the target plus 
exception queues and explained differences, then the run shall be 
marked failed and the difference recorded in the reconciliation log 
with the responsible mapping rule. 

  

The check behind the first two criteria is straightforward to automate. This is the kind of query our SQL colleagues build into every rehearsal run: 


 1 -- Control totals by currency and product (PostgreSQL syntax): 
 2 -- source extract vs target core + exception queues + explained 
 3 -- differences. An empty result means the reconciliation passed. 
 4 WITH accounted AS ( 
 5   SELECT currency, product_code, 
 6          SUM(account_count) AS account_count, 
 7          SUM(total_balance) AS total_balance 
 8   FROM (SELECT currency, product_code, account_count, total_balance 
 9           FROM recon.target_totals 
10         UNION ALL 
11         SELECT currency, product_code, account_count, total_balance 
12           FROM recon.exception_totals 
13         UNION ALL 
14         SELECT currency, product_code, account_count, total_balance 
15           FROM recon.explained_totals) x 
16   GROUP BY currency, product_code 
17 ) 
18 SELECT currency, product_code, 
19        s.account_count AS source_accounts, 
20        a.account_count AS accounted_accounts, 
21        s.total_balance AS source_balance, 
22        a.total_balance AS accounted_balance 
23 FROM recon.source_totals s 
24 FULL OUTER JOIN accounted a USING (currency, product_code) 
25 WHERE s.account_count IS DISTINCT FROM a.account_count 
26    OR s.total_balance IS DISTINCT FROM a.total_balance; 

Three details matter here. Rejected and excluded records are added back on the accounted side, so a run with legitimate exceptions still reconciles exactly, while anything unaccounted for surfaces as a difference. The full outer join catches a product or currency that exists on only one side, which an inner join would hide. IS DISTINCT FROM treats a missing row as a difference rather than silently ignoring it. For money, the tolerance is zero. Where a difference is expected, for example because a mapping deliberately excludes closed accounts older than a retention period, it belongs in an "explained differences" register with the rule that causes it and the owner who approved it. It doesn't belong in a tolerance threshold. 


Sign-off at every stage, by the right people 

A migration passes through several gates, and each needs explicit sign-off from people with the authority to give it: 

  • Mapping approved. For each business domain, the data owner confirms that the rules express the intended meaning. The BA confirms that they're complete and unambiguous.
  • Rehearsal runs. After each mock migration, the migration lead confirms technical completion and the reconciliation report shows every control passed or every difference explained. Rules changed after a rehearsal go back through mapping approval. 
  • Dress rehearsal. A full run under cutover conditions and timings, with finance or product control confirming the business reconciliation. 

Cutover go/no-go. Business, operations, finance and technology leads sign off against defined criteria, including how long reconciliation will take in the cutover window. 


Post-migration. The final reconciliation on production data is signed by finance and the data owners, the exception queues are worked through to closure, and the hypercare period ends against agreed exit criteria. 


Internal audit's role deserves care. Audit typically observes the process and reviews the evidence, rather than signing off as a participant, to preserve its independence. A spec that names the evidence pack at each gate (approved mapping version, reconciliation reports, exception queue status, explained differences register) makes that review straightforward. 


Keeping the spec live 

A mapping spec that's approved once and then left alone will be wrong by the second rehearsal, because rehearsals exist precisely to find the rules that don't work on real data. Treat the spec as a versioned artefact: every change gets a reason, a new version number and a fresh approval, and every rehearsal records which version it ran. Rehearsals on production data also need the same controls as production. Reconciliation needs real values, so the environments, access rights and retention for migration data should be agreed with the data protection officer before the first run, not after. 


What this adds up to 

A core banking migration is ultimately judged on one question: did every customer's money, terms and history arrive intact and mean the same thing in the new system? The mapping spec is where that question is answered in advance. Precise rules, deliberate handling of empty values, lineage recorded as data, reconciliation written as acceptance criteria, and named sign-offs at every gate make the answer provable, to the programme board, to auditors and to the customers who never notice the migration happened. That's the standard we hold our own migration work to, because in banking the specification is part of the control framework, not paperwork around it.