Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for exporting SEPA XML files #47

Open
ad-si opened this issue Aug 26, 2022 · 0 comments
Open

Add support for exporting SEPA XML files #47

ad-si opened this issue Aug 26, 2022 · 0 comments

Comments

@ad-si
Copy link
Owner

ad-si commented Aug 26, 2022

Minimal example file:

<?xml version="1.0" encoding="UTF-8" ?>
<Document 
  xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03 pain.001.001.03.xsd"
>
  <CstmrCdtTrfInitn>
    <GrpHdr>
      <MsgId>JustATest123</MsgId>
      <CreDtTm>2022-08-26T14:45:57Z</CreDtTm>
      <NbOfTxs>1</NbOfTxs>
      <CtrlSum>1</CtrlSum>
      <InitgPty><Nm>Test GmbH</Nm></InitgPty>
    </GrpHdr>
    <PmtInf>
      <PmtInfId>Submitter123</PmtInfId>
      <PmtMtd>TRF</PmtMtd>
      <BtchBookg>false</BtchBookg>
      <NbOfTxs>1</NbOfTxs>
      <CtrlSum>1</CtrlSum>
      <PmtTpInf><SvcLvl><Cd>SEPA</Cd></SvcLvl></PmtTpInf>
      <ReqdExctnDt>2022-08-26</ReqdExctnDt>
      <Dbtr><Nm>Test GmbH</Nm></Dbtr>
      <DbtrAcct><Id><IBAN>DExxxxxxxxxx</IBAN></Id></DbtrAcct>
      <DbtrAgt><FinInstnId><BIC>BANKXXXXXXX</BIC></FinInstnId></DbtrAgt>
      <ChrgBr>SLEV</ChrgBr>
      <CdtTrfTxInf>
        <PmtId><EndToEndId>NOTPROVIDED</EndToEndId></PmtId>
        <Amt><InstdAmt Ccy="EUR">1.00</InstdAmt></Amt>
        <Cdtr><Nm>John Doe</Nm></Cdtr>
        <CdtrAcct><Id><IBAN>DEyyyyyyy</IBAN></Id></CdtrAcct>
        <Purp><Cd>53</Cd></Purp>
        <RmtInf><Ustrd>Test Transaction</Ustrd></RmtInf>
      </CdtTrfTxInf>
    </PmtInf>
  </CstmrCdtTrfInitn>
</Document>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant