pain.002.001.06
Scope The CustomerPaymentStatusReport message is sent by an instructed agent to the previous party in the payment chain. It is used to inform this party about the positive or negative status of an instruction (either single or file). It is also used to report on a pending instruction. Usage The CustomerPaymentStatusReport message is exchanged between an agent and a non-financial institution customer to provide status information on instructions previously sent. Its usage will always be governed by a bilateral agreement between the agent and the non-financial institution customer. The CustomerPaymentStatusReport message can be used to provide information about the status (e.g. rejection, acceptance) of the initiation of a credit transfer, a direct debit, as well as on the initiation of other customer instructions. The CustomerPaymentStatusReport message refers to the original instruction(s) by means of references only or by means of references and a set of elements from the original instruction. The CustomerPaymentStatusReport message can be used in domestic and cross-border scenarios.
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 %% CustomerPaymentStatusReportV06 recursion level 0 with max 0 CustomerPaymentStatusReportV06 *-- "1..1" GroupHeader52 : GroupHeader CustomerPaymentStatusReportV06 *-- "1..1" OriginalGroupHeader1 : OriginalGroupInformationAndStatus CustomerPaymentStatusReportV06 *-- "0..1" OriginalPaymentInstruction12 : OriginalPaymentInformationAndStatus CustomerPaymentStatusReportV06 *-- "0..1" SupplementaryData1 : SupplementaryData
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 status report message. Set of characteristics shared by all individual transactions included in the message. For comparison, see the ISO20022 official specification
classDiagram direction tb %% GroupHeader52 recursion level 0 with max 1 class GroupHeader52{ MessageIdentification IsoMax35Text CreationDateTime IsoISODateTime } GroupHeader52 *-- "0..1" PartyIdentification43 : InitiatingParty GroupHeader52 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : ForwardingAgent GroupHeader52 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : DebtorAgent GroupHeader52 *-- "0..1" BranchAndFinancialInstitutionIdentification5 : CreditorAgent %% 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 %% BranchAndFinancialInstitutionIdentification5 recursion level 1 with max 1 BranchAndFinancialInstitutionIdentification5 *-- "1..1" FinancialInstitutionIdentification8 : FinancialInstitutionIdentification BranchAndFinancialInstitutionIdentification5 *-- "0..1" BranchData2 : BranchIdentification %% BranchAndFinancialInstitutionIdentification5 recursion level 1 with max 1 BranchAndFinancialInstitutionIdentification5 *-- "1..1" FinancialInstitutionIdentification8 : FinancialInstitutionIdentification BranchAndFinancialInstitutionIdentification5 *-- "0..1" BranchData2 : BranchIdentification %% BranchAndFinancialInstitutionIdentification5 recursion level 1 with max 1 BranchAndFinancialInstitutionIdentification5 *-- "1..1" FinancialInstitutionIdentification8 : FinancialInstitutionIdentification BranchAndFinancialInstitutionIdentification5 *-- "0..1" BranchData2 : BranchIdentification
GroupHeader52 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 |
InitiatingParty | Party that initiates the status message. | PartyIdentification43 - Optional 0..1 |
ForwardingAgent | Financial institution that receives the instruction from the initiating party and forwards it to the next agent in the payment chain. | BranchAndFinancialInstitutionIdentification5 - Optional 0..1 |
DebtorAgent | Financial institution servicing an account for the debtor. | BranchAndFinancialInstitutionIdentification5 - Optional 0..1 |
CreditorAgent | Financial institution servicing an account for the creditor. | BranchAndFinancialInstitutionIdentification5 - Optional 0..1 |
OriginalGroupInformationAndStatus building block
Original group information concerning the group of transactions, to which the status report message refers to. Provides details on the original group, to which the message refers. For comparison, see the ISO20022 official specification
classDiagram direction tb %% OriginalGroupHeader1 recursion level 0 with max 1 class OriginalGroupHeader1{ OriginalMessageIdentification IsoMax35Text OriginalMessageNameIdentification IsoMax35Text OriginalCreationDateTime IsoISODateTime OriginalNumberOfTransactions IsoMax15NumericText OriginalControlSum IsoDecimalNumber GroupStatus TransactionGroupStatus3Code } OriginalGroupHeader1 *-- "0..0" StatusReasonInformation9 : StatusReasonInformation OriginalGroupHeader1 *-- "0..0" NumberOfTransactionsPerStatus3 : NumberOfTransactionsPerStatus %% StatusReasonInformation9 recursion level 1 with max 1 class StatusReasonInformation9{ AdditionalInformation IsoMax105Text } StatusReasonInformation9 *-- "0..1" PartyIdentification43 : Originator StatusReasonInformation9 *-- "0..1" IStatusReason6Choice : Reason %% NumberOfTransactionsPerStatus3 recursion level 1 with max 1 class NumberOfTransactionsPerStatus3{ DetailedNumberOfTransactions IsoMax15NumericText DetailedStatus TransactionIndividualStatus3Code DetailedControlSum IsoDecimalNumber }
OriginalGroupHeader1 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
OriginalMessageIdentification | Point to point reference, as assigned by the original instructing party, to unambiguously identify the original message. | IsoMax35Text - Required 1..1 |
OriginalMessageNameIdentification | Specifies the original message name identifier to which the message refers. | IsoMax35Text - Required 1..1 |
OriginalCreationDateTime | Date and time at which the original message was created. | IsoISODateTime - Optional 0..1 |
OriginalNumberOfTransactions | Number of individual transactions contained in the original message. | IsoMax15NumericText - Optional 0..1 |
OriginalControlSum | Total of all individual amounts included in the original message, irrespective of currencies. | IsoDecimalNumber - Optional 0..1 |
GroupStatus | Specifies the status of a group of transactions. | TransactionGroupStatus3Code - Optional 0..1 |
StatusReasonInformation | Provides detailed information on the status reason. | StatusReasonInformation9 - Unknown 0..0 |
NumberOfTransactionsPerStatus | Detailed information on the number of transactions for each identical transaction status. | NumberOfTransactionsPerStatus3 - Unknown 0..0 |
OriginalPaymentInformationAndStatus building block
Information concerning the original payment information, to which the status report message refers. Provides details information on the original transactions, to which the status report message refers. For comparison, see the ISO20022 official specification
classDiagram direction tb %% OriginalPaymentInstruction12 recursion level 0 with max 1 class OriginalPaymentInstruction12{ OriginalPaymentInformationIdentification IsoMax35Text OriginalNumberOfTransactions IsoMax15NumericText OriginalControlSum IsoDecimalNumber PaymentInformationStatus TransactionGroupStatus3Code } OriginalPaymentInstruction12 *-- "0..0" StatusReasonInformation9 : StatusReasonInformation OriginalPaymentInstruction12 *-- "0..0" NumberOfTransactionsPerStatus3 : NumberOfTransactionsPerStatus OriginalPaymentInstruction12 *-- "0..0" PaymentTransaction57 : TransactionInformationAndStatus %% StatusReasonInformation9 recursion level 1 with max 1 class StatusReasonInformation9{ AdditionalInformation IsoMax105Text } StatusReasonInformation9 *-- "0..1" PartyIdentification43 : Originator StatusReasonInformation9 *-- "0..1" IStatusReason6Choice : Reason %% NumberOfTransactionsPerStatus3 recursion level 1 with max 1 class NumberOfTransactionsPerStatus3{ DetailedNumberOfTransactions IsoMax15NumericText DetailedStatus TransactionIndividualStatus3Code DetailedControlSum IsoDecimalNumber } %% PaymentTransaction57 recursion level 1 with max 1 class PaymentTransaction57{ StatusIdentification IsoMax35Text OriginalInstructionIdentification IsoMax35Text OriginalEndToEndIdentification IsoMax35Text TransactionStatus TransactionIndividualStatus3Code AcceptanceDateTime IsoISODateTime AccountServicerReference IsoMax35Text ClearingSystemReference IsoMax35Text } PaymentTransaction57 *-- "0..0" StatusReasonInformation9 : StatusReasonInformation PaymentTransaction57 *-- "0..0" Charges2 : ChargesInformation PaymentTransaction57 *-- "0..1" OriginalTransactionReference20 : OriginalTransactionReference PaymentTransaction57 *-- "0..0" SupplementaryData1 : SupplementaryData
OriginalPaymentInstruction12 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
OriginalPaymentInformationIdentification | Unique identification, as assigned by the original sending party, to unambiguously identify the original payment information group. | IsoMax35Text - Required 1..1 |
OriginalNumberOfTransactions | Number of individual transactions contained in the original payment information group. | IsoMax15NumericText - Optional 0..1 |
OriginalControlSum | Total of all individual amounts included in the original payment information group, irrespective of currencies. | IsoDecimalNumber - Optional 0..1 |
PaymentInformationStatus | Specifies the status of the payment information group. | TransactionGroupStatus3Code - Optional 0..1 |
StatusReasonInformation | Provides detailed information on the status reason. | StatusReasonInformation9 - Unknown 0..0 |
NumberOfTransactionsPerStatus | Detailed information on the number of transactions for each identical transaction status. | NumberOfTransactionsPerStatus3 - Unknown 0..0 |
TransactionInformationAndStatus | Provides information on the original transactions to which the status report message refers. | PaymentTransaction57 - 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 CustomerPaymentStatusReportV06 implementation follows a specific implementaiton pattern. First of all, CustomerPaymentStatusReportV06 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, CustomerPaymentStatusReportV06Document implements IOuterDocument. Because CustomerPaymentStatusReportV06 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type CustomerPaymentStatusReportV06.
classDiagram class IOuterRecord CustomerPaymentStatusReportV06 --|> IOuterRecord : Implements CustomerPaymentStatusReportV06Document --|> IOuterDocument~CustomerPaymentStatusReportV06~ : Implements class IOuterDocument~CustomerPaymentStatusReportV06~ { CustomerPaymentStatusReportV06 Message }
Document wrapper for serialization
The only real purpose CustomerPaymentStatusReportV06Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:pain.002.001.06’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using CustomerPaymentStatusReportV06.ToDocument() method. The returned CustomerPaymentStatusReportV06Document value will serialize correctly according to ISO 20022 standards.
classDiagram CustomerPaymentStatusReportV06Document *-- CustomerPaymentStatusReportV06 : 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.002.001.06">
<CstmrPmtStsRpt>
<GrpHdr>
<!-- GroupHeader inner content -->
</GrpHdr>
<OrgnlGrpInfAndSts>
<!-- OriginalGroupInformationAndStatus inner content -->
</OrgnlGrpInfAndSts>
<OrgnlPmtInfAndSts>
<!-- OriginalPaymentInformationAndStatus inner content -->
</OrgnlPmtInfAndSts>
<SplmtryData>
<!-- SupplementaryData inner content -->
</SplmtryData>
</CstmrPmtStsRpt>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_NasXWRPeEeSVo-TFVwFHvA"
nextVersions="_akmeMTqxEeWZFYSPlduMhw"
previousVersion="_WuhXASGmEeKjd4jizyIDGA"
name="CustomerPaymentStatusReportV06"
definition="Scope
The CustomerPaymentStatusReport message is sent by an instructed agent to the previous party in the payment chain. It is used to inform this party about the positive or negative status of an instruction (either single or file). It is also used to report on a pending instruction.
Usage
The CustomerPaymentStatusReport message is exchanged between an agent and a non-financial institution customer to provide status information on instructions previously sent. Its usage will always be governed by a bilateral agreement between the agent and the non-financial institution customer.
The CustomerPaymentStatusReport message can be used to provide information about the status (e.g. rejection, acceptance) of the initiation of a credit transfer, a direct debit, as well as on the initiation of other customer instructions.
The CustomerPaymentStatusReport message refers to the original instruction(s) by means of references only or by means of references and a set of elements from the original instruction.
The CustomerPaymentStatusReport message can be used in domestic and cross-border scenarios."
registrationStatus="Registered"
messageSet="_urpIICeJEeOCeO5e7islRQ"
xmlTag="CstmrPmtStsRpt"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<constraint
xmi:id="_NasXWxPeEeSVo-TFVwFHvA"
nextVersions="_akmeMzqxEeWZFYSPlduMhw"
previousVersion="_WuhXAyGmEeKjd4jizyIDGA"
name="GroupStatusAcceptedRule"
definition="If OriginalGroupInformationAndStatus/GroupStatus is present and is equal to ACTC, ACCP, ACSP, ACSC or ACWC, then OriginalPaymentInformationAndStatus/PaymentInformationStatus must be different from RJCT."
registrationStatus="Provisionally Registered"
expression="<RuleDefinition><ComplexRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ComplexRule"><mustBe><connector>AND</connector><BooleanRule xsi:type="DifferentFromValue"><leftOperand>/OriginalPaymentInformationAndStatus[*]/PaymentInformationStatus</leftOperand><rightOperand>Rejected</rightOperand></BooleanRule></mustBe><onCondition><connector>AND</connector><BooleanRule xsi:type="Presence"><leftOperand>/OriginalGroupInformationAndStatus/GroupStatus</leftOperand></BooleanRule><BooleanRule xsi:type="WithInList"><leftOperand>/OriginalGroupInformationAndStatus/GroupStatus</leftOperand><rightOperand>PartialGroupStatus1Code</rightOperand></BooleanRule><BooleanRule xsi:type="Presence"><leftOperand>/OriginalPaymentInformationAndStatus[*]/PaymentInformationStatus</leftOperand></BooleanRule></onCondition></ComplexRule></RuleDefinition>" />
<constraint
xmi:id="_NasXXRPeEeSVo-TFVwFHvA"
nextVersions="_akmeNTqxEeWZFYSPlduMhw"
previousVersion="_WuhXByGmEeKjd4jizyIDGA"
name="GroupStatusPendingRule"
definition="If OriginalGroupInformationAndStatus/GroupStatus is present and is equal to PDNG, then OriginalPaymentInformationAndStatus/PaymentInformationStatus must be different from RJCT."
registrationStatus="Provisionally Registered"
expression="<RuleDefinition><ComplexRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ComplexRule"><mustBe><connector>AND</connector><BooleanRule xsi:type="DifferentFromValue"><leftOperand>/OriginalPaymentInformationAndStatus[*]/PaymentInformationStatus</leftOperand><rightOperand>Rejected</rightOperand></BooleanRule></mustBe><onCondition><connector>AND</connector><BooleanRule xsi:type="Presence"><leftOperand>/OriginalGroupInformationAndStatus/GroupStatus</leftOperand></BooleanRule><BooleanRule xsi:type="EqualToValue"><leftOperand>/OriginalGroupInformationAndStatus/GroupStatus</leftOperand><rightOperand>Pending</rightOperand></BooleanRule><BooleanRule xsi:type="Presence"><leftOperand>/OriginalPaymentInformationAndStatus[*]/PaymentInformationStatus</leftOperand></BooleanRule></onCondition></ComplexRule></RuleDefinition>" />
<constraint
xmi:id="_NasXXxPeEeSVo-TFVwFHvA"
nextVersions="_akmeNzqxEeWZFYSPlduMhw"
previousVersion="_WuhXCyGmEeKjd4jizyIDGA"
name="GroupStatusRejectedRule"
definition="If OriginalGroupInformationAndStatus/GroupStatus is present and is equal to RJCT, then OriginalPaymentInformationAndStatus/PaymentInformationStatus, if present, must be equal to RJCT."
registrationStatus="Provisionally Registered"
expression="<RuleDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ComplexRule xsi:type="ComplexRule"><mustBe><connector>AND</connector><BooleanRule xsi:type="NotWithInList"><leftOperand>/OriginalPaymentInformationAndStatus[*]/PaymentInformationStatus</leftOperand><rightOperand>PartialGroupStatus2Code</rightOperand></BooleanRule></mustBe><onCondition><connector>AND</connector><BooleanRule xsi:type="Presence"><leftOperand>/OriginalGroupInformationAndStatus/GroupStatus</leftOperand></BooleanRule><BooleanRule xsi:type="EqualToValue"><leftOperand>/OriginalGroupInformationAndStatus/GroupStatus</leftOperand><rightOperand>Rejected</rightOperand></BooleanRule><BooleanRule xsi:type="Presence"><leftOperand>/OriginalPaymentInformationAndStatus[*]/PaymentInformationStatus</leftOperand></BooleanRule></onCondition></ComplexRule></RuleDefinition>
" />
<constraint
xmi:id="_NasXYRPeEeSVo-TFVwFHvA"
nextVersions="_akmeOTqxEeWZFYSPlduMhw"
previousVersion="_WuhXDyGmEeKjd4jizyIDGA"
name="GroupStatusReceivedRule"
definition="If OriginalGroupInformationAndStatus/GroupStatus is present and is equal to RCVD, then OriginalPaymentInformationAndStatus/PaymentInformationStatus is not allowed."
registrationStatus="Provisionally Registered"
expression="<RuleDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ComplexRule xsi:type="ComplexRule"><mustBe><connector>AND</connector><BooleanRule xsi:type="Absence"><leftOperand>/OriginalPaymentInformationAndStatus[*]/PaymentInformationStatus</leftOperand></BooleanRule></mustBe><onCondition><connector>AND</connector><BooleanRule xsi:type="Presence"><leftOperand>/OriginalGroupInformationAndStatus/GroupStatus</leftOperand></BooleanRule><BooleanRule xsi:type="EqualToValue"><leftOperand>/OriginalGroupInformationAndStatus/GroupStatus</leftOperand><rightOperand>Received</rightOperand></BooleanRule><BooleanRule xsi:type="Presence"><leftOperand>/OriginalPaymentInformationAndStatus[1]</leftOperand></BooleanRule></onCondition></ComplexRule></RuleDefinition>
" />
<constraint
xmi:id="_NasXYxPeEeSVo-TFVwFHvA"
nextVersions="_akmeOzqxEeWZFYSPlduMhw"
previousVersion="_fu0KuyHZEeKGEZlIMFwKzg"
name="SupplementaryDataRule"
definition="The SupplementaryData building block at message level must not be used to provide additional information about a transaction. The SupplementaryData element at transaction level should be used for that purpose."
registrationStatus="Provisionally Registered" />
<messageBuildingBlock
xmi:id="_NasXZRPeEeSVo-TFVwFHvA"
nextVersions="_akmePTqxEeWZFYSPlduMhw"
previousVersion="_WuhXEyGmEeKjd4jizyIDGA"
name="GroupHeader"
definition="Set of characteristics shared by all individual transactions included in the status report message."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="GrpHdr"
complexType="_s7DwoVkyEeGeoaLUQk__nA_-1533000831" />
<messageBuildingBlock
xmi:id="_NasXZxPeEeSVo-TFVwFHvA"
nextVersions="_akmePzqxEeWZFYSPlduMhw"
previousVersion="_WuhXFyGmEeKjd4jizyIDGA"
name="OriginalGroupInformationAndStatus"
definition="Original group information concerning the group of transactions, to which the status report message refers to."
registrationStatus="Provisionally Registered"
maxOccurs="1"
minOccurs="1"
xmlTag="OrgnlGrpInfAndSts"
complexType="_sniXsFkyEeGeoaLUQk__nA_1278270511" />
<messageBuildingBlock
xmi:id="_NasXaRPeEeSVo-TFVwFHvA"
nextVersions="_akmeQTqxEeWZFYSPlduMhw"
previousVersion="_WuhXGyGmEeKjd4jizyIDGA"
name="OriginalPaymentInformationAndStatus"
definition="Information concerning the original payment information, to which the status report message refers."
registrationStatus="Provisionally Registered"
minOccurs="0"
xmlTag="OrgnlPmtInfAndSts"
complexType="_qSfmox72EeSxevWRRWxNAg" />
<messageBuildingBlock
xmi:id="_NasXaxPeEeSVo-TFVwFHvA"
nextVersions="_akmeQzqxEeWZFYSPlduMhw"
previousVersion="_WuhXHyGmEeKjd4jizyIDGA"
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="pain"
messageFunctionality="002"
flavour="001"
version="06" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.