Skip to content

ISO 20022 migration in payments: messages, pitfalls and testing

B2Bnetwork team · · 6 min

IT in banking

In brief

Migrating to ISO 20022 means a bank stops processing payments in old text formats (Swift MT and domestic formats) and receives, processes and sends XML messages from the pacs, pain and camt families without losing data along the way. SEPA and the Eurosystem's T2 already run on ISO 20022, and Swift ended the coexistence of formats for cross-border payments in November 2025. The hardest part is not the Swift gateway but the internal systems that truncate the richer data: addresses, remittance text, identifiers and reason codes.

What ISO 20022 changes and who already uses it

ISO 20022 is a standard that defines a data model and financial messages. Payments mainly use three families: pain (customer to bank), pacs (bank to bank and to the clearing system) and camt (statements, notifications, investigations). Unlike MT messages, every field has its own place and type: an address is split into street, postcode and town, remittance information can be structured, and the parties can carry identifiers such as the LEI.

The state of the infrastructures a Polish bank works with:

InfrastructureStatus
SEPA (credit transfers and direct debits in euro)EPC schemes are based on ISO 20022 messages
Eurosystem T2runs on ISO 20022 since its launch in March 2023
Swift, cross-border payments (CBPR+)MT and ISO 20022 coexistence for payment instructions ended in November 2025
Swift, addresses in CBPR+removal of fully unstructured addresses was planned for November 2026, but Swift has postponed it and has yet to announce a new date; structured and hybrid addresses already work today

For a bank, this means an incoming message will be richer than what some of its systems can store, and an outgoing message must contain data those systems never collected.

The key messages in bank payment flows

MessageRoleTypical system in the bank
pain.001a transfer order from the customeronline banking, host-to-host
pacs.008a customer transfer between bankspayment engine, gateway to the clearing system
pacs.009a transfer between financial institutionstreasury, interbank settlement
pacs.002payment statuspayment engine, channels
pacs.004payment returnpayment engine, ledger
camt.056 and camt.029a request to recall a payment and the answeroperations, complaints handling
camt.053 and camt.054statement and notification for the customercore system, corporate channels

Customer messages and how they are handled in the corporate channel are covered in Host-to-host banking: bulk payments and file formats.

Where migration hurts most

A gateway that translates MT to XML solves the problem only at the edge of the bank. The trouble is inside:

  • Data truncation. A pacs.008 message carries longer names and remittance text than the fields in an old payment engine. If the system stores 35 characters and receives 140, the rest is lost. A bank forwarding the payment then sends incomplete data.
  • Addresses. The core system keeps the customer's address in one text field, while the outgoing message needs at least the town and country in separate fields. You either clean up customer data or split the address with rules when sending.
  • Sanctions and AML screening. Screening systems receive more fields. That helps quality, but it changes the number of alerts, so the rules have to be tested on the new data before traffic is switched.
  • Reason codes. Rejections and returns have their own codes in ISO 20022. Channels must show the customer an understandable reason, not a raw code.
  • Reports and the ledger. The data warehouse and regulatory reports read MT fields. After the change, some fields change meaning or location.

A migration plan, step by step

  1. An inventory of interfaces. A list of every system that produces or reads payment messages, with format, version and owner.
  2. A canonical model. An internal payment model aligned with ISO 20022, in which no system has to truncate anything. This is an architectural decision worth recording in an ADR.
  3. Translation at the edges of systems that stay old. A translator with an explicit list of fields that get lost and an alert whenever such a payment passes through.
  4. Cleaning up customer data: addresses, names, company identifiers.
  5. Comparison testing on a copy of real traffic (described below).
  6. Switching in stages: first one payment type or one channel, with a fallback plan.

B2Bnetwork engineers run such changes as part of our System integration service: from the data flow map to message contracts and error monitoring after the switch.

How to test an ISO 20022 migration

Testing has four layers:

LayerWhat it checksSample case
Schema and usage rulescompliance with the XSD and the infrastructure's guidelinesthe debtor's address without a town, an end-to-end ID that is too long
Mappingwhether every field lands where it should and nothing disappearsa 140-character remittance text with Polish letters reaches the statement unchanged
Flowstatuses, returns, recalls, retriescamt.056 after the payment is booked, pacs.004 for a partial amount
Downstream systemsAML, sanctions, reports, the ledgerthe same payment in the old and new format gets the same screening result

The most valuable test is the comparison test: the same set of production payments (with personal data masked) goes through the old and the new chain, and a tool compares the output field by field, including postings and alerts. Every difference needs an explanation, and the list of explained differences becomes part of acceptance. General payment testing principles, such as cut-off times, holidays and balance reconciliation, are in Testing payment systems, and keeping interfaces compatible across teams is covered in Contract testing for APIs.

Questions and answers

What is the difference between pain.001 and pacs.008?

pain.001 is the order a customer sends to their bank, often with many transfers in one batch. pacs.008 is the message a bank uses to send a customer's transfer to the clearing system or another bank. The bank receives pain.001, checks it, books it and creates a pacs.008 for each transfer.

Is an MT to ISO 20022 translator at the gateway enough?

In the short term, yes; in the long term, no. A translator lets you send and receive the new messages, but data the old system cannot store is still lost inside the bank. Treat the translator as a transitional stage, with a list of the fields it drops and a plan to replace or extend the systems that truncate them.

What is a hybrid address?

It is an ISO 20022 address format in which the town and country are in separate structured fields, while the rest of the address may stay in text lines. Swift accepts it in cross-border payments alongside a fully structured address. Fully unstructured addresses were due to stop being accepted in November 2026, but Swift has postponed that change and has yet to announce a new date.

Do euro instant payments use ISO 20022 too?

Yes. The SEPA Instant Credit Transfer scheme is based on ISO 20022 messages, just like the regular SEPA credit transfer. The difference is time: the answer must come within seconds, so mapping and validation must not lengthen the payment path. The timing requirements are covered in Instant payments and bank architecture.

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 →