Tuesday, October 3, 2023

SEPA credit Transfer pain.001.001. what its fields or xml elements? Give a practical example?

 The SEPA Credit Transfer pain.001.001 message is used for initiating credit transfers in the Single Euro Payments Area (SEPA). It contains various XML elements that provide information about the payment transaction. Here are some common fields or XML elements found in the pain.001.001 message:


1. GroupHeader: Contains information about the message group, such as the message identification, creation date and time, and the number of transactions in the group.


2. InitgPty: Provides details about the party initiating the payment, including their name and address.


3. PaymentInformation: Represents a single payment transaction within the message. It contains information such as the payment amount, currency, execution date, and payment method.


4. Debtor: Contains details about the debtor, including their name and address.


5. DebtorAccount: Specifies the debtor's account details, such as the account number and the financial institution where the account is held.


6. Creditor: Provides information about the creditor, including their name and address.


7. CreditorAccount: Specifies the creditor's account details, such as the account number and the financial institution where the account is held.


8. RemittanceInformation: Includes any additional information related to the payment, such as an invoice number or a payment reference.


Here is a practical example of a pain.001.001 message:


```xml

<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03">

  <CstmrCdtTrfInitn>

    <GrpHdr>

      <MsgId>201908010001</MsgId>

      <CreDtTm>2019-08-01T09:30:00</CreDtTm>

      <NbOfTxs>2</NbOfTxs>

    </GrpHdr>

    <PmtInf>

      <PmtInfId>123456789</PmtInfId>

      <PmtMtd>TRF</PmtMtd>

      <ReqdExctnDt>2019-08-05</ReqdExctnDt>

      <Dbtr>

        <Nm>John Doe</Nm>

        <PstlAdr>

          <StrtNm>Main Street</StrtNm>

          <BldgNb>10</BldgNb>

          <PstCd>12345</PstCd>

          <TwnNm>City</TwnNm>

          <Ctry>GB</Ctry>

        </PstlAdr>

      </Dbtr>

      <DbtrAcct>

        <Id>

          <IBAN>GB29NWBK60161331926819</IBAN>

        </Id>

      </DbtrAcct>

      <CdtTrfTxInf>

        <PmtId>

          <EndToEndId>ABC123</EndToEndId>

        </PmtId>

        <Amt>

          <InstdAmt Ccy="EUR">100.00</InstdAmt>

        </Amt>

        <Cdtr>

          <Nm>Jane Smith</Nm>

          <PstlAdr>

            <StrtNm>First Avenue</StrtNm>

            <BldgNb>5</BldgNb>

            <PstCd>67890</PstCd>

            <TwnNm>City</TwnNm>

            <Ctry>GB</Ctry>

          </PstlAdr>

        </Cdtr>

        <CdtrAcct>

          <Id>

            <IBAN>GB30NWBK40000012345678</IBAN>

          </Id>

        </CdtrAcct>

        <RmtInf>

          <Ustrd>Invoice 12345</Ustrd>

        </RmtInf>

      </CdtTrfTxInf>

    </PmtInf>

  </CstmrCdtTrfInitn>

</Document>

```


In this example, the pain.001.001 message initiates a credit transfer from the debtor (John Doe) to the creditor (Jane Smith). The payment amount is 100.00 EUR, and the payment reference is "Invoice 12345". The message includes details such as the message identification, creation date and time, and the number of transactions in the group.


Please note that this is just a simplified example, and the actual content and structure of the pain.001.001 message may vary depending on the specific implementation and requirements.

No comments:

Post a Comment

Privacy in cars has become nightmare

  People often think of their cars as private spaces,   but modern cars collect a lot of information   about them .This data   could be used...