Payments Training Hub
ISO 20022 message NOW ISO 20022 message Group Header ISO 20022 element Structure Mandatory vs optional elements MESSAGE TRACE ISO 20022 message An ISO 20022 message is an XML document with a clear, hierarchical structure. Step 1 of 5 ISO 20022 message 1 NOW ISO 20022 message 2 Group Header 3 ISO 20022 element 4 Structure 5 Mandatory vs optional elements An ISO 20022 message is an XML document with a clear, hierarchical structure. Step 1 of 5
Group Header ISO 20022 message NOW Group Header ISO 20022 element Structure Mandatory vs optional elements MESSAGE TRACE ISO 20022 message > Group Header After the Group Header, there are one or more Payment Information blocks, each of which contains information Step 2 of 5 Group Header 1 ISO 20022 message 2 NOW Group Header 3 ISO 20022 element 4 Structure 5 Mandatory vs optional elements After the Group Header, there are one or more Payment Information blocks, each of which contains information about a batch of payments, such as the debtor, the debtor agent, Step 2 of 5
ISO 20022 element names ISO 20022 message Group Header NOW ISO 20022 element Structure Mandatory vs optional elements MESSAGE TRACE ISO 20022 message > Group Header > ISO 20022 element Each element in the XML has a descriptive name, such as Dbtr for debtor, Cdtr for creditor, InstdAmt for Step 3 of 5 ISO 20022 element names 1 ISO 20022 message 2 Group Header 3 NOW ISO 20022 element 4 Structure 5 Mandatory vs optional elements Each element in the XML has a descriptive name, such as Dbtr for debtor, Cdtr for creditor, InstdAmt for instructed amount, and RmtInf for remittance information. Step 3 of 5
Structure allows for far more ISO 20022 message Group Header ISO 20022 element NOW Structure Mandatory vs optional elements MESSAGE TRACE ISO 20022 message > Group Header > ISO 20022 element > Structure This structure allows for far more detail than MT, but it also means that messages are larger and require XML Step 4 of 5 Structure allows for far more 1 ISO 20022 message 2 Group Header 3 ISO 20022 element 4 NOW Structure 5 Mandatory vs optional elements This structure allows for far more detail than MT, but it also means that messages are larger and require XML parsing rather than simple text parsing. Step 4 of 5
Mandatory vs optional elements ISO 20022 message Group Header ISO 20022 element Structure NOW Mandatory vs optional elements MESSAGE TRACE ISO 20022 message > Group Header > ISO 20022 element > Structure > Mandatory vs optional elements You should also understand the difference between mandatory and optional elements Step 5 of 5 Mandatory vs optional elements 1 ISO 20022 message 2 Group Header 3 ISO 20022 element 4 Structure 5 NOW Mandatory vs optional elements You should also understand the difference between mandatory and optional elements Step 5 of 5

Flow of the explanation in this lesson.

0:00 / 2:13 Step 1 of 5

XML structure, how an ISO 20022 message is built

ISO 20022 Fundamentals, Lesson 3 of 10, Narration 2:13, D04 Messaging and standards

Remittance informationISO 20022Creditor

What you will learn

Your objective. By the end of this lesson, you will be able to explain XML structure, how an ISO 20022 message is built. An ISO 20022 message is an XML document with a clear, hierarchical structure.

Why it matters. A business analyst does not need to be an XML developer, but must be able to read an ISO 20022 message, identify the key elements, and explain what each element means.

Chapter objective: Learner explains ISO 20022 structure, including business concepts, message definitions, XML syntax, and the roles of pacs, pain, camt, and admi messages, and navigates the message catalogue confidently. Learner practises this skill on realistic banking cases, explaining the reasoning clearly and using correct terminology throughout the work.

Key learning points

  • ISO 20022 message
  • Group Header
  • ISO 20022 element names
  • Structure allows for far more
  • Mandatory vs optional elements

Key terms

Remittance information: Information that explains what a payment is for, such as invoice numbers, contract references or salary month.

ISO 20022: An international standard for financial messaging that defines XML message formats for payments, securities and trade.

Creditor: The party that is owed money and receives a payment, such as a supplier, a seller or a service provider.

Payment flow diagram showing XML structure, how an ISO 20022 message is built.

Practise this lesson

Exercise

Read the ISO 20022 message message described in this lesson and identify its key parts.

Use the message structure, fields and example in this lesson.

  1. What to do. List the main blocks of the message, name the field that carries the amount, and name the field that identifies the payment.

Correct result. The message is made of blocks, each carrying a part of the payment instruction. The amount field and the identification field are the two a receiving bank checks first, because without them it cannot process or reconcile the payment.

Why. A message is only useful if you can read it. The blocks tell the receiving bank what to do, and the amount and identification fields are what it checks first.

Check your understanding

Practice question

Which of the following best describes XML structure, how an ISO 20022 message is built?

Takeaway and next step

What to remember

A business analyst does not need to be an XML developer, but must be able to read an ISO 20022 message, identify the key elements, and explain what each element means.

Open the message type from this lesson and inspect its fields, then find the field that carries the amount.

Open the ISO 20022 Message Explorer →

Builds on "Why ISO 20022 replaced MT".

Transcript and full text

Show transcript

An ISO 20022 message is an XML document with a clear, hierarchical structure. At the top level, there is a Document element that contains the message itself, for example a FIToFICstmrCdtTrf element for a pacs zero zero eight. Inside the Document, there is a Group Header, which contains information about the message as a whole, such as the message identification, the creation date and time, and the number of transactions. After the Group Header, there are one or more Payment Information blocks, each of which contains information about a batch of payments, such as the debtor, the debtor agent, and the payment method. Inside each Payment Information block, there are one or more Credit Transfer Transaction Information blocks, each of which describes a single payment to a single creditor. Each element in the XML has a descriptive name, such as Dbtr for debtor, Cdtr for creditor, InstdAmt for instructed amount, and RmtInf for remittance information. The names are abbreviated, but they are consistent across messages, so once you learn them, you can read any ISO 20022 message. The XML also uses attributes and nested elements to represent structure, for example an address is represented as a PstlAdr element with sub elements for street name, town, and country. This structure allows for far more detail than MT, but it also means that messages are larger and require XML parsing rather than simple text parsing. A business analyst does not need to be an XML developer, but must be able to read an ISO 20022 message, identify the key elements, and explain what each element means. You should be able to open a pacs zero zero eight, find the Group Header, find the Payment Information, find the transaction, and trace the debtor to the creditor. You should also understand the difference between mandatory and optional elements, and between elements that are defined by the ISO standard and elements that are defined by a specific scheme usage guideline. The usage guideline is the scheme specific profile that tells banks exactly which elements to populate and how, and it is the document that drives implementation. Worked example with real numbers: a pacs.008 for EUR 10,000 carries a Group Header with MsgId BANKA20261109-001, NbOfTxs 1 and CtrlSum 10000, a Payment Information block with PmtInfId PAYINF-001 and Dbtr Acme Manufacturing SARL, and a Credit Transfer Transaction Information block with EndToEndId INV-2026-1187, InstdAmt EUR 10000, Cdtr Rhine Metals GmbH and RmtInf Invoice INV-2026-1187. If the CtrlSum were EUR 9,000, the message would be rejected, because the control sum does not match the transaction amount, and the sender must correct it and resend with a new MsgId. The XML structure is therefore not decoration, it is the control that proves the message is complete and reconcilable. Failure and recovery: a schema error, such as a missing mandatory element or a wrong data type, rejects the whole message, and the recovery is to fix the field and resend with a new MsgId, because reusing the old MsgId would be treated as a duplicate. A namespace error, where the message declares the wrong version, rejects the whole file, and the recovery is to upgrade the version, which is a project change. A business rule error, such as an amount with three decimal places for EUR, is rejected with a pacs.002 and a reason code, and the fix is in the business data. Each failure is reported in a pacs.002, and the operations team must be able to read the reason code and tell the customer which field to fix. For a business analyst, product owner or subject matter expert, the test is to read a pacs.008 and to explain the three levels, Group Header, Payment Information and Credit Transfer Transaction Information, and what each level carries, without a dictionary. The Group Header is the envelope, the Payment Information is the batch, and the Credit Transfer Transaction Information is the single payment, and the requirement must state which level each field belongs to, because a field in the wrong level will be rejected. The annotated XML samples in ch6s8 are the reference for this lesson, and a requirement that describes a message without an annotated sample will be interpreted differently by every developer, and the product will fail its first schema test.

An ISO 20022 message is an XML document with a clear, hierarchical structure. At the top level, there is a Document element that contains the message itself, for example a FIToFICstmrCdtTrf element for a pacs zero zero eight. Inside the Document, there is a Group Header, which contains information about the message as a whole, such as the message identification, the creation date and time, and the number of transactions. After the Group Header, there are one or more Payment Information blocks, each of which contains information about a batch of payments, such as the debtor, the debtor agent, and the payment method. Inside each Payment Information block, there are one or more Credit Transfer Transaction Information blocks, each of which describes a single payment to a single creditor.

Each element in the XML has a descriptive name, such as Dbtr for debtor, Cdtr for creditor, InstdAmt for instructed amount, and RmtInf for remittance information. The names are abbreviated, but they are consistent across messages, so once you learn them, you can read any ISO 20022 message. The XML also uses attributes and nested elements to represent structure, for example an address is represented as a PstlAdr element with sub elements for street name, town, and country. This structure allows for far more detail than MT, but it also means that messages are larger and require XML parsing rather than simple text parsing.

A business analyst does not need to be an XML developer, but must be able to read an ISO 20022 message, identify the key elements, and explain what each element means. You should be able to open a pacs zero zero eight, find the Group Header, find the Payment Information, find the transaction, and trace the debtor to the creditor. You should also understand the difference between mandatory and optional elements, and between elements that are defined by the ISO standard and elements that are defined by a specific scheme usage guideline. The usage guideline is the scheme specific profile that tells banks exactly which elements to populate and how, and it is the document that drives implementation.

Worked example with real numbers: a pacs.008 for EUR 10,000 carries a Group Header with MsgId BANKA20261109-001, NbOfTxs 1 and CtrlSum 10000, a Payment Information block with PmtInfId PAYINF-001 and Dbtr Acme Manufacturing SARL, and a Credit Transfer Transaction Information block with EndToEndId INV-2026-1187, InstdAmt EUR 10000, Cdtr Rhine Metals GmbH and RmtInf Invoice INV-2026-1187. If the CtrlSum were EUR 9,000, the message would be rejected, because the control sum does not match the transaction amount, and the sender must correct it and resend with a new MsgId. The XML structure is therefore not decoration, it is the control that proves the message is complete and reconcilable.

Failure and recovery: a schema error, such as a missing mandatory element or a wrong data type, rejects the whole message, and the recovery is to fix the field and resend with a new MsgId, because reusing the old MsgId would be treated as a duplicate. A namespace error, where the message declares the wrong version, rejects the whole file, and the recovery is to upgrade the version, which is a project change. A business rule error, such as an amount with three decimal places for EUR, is rejected with a pacs.002 and a reason code, and the fix is in the business data. Each failure is reported in a pacs.002, and the operations team must be able to read the reason code and tell the customer which field to fix.

For a business analyst, product owner or subject matter expert, the test is to read a pacs.008 and to explain the three levels, Group Header, Payment Information and Credit Transfer Transaction Information, and what each level carries, without a dictionary. The Group Header is the envelope, the Payment Information is the batch, and the Credit Transfer Transaction Information is the single payment, and the requirement must state which level each field belongs to, because a field in the wrong level will be rejected. The annotated XML samples in ch6s8 are the reference for this lesson, and a requirement that describes a message without an annotated sample will be interpreted differently by every developer, and the product will fail its first schema test.

Full lesson text (all scenes)

Completing a lesson updates your progress dashboard on the homepage.

Scene timestamps are estimated by allocating the narration text proportionally across the real audio length. The audio playback position is the source of truth: pause freezes the visual, seeking restores the correct scene, replay restarts the scene animation.