-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from viafintech/feature/add-support-for-ebics-3…
….7-pain-files Add support for pain.001.001.09 and pain.008.001.08
- Loading branch information
Showing
7 changed files
with
227 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
sepa_file_parser (0.2.1) | ||
sepa_file_parser (0.2.2) | ||
bigdecimal | ||
nokogiri | ||
time | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module SepaFileParser | ||
VERSION = '0.2.1'.freeze | ||
VERSION = '0.2.2'.freeze | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.09" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.001.001.09 pain.001.001.09.xsd"> | ||
<CstmrCdtTrfInitn> | ||
<GrpHdr> | ||
<MsgId>SEPA-KING/9f2d8de0c8dc62a1345a87</MsgId> | ||
<CreDtTm>2024-06-13T09:38:06+02:00</CreDtTm> | ||
<NbOfTxs>1</NbOfTxs> | ||
<CtrlSum>102.50</CtrlSum> | ||
<InitgPty> | ||
<Nm>Schuldner GmbH</Nm> | ||
</InitgPty> | ||
</GrpHdr> | ||
<PmtInf> | ||
<PmtInfId>SEPA-KING/9f2d8de0c8dc62a1345a87/1</PmtInfId> | ||
<PmtMtd>TRF</PmtMtd> | ||
<BtchBookg>true</BtchBookg> | ||
<NbOfTxs>1</NbOfTxs> | ||
<CtrlSum>102.50</CtrlSum> | ||
<PmtTpInf> | ||
<SvcLvl> | ||
<Cd>SEPA</Cd> | ||
</SvcLvl> | ||
</PmtTpInf> | ||
<ReqdExctnDt> | ||
<Dt>2024-06-14</Dt> | ||
</ReqdExctnDt> | ||
<Dbtr> | ||
<Nm>Schuldner GmbH</Nm> | ||
</Dbtr> | ||
<DbtrAcct> | ||
<Id> | ||
<IBAN>DE87200500001234567890</IBAN> | ||
</Id> | ||
</DbtrAcct> | ||
<DbtrAgt> | ||
<FinInstnId> | ||
<BICFI>BANKDEFFXXX</BICFI> | ||
</FinInstnId> | ||
</DbtrAgt> | ||
<ChrgBr>SLEV</ChrgBr> | ||
<CdtTrfTxInf> | ||
<PmtId> | ||
<InstrId>12345</InstrId> | ||
<EndToEndId>XYZ-1234/123</EndToEndId> | ||
</PmtId> | ||
<Amt> | ||
<InstdAmt Ccy="EUR">102.50</InstdAmt> | ||
</Amt> | ||
<CdtrAgt> | ||
<FinInstnId> | ||
<BICFI>PBNKDEFF370</BICFI> | ||
</FinInstnId> | ||
</CdtrAgt> | ||
<Cdtr> | ||
<Nm>Telekomiker AG</Nm> | ||
</Cdtr> | ||
<CdtrAcct> | ||
<Id> | ||
<IBAN>DE37112589611964645802</IBAN> | ||
</Id> | ||
</CdtrAcct> | ||
<RmtInf> | ||
<Ustrd>Rechnung vom 22.08.2013</Ustrd> | ||
</RmtInf> | ||
</CdtTrfTxInf> | ||
</PmtInf> | ||
</CstmrCdtTrfInitn> | ||
</Document> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.08" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.008.001.08 pain.008.001.08.xsd"> | ||
<CstmrDrctDbtInitn> | ||
<GrpHdr> | ||
<MsgId>example/35d37060c3e8d6288b5377</MsgId> | ||
<CreDtTm>2024-06-13T09:41:51+02:00</CreDtTm> | ||
<NbOfTxs>1</NbOfTxs> | ||
<CtrlSum>39.99</CtrlSum> | ||
<InitgPty> | ||
<Nm>Gläubiger GmbH</Nm> | ||
<Id> | ||
<OrgId> | ||
<Othr> | ||
<Id>DE98ZZZ09999999999</Id> | ||
</Othr> | ||
</OrgId> | ||
</Id> | ||
</InitgPty> | ||
</GrpHdr> | ||
<PmtInf> | ||
<PmtInfId>example/35d37060c3e8d6288b5377/1</PmtInfId> | ||
<PmtMtd>DD</PmtMtd> | ||
<BtchBookg>true</BtchBookg> | ||
<NbOfTxs>1</NbOfTxs> | ||
<CtrlSum>39.99</CtrlSum> | ||
<PmtTpInf> | ||
<SvcLvl> | ||
<Cd>SEPA</Cd> | ||
</SvcLvl> | ||
<LclInstrm> | ||
<Cd>CORE</Cd> | ||
</LclInstrm> | ||
<SeqTp>FRST</SeqTp> | ||
</PmtTpInf> | ||
<ReqdColltnDt>2024-06-14</ReqdColltnDt> | ||
<Cdtr> | ||
<Nm>Gläubiger GmbH</Nm> | ||
</Cdtr> | ||
<CdtrAcct> | ||
<Id> | ||
<IBAN>DE87200500001234567890</IBAN> | ||
</Id> | ||
</CdtrAcct> | ||
<CdtrAgt> | ||
<FinInstnId> | ||
<BICFI>BANKDEFFXXX</BICFI> | ||
</FinInstnId> | ||
</CdtrAgt> | ||
<ChrgBr>SLEV</ChrgBr> | ||
<CdtrSchmeId> | ||
<Id> | ||
<PrvtId> | ||
<Othr> | ||
<Id>DE98ZZZ09999999999</Id> | ||
<SchmeNm> | ||
<Prtry>SEPA</Prtry> | ||
</SchmeNm> | ||
</Othr> | ||
</PrvtId> | ||
</Id> | ||
</CdtrSchmeId> | ||
<DrctDbtTxInf> | ||
<PmtId> | ||
<InstrId>12345</InstrId> | ||
<EndToEndId>XYZ/2013-08-ABO/6789</EndToEndId> | ||
</PmtId> | ||
<InstdAmt Ccy="EUR">39.99</InstdAmt> | ||
<DrctDbtTx> | ||
<MndtRltdInf> | ||
<MndtId>K-02-2011-12345</MndtId> | ||
<DtOfSgntr>2024-01-25</DtOfSgntr> | ||
</MndtRltdInf> | ||
</DrctDbtTx> | ||
<DbtrAgt> | ||
<FinInstnId> | ||
<BICFI>SPUEDE2UXXX</BICFI> | ||
</FinInstnId> | ||
</DbtrAgt> | ||
<Dbtr> | ||
<Nm>Zahlemann & Söhne GbR</Nm> | ||
</Dbtr> | ||
<DbtrAcct> | ||
<Id> | ||
<IBAN>DE21500500009876543210</IBAN> | ||
</Id> | ||
</DbtrAcct> | ||
<RmtInf> | ||
<Ustrd>Vielen Dank für Ihren Einkauf</Ustrd> | ||
</RmtInf> | ||
</DrctDbtTxInf> | ||
</PmtInf> | ||
</CstmrDrctDbtInitn> | ||
</Document> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters