ContractRegistrationStatementV02

auth.022.001.02

The ContractRegistrationStatement message is sent by the registration agent to the reporting party, in response to a request or at a pre-agreed date, to send a statement of the operations related to 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
%% ContractRegistrationStatementV02 recursion level 0 with max 0
ContractRegistrationStatementV02 *-- "1..1" CurrencyControlHeader6 : GroupHeader
ContractRegistrationStatementV02 *-- "1..1" ContractRegistrationStatement2 : Statement
ContractRegistrationStatementV02 *-- "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
%% CurrencyControlHeader6 recursion level 0 with max 1
class CurrencyControlHeader6{
    MessageIdentification IsoMax35Text
    CreationDateTime IsoISODateTime
    NumberOfItems IsoMax15NumericText
}
CurrencyControlHeader6 *-- "1..1" PartyIdentification135 : ReceivingParty
CurrencyControlHeader6 *-- "1..1" BranchAndFinancialInstitutionIdentification6 : RegistrationAgent
%% 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
  

CurrencyControlHeader6 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
ReceivingParty Party that receives the message. PartyIdentification135 - Required 1..1
RegistrationAgent Agent which sends the message. BranchAndFinancialInstitutionIdentification6 - Required 1..1

Statement building block

Provides the contract registration statement, which includes all journals on the activities related to the contract. Statement of the journal entries for all activities related to the registered currency control contract. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% ContractRegistrationStatement2 recursion level 0 with max 1
class ContractRegistrationStatement2{
    StatementIdentification IsoMax35Text
    TotalContractTurnoverSum IsoActiveCurrencyAndAmount
}
ContractRegistrationStatement2 *-- "1..1" TradeParty5 : ReportingParty
ContractRegistrationStatement2 *-- "1..1" BranchAndFinancialInstitutionIdentification6 : RegistrationAgent
ContractRegistrationStatement2 *-- "1..1" ReportingPeriod4 : ReportingPeriod
ContractRegistrationStatement2 *-- "1..1" RegisteredContract8 : RegisteredContract
ContractRegistrationStatement2 *-- "0..0" TransactionCertificate3 : TransactionJournal
ContractRegistrationStatement2 *-- "0..0" SupportingDocument2 : SupportingDocumentJournal
ContractRegistrationStatement2 *-- "0..0" SupportingDocument2 : AdditionalSupportingDocumentJournal
ContractRegistrationStatement2 *-- "0..0" GenericValidationRuleIdentification1 : RegulatoryRuleValidation
ContractRegistrationStatement2 *-- "0..0" SupplementaryData1 : SupplementaryData
%% TradeParty5 recursion level 1 with max 1
TradeParty5 *-- "1..1" PartyIdentification135 : PartyIdentification
TradeParty5 *-- "0..1" LegalOrganisation2 : LegalOrganisation
TradeParty5 *-- "0..0" TaxParty4 : TaxParty
%% BranchAndFinancialInstitutionIdentification6 recursion level 1 with max 1
BranchAndFinancialInstitutionIdentification6 *-- "1..1" FinancialInstitutionIdentification18 : FinancialInstitutionIdentification
BranchAndFinancialInstitutionIdentification6 *-- "0..1" BranchData3 : BranchIdentification
%% ReportingPeriod4 recursion level 1 with max 1
class ReportingPeriod4{
    Type QueryType3Code
}
ReportingPeriod4 *-- "1..1" DatePeriod3 : FromToDate
ReportingPeriod4 *-- "1..1" TimePeriod2 : FromToTime
%% RegisteredContract8 recursion level 1 with max 1
class RegisteredContract8{
    OriginalContractRegistrationRequest IsoMax35Text
    LoanPrincipalAmount IsoActiveCurrencyAndAmount
    EstimatedDateIndicator IsoTrueFalseIndicator
    InterCompanyLoan IsoTrueFalseIndicator
    AdditionalInformation IsoMax1025Text
}
RegisteredContract8 *-- "1..1" BranchAndFinancialInstitutionIdentification6 : IssuerFinancialInstitution
RegisteredContract8 *-- "1..1" IUnderlyingContract2Choice : Contract
RegisteredContract8 *-- "0..0" ContractBalance1 : ContractBalance
RegisteredContract8 *-- "0..1" IPaymentScheduleType1Choice : PaymentScheduleType
RegisteredContract8 *-- "1..1" DocumentIdentification29 : RegisteredContractIdentification
RegisteredContract8 *-- "0..1" DocumentIdentification22 : PreviousRegisteredContractIdentification
RegisteredContract8 *-- "0..0" RegisteredContractJournal2 : RegisteredContractJournal
RegisteredContract8 *-- "0..0" RegisteredContractAmendment1 : Amendment
RegisteredContract8 *-- "1..1" RegisteredContractCommunication1 : Submission
RegisteredContract8 *-- "1..1" RegisteredContractCommunication1 : Delivery
%% TransactionCertificate3 recursion level 1 with max 1
class TransactionCertificate3{
    TransactionIdentification IsoMax35Text
    BankAccountDomiciliationCountry CountryCode
}
TransactionCertificate3 *-- "1..1" DocumentIdentification28 : Certificate
TransactionCertificate3 *-- "0..1" CashAccount38 : Account
TransactionCertificate3 *-- "0..1" DocumentAmendment1 : Amendment
TransactionCertificate3 *-- "1..0" TransactionCertificateRecord1 : CertificateRecord
TransactionCertificate3 *-- "0..0" SupplementaryData1 : SupplementaryData
%% SupportingDocument2 recursion level 1 with max 1
class SupportingDocument2{
    SupportingDocumentIdentification IsoMax35Text
    OriginalRequestIdentification IsoMax35Text
}
SupportingDocument2 *-- "1..1" DocumentIdentification28 : Certificate
SupportingDocument2 *-- "1..1" PartyIdentification135 : AccountOwner
SupportingDocument2 *-- "1..1" BranchAndFinancialInstitutionIdentification6 : AccountServicer
SupportingDocument2 *-- "0..1" DocumentAmendment1 : Amendment
SupportingDocument2 *-- "1..1" IContractRegistrationReference1Choice : ContractReference
SupportingDocument2 *-- "1..0" SupportingDocumentEntry1 : Entry
SupportingDocument2 *-- "0..0" SupplementaryData1 : SupplementaryData
%% SupportingDocument2 recursion level 1 with max 1
class SupportingDocument2{
    SupportingDocumentIdentification IsoMax35Text
    OriginalRequestIdentification IsoMax35Text
}
SupportingDocument2 *-- "1..1" DocumentIdentification28 : Certificate
SupportingDocument2 *-- "1..1" PartyIdentification135 : AccountOwner
SupportingDocument2 *-- "1..1" BranchAndFinancialInstitutionIdentification6 : AccountServicer
SupportingDocument2 *-- "0..1" DocumentAmendment1 : Amendment
SupportingDocument2 *-- "1..1" IContractRegistrationReference1Choice : ContractReference
SupportingDocument2 *-- "1..0" SupportingDocumentEntry1 : Entry
SupportingDocument2 *-- "0..0" SupplementaryData1 : SupplementaryData
%% GenericValidationRuleIdentification1 recursion level 1 with max 1
class GenericValidationRuleIdentification1{
    Identification IsoMax35Text
    Description IsoMax350Text
    Issuer IsoMax35Text
}
GenericValidationRuleIdentification1 *-- "0..1" IValidationRuleSchemeName1Choice : SchemeName
%% SupplementaryData1 recursion level 1 with max 1
class SupplementaryData1{
    PlaceAndName IsoMax350Text
}
SupplementaryData1 *-- "1..1" IsoSupplementaryDataEnvelope1 : Envelope
  

ContractRegistrationStatement2 members

Member name Description Data Type / Multiplicity
StatementIdentification Unique identification, as assigned by the account servicer, to unambiguously identify the contract registration statement. IsoMax35Text - Optional 0..1
ReportingParty Party registering the currency control contract. TradeParty5 - Required 1..1
RegistrationAgent Agent which registers the currency control contract. BranchAndFinancialInstitutionIdentification6 - Required 1..1
ReportingPeriod Specifies the period for which the statement is provided. ReportingPeriod4 - Required 1..1
RegisteredContract Registered currency control contract. RegisteredContract8 - Required 1..1
TransactionJournal Journal of the transactions recorded under the registered currency control contract. TransactionCertificate3 - Unknown 0..0
SupportingDocumentJournal Journal of the supporting documents recorded under the registered currency control contract. SupportingDocument2 - Unknown 0..0
AdditionalSupportingDocumentJournal Journal of additional supporting documents recorded under the registered currency control contract. SupportingDocument2 - Unknown 0..0
RegulatoryRuleValidation Details on the currency control rule against which has been violated. GenericValidationRuleIdentification1 - Unknown 0..0
TotalContractTurnoverSum Total turn over amount recorded under the currency control contract for the amount of all. IsoActiveCurrencyAndAmount - Required 1..1
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 ContractRegistrationStatementV02 implementation follows a specific implementaiton pattern. First of all, ContractRegistrationStatementV02 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, ContractRegistrationStatementV02Document implements IOuterDocument. Because ContractRegistrationStatementV02 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type ContractRegistrationStatementV02.

classDiagram
    class IOuterRecord
    ContractRegistrationStatementV02 --|> IOuterRecord : Implements
    ContractRegistrationStatementV02Document --|> IOuterDocument~ContractRegistrationStatementV02~ : Implements
    class IOuterDocument~ContractRegistrationStatementV02~ {
        ContractRegistrationStatementV02 Message
     }
  

Document wrapper for serialization

The only real purpose ContractRegistrationStatementV02Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:auth.022.001.02’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using ContractRegistrationStatementV02.ToDocument() method. The returned ContractRegistrationStatementV02Document value will serialize correctly according to ISO 20022 standards.

classDiagram
    ContractRegistrationStatementV02Document *-- ContractRegistrationStatementV02 : 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.022.001.02">
    <CtrctRegnStmt>
        <GrpHdr>
            <!-- GroupHeader inner content -->
        </GrpHdr>
        <Stmt>
            <!-- Statement inner content -->
        </Stmt>
        <SplmtryData>
            <!-- SupplementaryData inner content -->
        </SplmtryData>
    </CtrctRegnStmt>
</Document>

Data from ISO specification

This is the technical data from the specification document.

<messageDefinition
  xmi:id="_bf9R222PEei3KuUgpx7Xcw"
  nextVersions="_Nz8arx3pEeuiRvbpCaJe6A"
  previousVersion="_CHHT4NnQEeS--7IJLPC9lw"
  name="ContractRegistrationStatementV02"
  definition="The ContractRegistrationStatement message is sent by the registration agent to the reporting party, in response to a request or at a pre-agreed date, to send a statement of the operations related to the registered contract subject to currency control."
  registrationStatus="Registered"
  messageSet="__ju0gDh7Eeqhm8z1jMmfeA"
  xmlTag="CtrctRegnStmt"
  rootElement="Document"
  xmlns:xmi="http://www.omg.org/XMI">
  <messageBuildingBlock
    xmi:id="_bf9R3W2PEei3KuUgpx7Xcw"
    nextVersions="_Nz8asR3pEeuiRvbpCaJe6A"
    previousVersion="_RtrZEdnQEeS--7IJLPC9lw"
    name="GroupHeader"
    definition="Characteristics shared by all individual items included in the message."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="GrpHdr"
    complexType="_YW0-0W49EeiU9cctagi5ow" />
  <messageBuildingBlock
    xmi:id="_bf9R322PEei3KuUgpx7Xcw"
    nextVersions="_Nz8asx3pEeuiRvbpCaJe6A"
    previousVersion="_J5DJsNnREeS--7IJLPC9lw"
    name="Statement"
    definition="Provides the contract registration statement, which includes all journals on the activities related to the contract."
    registrationStatus="Provisionally Registered"
    minOccurs="1"
    xmlTag="Stmt"
    complexType="_TYk8IW49EeiU9cctagi5ow" />
  <messageBuildingBlock
    xmi:id="_bf9R4W2PEei3KuUgpx7Xcw"
    nextVersions="_Nz8atR3pEeuiRvbpCaJe6A"
    previousVersion="_sAFV4dnQEeS--7IJLPC9lw"
    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="022"
    flavour="001"
    version="02" />
</messageDefinition>

ISO Building Blocks

The following items are used as building blocks to construct this message.