pain.013.001.01
Scope This message is sent by the Creditor sending party to the Debtor receiving party, directly or through agents. It is used to initiate a creditor payment activation request.
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
%% CreditorPaymentActivationRequestV01 recursion level 0 with max 0
CreditorPaymentActivationRequestV01 *-- "1..1" GroupHeader45 : GroupHeader
CreditorPaymentActivationRequestV01 *-- "1..1" PaymentInstruction5 : PaymentInformation
Now, we will zero-in one-by-one on each of these building blocks.
GroupHeader building block
Set of characteristics shared by all individual transactions included in the message. Set of characteristics shared by all individual transactions included in the message. For comparison, see the ISO20022 official specification
classDiagram
direction tb
%% GroupHeader45 recursion level 0 with max 1
class GroupHeader45{
MessageIdentification IsoMax35Text
CreationDateTime IsoISODateTime
NumberOfTransactions IsoMax15NumericText
ControlSum IsoDecimalNumber
}
GroupHeader45 *-- "1..1" PartyIdentification43 : InitiatingParty
%% PartyIdentification43 recursion level 1 with max 1
class PartyIdentification43{
Name IsoMax140Text
CountryOfResidence CountryCode
}
PartyIdentification43 *-- "0..1" PostalAddress6 : PostalAddress
PartyIdentification43 *-- "0..1" IParty11Choice : Identification
PartyIdentification43 *-- "0..1" ContactDetails2 : ContactDetails
GroupHeader45 members
| Member name | Description | Data Type / Multiplicity |
|---|---|---|
| MessageIdentification | Point to point reference 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. | IsoMax35Text - Required 1..1 |
| CreationDateTime | Date and time at which a (group of) payment instruction(s) was created by the instructing party. | IsoISODateTime - Required 1..1 |
| NumberOfTransactions | Number of individual transactions contained in the message. | IsoMax15NumericText - Required 1..1 |
| ControlSum | Total of all individual amounts included in the message, irrespective of currencies. | IsoDecimalNumber - Optional 0..1 |
| InitiatingParty | Party initiating the creditor payment activation request. This can either be the creditor himself or the party that initiates the request on behalf of the creditor. | PartyIdentification43 - Required 1..1 |
PaymentInformation building block
Set of characteristics that applies to the debit side of the payment transactions included in the creditor payment initiation. Instruction to pay an amount of money to an ultimate beneficiary, on behalf of an originator. This instruction may have to be forwarded several times to complete the settlement chain. For comparison, see the ISO20022 official specification
classDiagram
direction tb
%% PaymentInstruction5 recursion level 0 with max 1
class PaymentInstruction5{
PaymentInformationIdentification IsoMax35Text
PaymentMethod PaymentMethod7Code
RequestedExecutionDate IsoISODate
ChargeBearer ChargeBearerType1Code
}
PaymentInstruction5 *-- "0..1" PaymentTypeInformation19 : PaymentTypeInformation
PaymentInstruction5 *-- "1..1" PartyIdentification43 : Debtor
PaymentInstruction5 *-- "0..1" CashAccount7 : DebtorAccount
PaymentInstruction5 *-- "1..1" BranchAndFinancialInstitutionIdentification5 : DebtorAgent
PaymentInstruction5 *-- "0..1" PartyIdentification43 : UltimateDebtor
PaymentInstruction5 *-- "1..0" CreditTransferTransactionInformation14 : CreditTransferTransaction
%% PaymentTypeInformation19 recursion level 1 with max 1
class PaymentTypeInformation19{
InstructionPriority Priority2Code
}
PaymentTypeInformation19 *-- "0..1" IServiceLevel8Choice : ServiceLevel
PaymentTypeInformation19 *-- "0..1" ILocalInstrument2Choice : LocalInstrument
PaymentTypeInformation19 *-- "0..1" ICategoryPurpose1Choice : CategoryPurpose
%% PartyIdentification43 recursion level 1 with max 1
class PartyIdentification43{
Name IsoMax140Text
CountryOfResidence CountryCode
}
PartyIdentification43 *-- "0..1" PostalAddress6 : PostalAddress
PartyIdentification43 *-- "0..1" IParty11Choice : Identification
PartyIdentification43 *-- "0..1" ContactDetails2 : ContactDetails
%% CashAccount7 recursion level 1 with max 1
class CashAccount7{
Currency CurrencyCode
Name IsoMax70Text
}
CashAccount7 *-- "1..1" IAccountIdentification3Choice : Identification
CashAccount7 *-- "0..1" CashAccountType2 : Type
%% BranchAndFinancialInstitutionIdentification5 recursion level 1 with max 1
BranchAndFinancialInstitutionIdentification5 *-- "1..1" FinancialInstitutionIdentification8 : FinancialInstitutionIdentification
BranchAndFinancialInstitutionIdentification5 *-- "0..1" BranchData2 : BranchIdentification
%% PartyIdentification43 recursion level 1 with max 1
class PartyIdentification43{
Name IsoMax140Text
CountryOfResidence CountryCode
}
PartyIdentification43 *-- "0..1" PostalAddress6 : PostalAddress
PartyIdentification43 *-- "0..1" IParty11Choice : Identification
PartyIdentification43 *-- "0..1" ContactDetails2 : ContactDetails
%% CreditTransferTransactionInformation14 recursion level 1 with max 1
class CreditTransferTransactionInformation14{
ChargeBearer ChargeBearerType1Code
}
CreditTransferTransactionInformation14 *-- "1..1" PaymentIdentification1 : PaymentIdentification
CreditTransferTransactionInformation14 *-- "0..1" PaymentTypeInformation19 : PaymentTypeInformation
CreditTransferTransactionInformation14 *-- "1..1" IAmountType3Choice : Amount
CreditTransferTransactionInformation14 *-- "0..1" Cheque6 : ChequeInstruction
CreditTransferTransactionInformation14 *-- "0..1" PartyIdentification43 : UltimateDebtor
CreditTransferTransactionInformation14 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : IntermediaryAgent1
CreditTransferTransactionInformation14 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : IntermediaryAgent2
CreditTransferTransactionInformation14 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : IntermediaryAgent3
CreditTransferTransactionInformation14 *-- "1..1" BranchAndFinancialInstitutionIdentification5 : CreditorAgent
CreditTransferTransactionInformation14 *-- "1..1" PartyIdentification43 : Creditor
CreditTransferTransactionInformation14 *-- "0..1" CashAccount16 : CreditorAccount
CreditTransferTransactionInformation14 *-- "0..1" PartyIdentification43 : UltimateCreditor
CreditTransferTransactionInformation14 *-- "0..0" InstructionForCreditorAgent1 : InstructionForCreditorAgent
CreditTransferTransactionInformation14 *-- "0..1" IPurpose2Choice : Purpose
CreditTransferTransactionInformation14 *-- "0..10" RegulatoryReporting3 : RegulatoryReporting
CreditTransferTransactionInformation14 *-- "0..1" TaxInformation3 : Tax
CreditTransferTransactionInformation14 *-- "0..10" RemittanceLocation2 : RelatedRemittanceInformation
CreditTransferTransactionInformation14 *-- "0..1" RemittanceInformation6 : RemittanceInformation
PaymentInstruction5 members
| Member name | Description | Data Type / Multiplicity |
|---|---|---|
| PaymentInformationIdentification | Reference assigned by a sending party to unambiguously identify the payment information block within the message. | IsoMax35Text - Optional 0..1 |
| PaymentMethod | Specifies the means of payment that will be used to move the amount of money. | PaymentMethod7Code - Required 1..1 |
| PaymentTypeInformation | Set of elements used to further specify the type of transaction. | PaymentTypeInformation19 - Optional 0..1 |
| RequestedExecutionDate | Date at which the initiating party requests the clearing agent to process the payment. If payment by cheque, the date when the cheque must be generated by the bank. Usage: This is the date on which the debtor’s account(s) is (are) to be debited. | IsoISODate - Required 1..1 |
| Debtor | Party that owes an amount of money to the (ultimate) creditor. | PartyIdentification43 - Required 1..1 |
| DebtorAccount | Account used to process charges associated with a transaction. | CashAccount7 - Optional 0..1 |
| DebtorAgent | Financial institution servicing an account for the debtor. | BranchAndFinancialInstitutionIdentification5 - Required 1..1 |
| UltimateDebtor | Ultimate party that owes an amount of money to the (ultimate) creditor. | PartyIdentification43 - Optional 0..1 |
| ChargeBearer | Specifies which party/parties will bear the charges associated with the processing of the payment transaction. | ChargeBearerType1Code - Optional 0..1 |
| CreditTransferTransaction | Payment processes required to transfer cash from the debtor to the creditor. | CreditTransferTransactionInformation14 - Unknown 1..0 |
Extensibility and generalization considerations
To facilitate generalized design patterns in the system, the CreditorPaymentActivationRequestV01 implementation follows a specific implementaiton pattern. First of all, CreditorPaymentActivationRequestV01 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, CreditorPaymentActivationRequestV01Document implements IOuterDocument. Because CreditorPaymentActivationRequestV01 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type CreditorPaymentActivationRequestV01.
classDiagram
class IOuterRecord
CreditorPaymentActivationRequestV01 --|> IOuterRecord : Implements
CreditorPaymentActivationRequestV01Document --|> IOuterDocument~CreditorPaymentActivationRequestV01~ : Implements
class IOuterDocument~CreditorPaymentActivationRequestV01~ {
CreditorPaymentActivationRequestV01 Message
}
Document wrapper for serialization
The only real purpose CreditorPaymentActivationRequestV01Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:pain.013.001.01’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using CreditorPaymentActivationRequestV01.ToDocument() method. The returned CreditorPaymentActivationRequestV01Document value will serialize correctly according to ISO 20022 standards.
classDiagram
CreditorPaymentActivationRequestV01Document *-- CreditorPaymentActivationRequestV01 : 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:pain.013.001.01">
<CdtrPmtActvtnReq>
<GrpHdr>
<!-- GroupHeader inner content -->
</GrpHdr>
<PmtInf>
<!-- PaymentInformation inner content -->
</PmtInf>
</CdtrPmtActvtnReq>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_GWSDldEvEd-BzquC8wXy7w_-1753887518"
nextVersions="_sApW0FkyEeGeoaLUQk__nA_-1182493164"
name="CreditorPaymentActivationRequestV01"
definition="Scope
This message is sent by the Creditor sending party to the Debtor receiving party, directly or through agents.
It is used to initiate a creditor payment activation request."
registrationStatus="Registered"
messageSet="_urpIICeJEeOCeO5e7islRQ"
xmlTag="CdtrPmtActvtnReq"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<constraint
xmi:id="_GWSDmNEvEd-BzquC8wXy7w_411053086"
name="Grouping1Rule"
definition="If GroupHeader/Grouping is present and equals GRPD, then one and only one occurrence of PaymentInformation must be present."
registrationStatus="Provisionally Registered" />
<constraint
xmi:id="_GWSDm9EvEd-BzquC8wXy7w_-1212086907"
name="Grouping2Rule"
definition="If GroupHeader/Grouping is present and equals SNGL, then each occurrence of PaymentInformation must contain one and only one occurrence of PaymentInformation/CreditTransferTransactionInformation."
registrationStatus="Provisionally Registered" />
<messageBuildingBlock
xmi:id="_GWSDltEvEd-BzquC8wXy7w_668976179"
name="GroupHeader"
definition="Set of characteristics shared by all individual transactions included in the message."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="GrpHdr"
complexType="_QmL0Q9p-Ed-ak6NoX_4Aeg_1336812673" />
<messageBuildingBlock
xmi:id="_GWSDl9EvEd-BzquC8wXy7w_1980087289"
name="PaymentInformation"
definition="Set of characteristics that applies to the debit side of the payment transactions included in the creditor payment initiation."
registrationStatus="Provisionally Registered"
minOccurs="1"
xmlTag="PmtInf"
complexType="_PfG3eNp-Ed-ak6NoX_4Aeg_403375874" />
<messageDefinitionIdentifier
businessArea="pain"
messageFunctionality="013"
flavour="001"
version="01" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.