Pain.013

The "pain" in "pain.013" stands for "Payments Initiation," which is part of the ISO 20022 message standards used for electronic payments. The "013" refers to the specific message type for a credit transfer initiation.

A pain.013 message typically includes information such as the amount of the transfer, the sender and recipient account information, and any additional details or instructions for the transaction. The message is sent from the initiating bank to the receiving bank and serves as the basis for processing the real-time payment.

A sample payload of a Pain.013 message is as follows;

<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.013.001.06" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.013.001.06 pain.013.001.06.xsd">
    <PmtInitnReq>
        <GrpHdr>
            <MsgId>12345</MsgId>
            <CreDtTm>2023-04-16T12:00:00.000Z</CreDtTm>
            <NbOfTxs>1</NbOfTxs>
            <CtrlSum>100.00</CtrlSum>
            <InitgPty>
                <Nm>Sender Company</Nm>
            </InitgPty>
        </GrpHdr>
        <PmtInf>
            <PmtInfId>67890</PmtInfId>
            <PmtMtd>TRF</PmtMtd>
            <BtchBookg>true</BtchBookg>
            <ReqdExctnDt>2023-04-20</ReqdExctnDt>
            <Dbtr>
                <Nm>Sender Company</Nm>
            </Dbtr>
            <DbtrAcct>
                <Id>
                    <IBAN>FR1420041010050500013M02606</IBAN>
                </Id>
            </DbtrAcct>
            <DbtrAgt>
                <FinInstnId>
                    <BIC>DEUTDEFFXXX</BIC>
                </FinInstnId>
            </DbtrAgt>
            <ChrgBr>SHAR</ChrgBr>
            <CdtTrfTxInf>
                <PmtId>
                    <EndToEndId>12345</EndToEndId>
                </PmtId>
                <Amt>
                    <InstdAmt Ccy="EUR">100.00</InstdAmt>
                </Amt>
                <Cdtr>
                    <Nm>Receiver Company</Nm>
                </Cdtr>
                <CdtrAcct>
                    <Id>
                        <IBAN>FR7630001007941234567890185</IBAN>
                    </Id>
                </CdtrAcct>
                <CdtrAgt>
                    <FinInstnId>
                        <BIC>BNPAFRPPXXX</BIC>
                    </FinInstnId>
                </CdtrAgt>
                <RmtInf>
                    <Ustrd>Payment for invoice 12345</Ustrd>
                </RmtInf>
            </CdtTrfTxInf>
        </PmtInf>
    </PmtInitnReq>
</Document>

In this schema, we have several elements that are specific to a payment request:

  • PmtInitnReq: This is the root element for the payment initiation request message.

  • GrpHdr: This element contains the group header information for the payment, including the message ID, creation date and time, number of transactions, control sum, and initiating party.

  • PmtInf: This element contains the payment information, including the payment method, required execution date, debtor information, creditor information, and payment details.

Last updated

Was this helpful?