kewisch / sepa.js

Create and validate SEPA XML transactions
http://kewisch.github.io/sepa.js
Other
88 stars 61 forks source link

Creditor reference information #39

Open bostjanpisler opened 4 years ago

bostjanpisler commented 4 years ago

Is it possible to extend a transaction to add the following reference info or is a pull req. required?

<RmtInf>
  <Strd>
    <CdtrRefInf>
      <Tp>
        <CdOrPrtry>
          <Cd>SCOR</Cd>
        </CdOrPrtry>
      </Tp>
      <Ref>SI1912345678-40002</Ref>
    </CdtrRefInf>
    <AddtlRmtInf>XYZ</AddtlRmtInf>
  </Strd>
</RmtInf>
kewisch commented 2 years ago

I don't think that is currently supported, but I'm happy to take a patch to add it. Is this part of all PAIN types?

lippertto commented 11 months ago

For what it's worth, I saw the RmtInf element in the XSD files for  pain.008.001.10 and pain.001.001.11.