andrew-svirin / ebics-client-php

PHP library to make requests by EBICS protocol for financial establishments. Support EBICS versions: 2.4, 2.5, 3.0; Encryption versions: E002, X002, A005, A006; Switching EBICS T/TS.
https://andrew-svirin.github.io/ebics-client-php/
MIT License
44 stars 32 forks source link

Credit/Debit Tranfert in "pain.008.001.02.sdd" Format #111

Open MZK91 opened 3 years ago

MZK91 commented 3 years ago

Hello guys,

After struggling to retrieve the bank statement I've finally made it, but right now I'm trying to figure out how to make a Credit or Debit transfer with the "pain.008.001.02.sdd" format.

Because I've tried the action "CCT" and "CDD", but my bank doesn't these actions.

Any clues on how I can make this work ?

Thanks in advance.

guillaume-sainthillier commented 3 years ago

Hello Leonel, nice to hear you figured out how to get your bank statements :-) I didn't make Credit / Debit transfer yet, but IMO you will have to make a FUL order with the transfer file in XML format.

MZK91 commented 3 years ago

Hey Guillaume,

Thanks for you answer, which action of the class should I use to be able to do this ?

andrew-svirin commented 3 years ago

@MZK91 Check tests folder with examples.

MZK91 commented 3 years ago

Can you please tell me which function cause I don't really see it in the tests ?

andrew-svirin commented 3 years ago

https://github.com/andrew-svirin/ebics-client-php/blob/master/tests/EbicsClientTest.php#L530

https://github.com/andrew-svirin/ebics-client-php/blob/master/tests/EbicsClientTest.php#L579

MZK91 commented 3 years ago

Good morning Andrew, Yes I know these methods i even try them but my bank doesn't allowed them. They say I can only use the "pain.008.001.02.sdd" format. Is there a way to do it ? Or a way to generate the XML manually ?

andrew-svirin commented 3 years ago

use FDL then, in tests should be.

MZK91 commented 3 years ago

FDL action is not allowed on my account to. Could it be possible to have a method that allow us to create our own XML based on our generated certificates ?

guillaume-sainthillier commented 2 years ago

Hello there,

We are adding FUL method for file upload with EBICS 2.5, feel free to use it (or BTU for Ebics 3).

You can create your Credit / Debit XML files with the way you want (plain XML, twig, https://github.com/php-sepa-xml/php-sepa-xml, ...)