Git Product home page Git Product logo

delphi-sepa-xml's People

Contributors

aspettl avatar microtronx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

delphi-sepa-xml's Issues

Please add a new parameter BtchBookg

We need the "BtchBookg" parameter in XML output. We have changed source on our side, please add it to your code:

TCreditTransferPaymentInformation = class
private
...
fBtchBookg:string; // set it to "false" in onCreate
public
...
property BtchBookg: String read fBtchBookg write fBtchBookg;
...

and write it to XML right after "PmtMtd"

procedure TCreditTransferPaymentInformation.SaveToStream(const stream: TStream; const schema: String);
begin
SEPAWriteLine(stream, '');
SEPAWriteLine(stream, ''+SEPACleanString(PmtInfId)+'');
SEPAWriteLine(stream, ''+SEPACleanString(PmtMtd)+'');

//>>
SEPAWriteLine(stream, ''+SEPACleanString(fBtchBookg)+'');

Allow escaped characters like & > &

in Current version your CharIsSEPAWhitelisted() function is removing the ; character, if we escape the strings like:

"CustomerCompany GmbH & Co. KG" to "CustomerCompany GmbH & amp; Co. KG"
after output it is written as "CustomerCompany GmbH &amp Co. KG" and the ; is missing.

Without escaping the & char the xml-file cannot be validated.
Add ; to your CharisSEPAWhitelisted() and everything works.

ps: Note that we had to insert a space between & and amp in above example to show it here ...

Allow also not german IBANS

We have disabled your lines:

// if (CdtrAgt.OthrID = FIN_INSTN_NOTPROVIDED) and not SEPAIsGermanIBAN(CdtrAcct.IBAN) then Result.Append(INVALID_IBAN_NOT_DE);

because we're using this also with ibans in Luxembourg, Austria etc, its working so why should we show that warning ... remove it

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.