Giter VIP home page Giter VIP logo

java-sepa-xml's Issues

PmtMtd and subject with creditransfers

Hi, thanks for work. Really helped me get things going.

I faced two minor issues:

  1. 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.

  2. 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

Release

How to import the library in my project?

Not supporting credit transfer AND direct debit?

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

BIC is optional in CreditTransfer

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.