totaler / sepa

SEPA xml generator
GNU General Public License v3.0
17 stars 9 forks source link

full example file #8

Open zdenop opened 10 years ago

zdenop commented 10 years ago

Can you please provide whole example file e.g. with two payments?

nferrari commented 10 years ago

Hi,

Just to let you know I just submitted a PR with some helpers, providing also a new example.

Regards,

jvm986 commented 7 years ago

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?

nferrari commented 7 years ago

@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

totaler commented 7 years ago

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.

BenjoNX commented 10 months ago

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