java-sepa-xml / java-sepa-xml Goto Github PK
View Code? Open in Web Editor NEWThis Java library proviedes SEPA XML files to automate direct debit and credit transfer payment processes.
License: MIT License
This Java library proviedes SEPA XML files to automate direct debit and credit transfer payment processes.
License: MIT License
Hi, thanks for work. Really helped me get things going.
I faced two minor issues:
According to this document (https://www.nordea.com/Images/36-262430/MIG-CAP_pain%20001.001.03_Payments_v_1.5.pdf) valid codes in the used standard (pain.001.001.03) are CHK and TRF. So I altered SEPA.Java and with TRF everything works fine.
When I created a credit transfer file the subject was left out. I altered the last lines in SEPACreditTransfer.java to nodeCdtTrfTxInf.append("RmtInf").append("Ustrd").value(transaction.getSubject());
From my understanding Remittance can't be set at all while using credit transfers.
Have a nice weekend
How to import the library in my project?
from the wiki:
https://wiki.xmldation.com/General_Information/ISO20022/pain.008
Pain.008 is a payments initation message by ISO 20022. It depicts a Direct Debit message in XML format.
https://wiki.xmldation.com/General_Information/ISO_20022/pain.001
Pain.001 is a payments initiation message by ISO 20022. It depicts a Credit Transfer message in XML format.
Question:
Since the SepaDirectDebit constructor calls the super build, how would it be possibe to create a pain 008 file?
THe build(0 is hard coded on pain.001.001.03.
Alos, how did you generate the example in the readme -> XML File Result for SEPA Direct Debit
And 'XML File Result for SEPA Credit Transfer' has the wrong document xmlns reference (pain 8 instead of 1)
Regards,
Daniel
In PAIN 001.001.03, BIC is optional as the account is fully specified with the IBAN. So I provide a pull request to account for BIC being null in BankAccount object when using the two-arguments constructor.
As a second thing, I updated pom.xml to depend from a newer version of the surefire plugin to mitigate compiler errors.
Please check and apply.
Best regards
Alexander
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.