Open zdenop opened 10 years ago
Hi,
Just to let you know I just submitted a PR with some helpers, providing also a new example.
Regards,
Hey,
I am having trouble understanding how to use the library. The sample you provided just seems to define some classes - how do I pass the details of the transactions to generate the xml?
@jvm986 : my PR has not been integrated into this repo, so I made my own, with a different example. Have you seen it? https://github.com/nferrari/sepa
This library is based on LibComXML and only defines SEPA objects to be used. This is the reason no further examples have been added.
You only have to create objects in the inverse order they appear in the xml. First the deeper ones and this way you can feed parents with info. For repeating structures like transactions, they are only lists inside parents values.
I developed a soft based that generate a xml sepa file by copy/paste in a google sheet doc sepaxml.com available in multi-language
Can you please provide whole example file e.g. with two payments?