acmt.036.001.01
The AccountSwitchTerminationSwitch message is sent by the new account servicer to the account switch servicer to signal that the account switch must be stopped. The AccountSwitchTerminationSwitch message is only used in exception after the new account servicer has received an AccountSwitchInformationResponse message.
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 %% AccountSwitchTerminationSwitchV01 recursion level 0 with max 0 AccountSwitchTerminationSwitchV01 *-- "1..1" MessageIdentification1 : MessageIdentification AccountSwitchTerminationSwitchV01 *-- "1..1" AccountSwitchDetails1 : AccountSwitchDetails AccountSwitchTerminationSwitchV01 *-- "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, including reasons for the termination 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 |
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 AccountSwitchTerminationSwitchV01 implementation follows a specific implementaiton pattern. First of all, AccountSwitchTerminationSwitchV01 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, AccountSwitchTerminationSwitchV01Document implements IOuterDocument. Because AccountSwitchTerminationSwitchV01 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type AccountSwitchTerminationSwitchV01.
classDiagram class IOuterRecord AccountSwitchTerminationSwitchV01 --|> IOuterRecord : Implements AccountSwitchTerminationSwitchV01Document --|> IOuterDocument~AccountSwitchTerminationSwitchV01~ : Implements class IOuterDocument~AccountSwitchTerminationSwitchV01~ { AccountSwitchTerminationSwitchV01 Message }
Document wrapper for serialization
The only real purpose AccountSwitchTerminationSwitchV01Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:acmt.036.001.01’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using AccountSwitchTerminationSwitchV01.ToDocument() method. The returned AccountSwitchTerminationSwitchV01Document value will serialize correctly according to ISO 20022 standards.
classDiagram AccountSwitchTerminationSwitchV01Document *-- AccountSwitchTerminationSwitchV01 : 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.036.001.01">
<AcctSwtchTermntnSwtch>
<MsgId>
<!-- MessageIdentification inner content -->
</MsgId>
<AcctSwtchDtls>
<!-- AccountSwitchDetails inner content -->
</AcctSwtchDtls>
<SplmtryData>
<!-- SupplementaryData inner content -->
</SplmtryData>
</AcctSwtchTermntnSwtch>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_8iy48hMMEeSTk5fcu7tr9w"
name="AccountSwitchTerminationSwitchV01"
definition="The AccountSwitchTerminationSwitch message is sent by the new account servicer to the account switch servicer to signal that the account switch must be stopped. The AccountSwitchTerminationSwitch message is only used in exception after the new account servicer has received an AccountSwitchInformationResponse message."
registrationStatus="Registered"
messageSet="_VkHWcRMPEeSTk5fcu7tr9w"
xmlTag="AcctSwtchTermntnSwtch"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<messageBuildingBlock
xmi:id="_i6dPka5kEee17eDA_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="_kLic8a5kEee17eDA_q0a9g"
name="AccountSwitchDetails"
definition="Contains information about the details of the account switch, including reasons for the termination of the account switch."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="AcctSwtchDtls"
complexType="_8m2xcQ2ZEeSNWNtJlXOAhg" />
<messageBuildingBlock
xmi:id="_2dsZMA8EEeeJ4ZumUkzG4Q"
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="036"
flavour="001"
version="01" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.