acmt.030.001.02
The AccountSwitchRequestRedirection message is sent by the new account servicer to a central account switch servicer to set up the redirection of payment and collection transactions that are processed after completion of the account switch. It is routed to the previous account servicer to signal that it should schedule the cancellation of all payment arrangements on the old account. This message may also be used by the new bank to amend the new account details, if the details previously provided were incorrect.
Message Construction
Every ISO20022 message has at the highest level what we call ‘building blocks’. Because the message is constructed as immutable records, the association is by composition. Below you can see the relationship between the message and its constituent building blocks: For comparison, see the ISO20022 official specification
classDiagram direction LR %% AccountSwitchRequestRedirectionV02 recursion level 0 with max 0 AccountSwitchRequestRedirectionV02 *-- "1..1" MessageIdentification1 : MessageIdentification AccountSwitchRequestRedirectionV02 *-- "1..1" AccountSwitchDetails1 : AccountSwitchDetails AccountSwitchRequestRedirectionV02 *-- "1..1" CashAccount39 : NewAccount AccountSwitchRequestRedirectionV02 *-- "1..1" CashAccount39 : OldAccount AccountSwitchRequestRedirectionV02 *-- "0..1" SupplementaryData1 : SupplementaryData
Now, we will zero-in one-by-one on each of these building blocks.
MessageIdentification building block
Unique identification for the message. Identifies a message by a unique identifier and the date and time when the message was created by the sender. For comparison, see the ISO20022 official specification
classDiagram direction tb %% MessageIdentification1 recursion level 0 with max 1 class MessageIdentification1{ Identification IsoMax35Text CreationDateTime IsoISODateTime }
MessageIdentification1 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Identification | Identification of the message. | IsoMax35Text - Required 1..1 |
CreationDateTime | Date of creation of the message. | IsoISODateTime - Required 1..1 |
AccountSwitchDetails building block
Contains information about the details of the account switch. Details of the account switch, including its status and any response codes. For comparison, see the ISO20022 official specification
classDiagram direction tb %% AccountSwitchDetails1 recursion level 0 with max 1 class AccountSwitchDetails1{ UniqueReferenceNumber IsoMax35Text RoutingUniqueReferenceNumber IsoMax35Text SwitchReceivedDateTime IsoISODateTime SwitchDate IsoISODate SwitchType SwitchType1Code SwitchStatus SwitchStatus1Code BalanceTransferWindow BalanceTransferWindow1Code } AccountSwitchDetails1 *-- "0..0" ResponseDetails1 : Response %% ResponseDetails1 recursion level 1 with max 1 class ResponseDetails1{ ResponseCode IsoMax35Text AdditionalDetails IsoMax350Text }
AccountSwitchDetails1 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
UniqueReferenceNumber | Unique number that provides unique and unambiguous identification of the account switch. | IsoMax35Text - Required 1..1 |
RoutingUniqueReferenceNumber | Unique number that provides unique and unambiguous identification of the account switch. Usage: Where one or more account switches have taken place since the original account switch this field contains the unique number that relates to the switch that transferred the account to the latest new account servicer. | IsoMax35Text - Required 1..1 |
SwitchReceivedDateTime | Date and time that the request was received by the central switch service, populated by the central switch service only. | IsoISODateTime - Optional 0..1 |
SwitchDate | Date on which the account switch is expected to have completed. The value is the same as the targeted switch date if the switch completes in the expected timeline. | IsoISODate - Optional 0..1 |
SwitchType | Indicates whether the account switch is a full switch or a partial switch. Usage: A full switch indicates the transfer of the full balance of the account and associated payment mandates. A partial switch indicates the transfer of certain payment mandates to a new account. | SwitchType1Code - Required 1..1 |
SwitchStatus | State of the account switch at the time the message is sent. | SwitchStatus1Code - Optional 0..1 |
BalanceTransferWindow | Identifies the processing window in which the balance transfer will be processed on the day of the account switch. | BalanceTransferWindow1Code - Optional 0..1 |
Response | Response code and additional information. | ResponseDetails1 - Unknown 0..0 |
NewAccount building block
Account servicer holding the account to which the switch will be made for example the acquiring account servicer. Provides the details to identify an account. For comparison, see the ISO20022 official specification
classDiagram direction tb %% CashAccount39 recursion level 0 with max 1 class CashAccount39{ Currency ActiveOrHistoricCurrencyCode Name IsoMax70Text } CashAccount39 *-- "1..1" IAccountIdentification4Choice : Identification CashAccount39 *-- "0..1" ICashAccountType2Choice : Type CashAccount39 *-- "0..1" ProxyAccountIdentification1 : Proxy CashAccount39 *-- "0..1" PartyIdentification135 : Owner CashAccount39 *-- "0..1" BranchAndFinancialInstitutionIdentification6 : Servicer %% IAccountIdentification4Choice recursion level 1 with max 1 %% ICashAccountType2Choice recursion level 1 with max 1 %% ProxyAccountIdentification1 recursion level 1 with max 1 class ProxyAccountIdentification1{ Identification IsoMax2048Text } ProxyAccountIdentification1 *-- "0..1" IProxyAccountType1Choice : Type %% PartyIdentification135 recursion level 1 with max 1 class PartyIdentification135{ Name IsoMax140Text CountryOfResidence CountryCode } PartyIdentification135 *-- "0..1" PostalAddress24 : PostalAddress PartyIdentification135 *-- "0..1" IParty38Choice : Identification PartyIdentification135 *-- "0..1" Contact4 : ContactDetails %% BranchAndFinancialInstitutionIdentification6 recursion level 1 with max 1 BranchAndFinancialInstitutionIdentification6 *-- "1..1" FinancialInstitutionIdentification18 : FinancialInstitutionIdentification BranchAndFinancialInstitutionIdentification6 *-- "0..1" BranchData3 : BranchIdentification
CashAccount39 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Identification | Unique and unambiguous identification for the account between the account owner and the account servicer. | IAccountIdentification4Choice - Required 1..1 |
Type | Specifies the nature, or use of the account. | ICashAccountType2Choice - Optional 0..1 |
Currency | Identification of the currency in which the account is held. | ActiveOrHistoricCurrencyCode - Optional 0..1 |
Name | Name of the account, as assigned by the account servicing institution, in agreement with the account owner in order to provide an additional means of identification of the account. | |
Proxy | Specifies an alternate assumed name for the identification of the account. | ProxyAccountIdentification1 - Optional 0..1 |
Owner | Party that legally owns the account. | PartyIdentification135 - Optional 0..1 |
Servicer | Party that manages the account on behalf of the account owner, that is manages the registration and booking of entries on the account, calculates balances on the account and provides information about the account. | BranchAndFinancialInstitutionIdentification6 - Optional 0..1 |
OldAccount building block
Account held at the old account servicer being switched to the new account servicer. Provides the details to identify an account. For comparison, see the ISO20022 official specification
classDiagram direction tb %% CashAccount39 recursion level 0 with max 1 class CashAccount39{ Currency ActiveOrHistoricCurrencyCode Name IsoMax70Text } CashAccount39 *-- "1..1" IAccountIdentification4Choice : Identification CashAccount39 *-- "0..1" ICashAccountType2Choice : Type CashAccount39 *-- "0..1" ProxyAccountIdentification1 : Proxy CashAccount39 *-- "0..1" PartyIdentification135 : Owner CashAccount39 *-- "0..1" BranchAndFinancialInstitutionIdentification6 : Servicer %% IAccountIdentification4Choice recursion level 1 with max 1 %% ICashAccountType2Choice recursion level 1 with max 1 %% ProxyAccountIdentification1 recursion level 1 with max 1 class ProxyAccountIdentification1{ Identification IsoMax2048Text } ProxyAccountIdentification1 *-- "0..1" IProxyAccountType1Choice : Type %% PartyIdentification135 recursion level 1 with max 1 class PartyIdentification135{ Name IsoMax140Text CountryOfResidence CountryCode } PartyIdentification135 *-- "0..1" PostalAddress24 : PostalAddress PartyIdentification135 *-- "0..1" IParty38Choice : Identification PartyIdentification135 *-- "0..1" Contact4 : ContactDetails %% BranchAndFinancialInstitutionIdentification6 recursion level 1 with max 1 BranchAndFinancialInstitutionIdentification6 *-- "1..1" FinancialInstitutionIdentification18 : FinancialInstitutionIdentification BranchAndFinancialInstitutionIdentification6 *-- "0..1" BranchData3 : BranchIdentification
CashAccount39 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Identification | Unique and unambiguous identification for the account between the account owner and the account servicer. | IAccountIdentification4Choice - Required 1..1 |
Type | Specifies the nature, or use of the account. | ICashAccountType2Choice - Optional 0..1 |
Currency | Identification of the currency in which the account is held. | ActiveOrHistoricCurrencyCode - Optional 0..1 |
Name | Name of the account, as assigned by the account servicing institution, in agreement with the account owner in order to provide an additional means of identification of the account. | |
Proxy | Specifies an alternate assumed name for the identification of the account. | ProxyAccountIdentification1 - Optional 0..1 |
Owner | Party that legally owns the account. | PartyIdentification135 - Optional 0..1 |
Servicer | Party that manages the account on behalf of the account owner, that is manages the registration and booking of entries on the account, calculates balances on the account and provides information about the account. | BranchAndFinancialInstitutionIdentification6 - Optional 0..1 |
SupplementaryData building block
Additional information that cannot be captured in the structured elements and/or any other specific block. Additional information that can not be captured in the structured fields and/or any other specific block. For comparison, see the ISO20022 official specification
classDiagram direction tb %% SupplementaryData1 recursion level 0 with max 1 class SupplementaryData1{ PlaceAndName IsoMax350Text } SupplementaryData1 *-- "1..1" IsoSupplementaryDataEnvelope1 : Envelope %% IsoSupplementaryDataEnvelope1 recursion level 1 with max 1
SupplementaryData1 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
PlaceAndName | Unambiguous reference to the location where the supplementary data must be inserted in the message instance. In the case of XML, this is expressed by a valid XPath. | IsoMax350Text - Optional 0..1 |
Envelope | Technical element wrapping the supplementary data. | IsoSupplementaryDataEnvelope1 - Required 1..1 |
Extensibility and generalization considerations
To facilitate generalized design patterns in the system, the AccountSwitchRequestRedirectionV02 implementation follows a specific implementaiton pattern. First of all, AccountSwitchRequestRedirectionV02 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, AccountSwitchRequestRedirectionV02Document implements IOuterDocument. Because AccountSwitchRequestRedirectionV02 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type AccountSwitchRequestRedirectionV02.
classDiagram class IOuterRecord AccountSwitchRequestRedirectionV02 --|> IOuterRecord : Implements AccountSwitchRequestRedirectionV02Document --|> IOuterDocument~AccountSwitchRequestRedirectionV02~ : Implements class IOuterDocument~AccountSwitchRequestRedirectionV02~ { AccountSwitchRequestRedirectionV02 Message }
Document wrapper for serialization
The only real purpose AccountSwitchRequestRedirectionV02Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:acmt.030.001.02’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using AccountSwitchRequestRedirectionV02.ToDocument() method. The returned AccountSwitchRequestRedirectionV02Document value will serialize correctly according to ISO 20022 standards.
classDiagram AccountSwitchRequestRedirectionV02Document *-- AccountSwitchRequestRedirectionV02 : Document
Sample of message format
This is an abbreviated version of what the message should look like.
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:acmt.030.001.02">
<AcctSwtchReqRdrctn>
<MsgId>
<!-- MessageIdentification inner content -->
</MsgId>
<AcctSwtchDtls>
<!-- AccountSwitchDetails inner content -->
</AcctSwtchDtls>
<NewAcct>
<!-- NewAccount inner content -->
</NewAcct>
<OdAcct>
<!-- OldAccount inner content -->
</OdAcct>
<SplmtryData>
<!-- SupplementaryData inner content -->
</SplmtryData>
</AcctSwtchReqRdrctn>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_7HT_g242EeiU9cctagi5ow"
nextVersions="_KOlmz9cDEeq_l4BJLVUF2Q"
previousVersion="_e20_UhMMEeSTk5fcu7tr9w"
name="AccountSwitchRequestRedirectionV02"
definition="The AccountSwitchRequestRedirection message is sent by the new account servicer to a central account switch servicer to set up the redirection of payment and collection transactions that are processed after completion of the account switch. It is routed to the previous account servicer to signal that it should schedule the cancellation of all payment arrangements on the old account. This message may also be used by the new bank to amend the new account details, if the details previously provided were incorrect."
registrationStatus="Registered"
messageSet="_5yPOsCPkEemp2Y6dmY6qHw"
xmlTag="AcctSwtchReqRdrctn"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<messageBuildingBlock
xmi:id="_7HT_hW42EeiU9cctagi5ow"
nextVersions="_KOlm0dcDEeq_l4BJLVUF2Q"
previousVersion="_QD6AUa5kEee17eDA_q0a9g"
name="MessageIdentification"
definition="Unique identification for the message."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="MsgId"
complexType="_Q7pG5Np-Ed-ak6NoX_4Aeg_-967008570" />
<messageBuildingBlock
xmi:id="_7HT_h242EeiU9cctagi5ow"
nextVersions="_KOlm09cDEeq_l4BJLVUF2Q"
previousVersion="_RRa8Ua5kEee17eDA_q0a9g"
name="AccountSwitchDetails"
definition="Contains information about the details of the account switch."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="AcctSwtchDtls"
complexType="_8m2xcQ2ZEeSNWNtJlXOAhg" />
<messageBuildingBlock
xmi:id="_7HT_iW42EeiU9cctagi5ow"
nextVersions="_KOlm1dcDEeq_l4BJLVUF2Q"
previousVersion="_vZp4cBMMEeSTk5fcu7tr9w"
name="NewAccount"
definition="Account servicer holding the account to which the switch will be made for example the acquiring account servicer."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="NewAcct"
complexType="_8t9lYW48EeiU9cctagi5ow" />
<messageBuildingBlock
xmi:id="_7HT_i242EeiU9cctagi5ow"
nextVersions="_KOlm19cDEeq_l4BJLVUF2Q"
previousVersion="_ydI3kBMMEeSTk5fcu7tr9w"
name="OldAccount"
definition="Account held at the old account servicer being switched to the new account servicer."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="OdAcct"
complexType="_8t9lYW48EeiU9cctagi5ow" />
<messageBuildingBlock
xmi:id="_7HT_jW42EeiU9cctagi5ow"
nextVersions="_KOlm2dcDEeq_l4BJLVUF2Q"
previousVersion="_lcrIMA8EEeeJ4ZumUkzG4Q"
name="SupplementaryData"
definition="Additional information that cannot be captured in the structured elements and/or any other specific block."
registrationStatus="Provisionally Registered"
minOccurs="0"
xmlTag="SplmtryData"
complexType="_Qn0zC9p-Ed-ak6NoX_4Aeg_468227563" />
<messageDefinitionIdentifier
businessArea="acmt"
messageFunctionality="030"
flavour="001"
version="02" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.