auth.021.001.01
The ContractRegistrationAmendmentRequest message is sent by the reporting party to the registration agent to amend the registered contract subject to currency control.
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
%% ContractRegistrationAmendmentRequestV01 recursion level 0 with max 0
ContractRegistrationAmendmentRequestV01 *-- "1..1" CurrencyControlHeader1 : GroupHeader
ContractRegistrationAmendmentRequestV01 *-- "1..1" RegisteredContract1 : ContractRegistrationAmendment
ContractRegistrationAmendmentRequestV01 *-- "0..1" SupplementaryData1 : SupplementaryData
Now, we will zero-in one-by-one on each of these building blocks.
GroupHeader building block
Characteristics shared by all individual items included in the message. Characteristics shared by all individual items included in the currency control message. For comparison, see the ISO20022 official specification
classDiagram
direction tb
%% CurrencyControlHeader1 recursion level 0 with max 1
class CurrencyControlHeader1{
MessageIdentification IsoMax35Text
CreationDateTime IsoISODateTime
NumberOfItems IsoMax15NumericText
}
CurrencyControlHeader1 *-- "1..1" PartyIdentification77 : InitiatingParty
CurrencyControlHeader1 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : ForwardingAgent
%% PartyIdentification77 recursion level 1 with max 1
class PartyIdentification77{
Name IsoMax140Text
CountryOfResidence CountryCode
}
PartyIdentification77 *-- "0..1" PostalAddress19 : PostalAddress
PartyIdentification77 *-- "0..1" IParty11Choice : Identification
PartyIdentification77 *-- "0..1" ContactDetails2 : ContactDetails
%% BranchAndFinancialInstitutionIdentification5 recursion level 1 with max 1
BranchAndFinancialInstitutionIdentification5 *-- "1..1" FinancialInstitutionIdentification8 : FinancialInstitutionIdentification
BranchAndFinancialInstitutionIdentification5 *-- "0..1" BranchData2 : BranchIdentification
CurrencyControlHeader1 members
| Member name | Description | Data Type / Multiplicity |
|---|---|---|
| MessageIdentification | Point to point reference, as assigned by the instructing party, and sent to the next party in the chain to unambiguously identify the message. | Usage: The instructing party has to make sure that MessageIdentification is unique per instructed party for a pre-agreed period. |
| CreationDateTime | Date and time at which the message was created. | IsoISODateTime - Required 1..1 |
| NumberOfItems | Number of individual items contained in the message. | IsoMax15NumericText - Required 1..1 |
| InitiatingParty | Party that initiates the instruction. | PartyIdentification77 - Required 1..1 |
| ForwardingAgent | Agent which forwards the message. | BranchAndFinancialInstitutionIdentification5 - Optional 0..1 |
ContractRegistrationAmendment building block
Details on the amendment of the registered contract. Currency control registered contract amendment details. For comparison, see the ISO20022 official specification
classDiagram
direction tb
%% RegisteredContract1 recursion level 0 with max 1
class RegisteredContract1{
ContractRegistrationAmendmentIdentification IsoMax35Text
}
RegisteredContract1 *-- "1..1" TradeParty2 : ReportingParty
RegisteredContract1 *-- "1..1" BranchAndFinancialInstitutionIdentification5 : RegistrationAgent
RegisteredContract1 *-- "1..0" RegisteredContract3 : RegisteredContractAmendment
RegisteredContract1 *-- "0..0" SupplementaryData1 : SupplementaryData
%% TradeParty2 recursion level 1 with max 1
TradeParty2 *-- "1..1" PartyIdentification77 : PartyIdentification
TradeParty2 *-- "0..1" LegalOrganisation2 : LegalOrganisation
TradeParty2 *-- "0..0" TaxParty3 : TaxParty
%% BranchAndFinancialInstitutionIdentification5 recursion level 1 with max 1
BranchAndFinancialInstitutionIdentification5 *-- "1..1" FinancialInstitutionIdentification8 : FinancialInstitutionIdentification
BranchAndFinancialInstitutionIdentification5 *-- "0..1" BranchData2 : BranchIdentification
%% RegisteredContract3 recursion level 1 with max 1
class RegisteredContract3{
RegisteredContractAmendmentIdentification IsoMax35Text
OriginalRegisteredContractIdentification IsoMax35Text
Priority Priority2Code
AdditionalInformation IsoMax1025Text
}
RegisteredContract3 *-- "1..1" IUnderlyingContract1Choice : Contract
RegisteredContract3 *-- "0..0" ContractBalance1 : ContractBalance
RegisteredContract3 *-- "0..1" IPaymentScheduleType1Choice : PaymentScheduleType
RegisteredContract3 *-- "0..0" DocumentGeneralInformation3 : Attachment
RegisteredContract3 *-- "0..0" SupplementaryData1 : SupplementaryData
%% SupplementaryData1 recursion level 1 with max 1
class SupplementaryData1{
PlaceAndName IsoMax350Text
}
SupplementaryData1 *-- "1..1" IsoSupplementaryDataEnvelope1 : Envelope
RegisteredContract1 members
| Member name | Description | Data Type / Multiplicity |
|---|---|---|
| ContractRegistrationAmendmentIdentification | Unique and unambiguous identification of the contract registration amendment. | IsoMax35Text - Required 1..1 |
| ReportingParty | Party registering the currency control contract. | TradeParty2 - Required 1..1 |
| RegistrationAgent | Agent which registers the currency control contract. | BranchAndFinancialInstitutionIdentification5 - Required 1..1 |
| RegisteredContractAmendment | Amendment details applied on one or several registered contracts. | RegisteredContract3 - Unknown 1..0 |
| SupplementaryData | Additional information that cannot be captured in the structured elements and/or any other specific block. | SupplementaryData1 - 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 ContractRegistrationAmendmentRequestV01 implementation follows a specific implementaiton pattern. First of all, ContractRegistrationAmendmentRequestV01 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, ContractRegistrationAmendmentRequestV01Document implements IOuterDocument. Because ContractRegistrationAmendmentRequestV01 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type ContractRegistrationAmendmentRequestV01.
classDiagram
class IOuterRecord
ContractRegistrationAmendmentRequestV01 --|> IOuterRecord : Implements
ContractRegistrationAmendmentRequestV01Document --|> IOuterDocument~ContractRegistrationAmendmentRequestV01~ : Implements
class IOuterDocument~ContractRegistrationAmendmentRequestV01~ {
ContractRegistrationAmendmentRequestV01 Message
}
Document wrapper for serialization
The only real purpose ContractRegistrationAmendmentRequestV01Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:auth.021.001.01’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using ContractRegistrationAmendmentRequestV01.ToDocument() method. The returned ContractRegistrationAmendmentRequestV01Document value will serialize correctly according to ISO 20022 standards.
classDiagram
ContractRegistrationAmendmentRequestV01Document *-- ContractRegistrationAmendmentRequestV01 : 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:auth.021.001.01">
<CtrctRegnAmdmntReq>
<GrpHdr>
<!-- GroupHeader inner content -->
</GrpHdr>
<CtrctRegnAmdmnt>
<!-- ContractRegistrationAmendment inner content -->
</CtrctRegnAmdmnt>
<SplmtryData>
<!-- SupplementaryData inner content -->
</SplmtryData>
</CtrctRegnAmdmntReq>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_IOAoUNM7EeSDLevdaFPXHw"
nextVersions="_bf9R022PEei3KuUgpx7Xcw"
name="ContractRegistrationAmendmentRequestV01"
definition="The ContractRegistrationAmendmentRequest message is sent by the reporting party to the registration agent to amend the registered contract subject to currency control."
registrationStatus="Registered"
messageSet="_urpIICeJEeOCeO5e7islRQ"
xmlTag="CtrctRegnAmdmntReq"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<messageBuildingBlock
xmi:id="_OL8J49M8EeSDLevdaFPXHw"
nextVersions="_bf9R1W2PEei3KuUgpx7Xcw"
name="GroupHeader"
definition="Characteristics shared by all individual items included in the message."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="GrpHdr"
complexType="_MC9ncdLJEeSdq5yU2aaSNw" />
<messageBuildingBlock
xmi:id="_OL8J5NM8EeSDLevdaFPXHw"
nextVersions="_bf9R122PEei3KuUgpx7Xcw"
name="ContractRegistrationAmendment"
definition="Details on the amendment of the registered contract."
registrationStatus="Provisionally Registered"
minOccurs="1"
xmlTag="CtrctRegnAmdmnt"
complexType="_nI5VVdL9EeSDLevdaFPXHw" />
<messageBuildingBlock
xmi:id="_OL8J5dM8EeSDLevdaFPXHw"
nextVersions="_bf9R2W2PEei3KuUgpx7Xcw"
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="auth"
messageFunctionality="021"
flavour="001"
version="01" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.