ebics-client-php icon indicating copy to clipboard operation
ebics-client-php copied to clipboard

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

Open MZK91 opened this issue 4 years ago • 9 comments

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.

MZK91 avatar Sep 15 '21 19:09 MZK91

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.

guillaume-sainthillier avatar Sep 16 '21 17:09 guillaume-sainthillier

Hey Guillaume,

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

MZK91 avatar Sep 17 '21 15:09 MZK91

@MZK91 Check tests folder with examples.

andrew-svirin avatar Sep 24 '21 12:09 andrew-svirin

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

MZK91 avatar Oct 05 '21 21:10 MZK91

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

andrew-svirin avatar Oct 06 '21 07:10 andrew-svirin

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 ?

MZK91 avatar Oct 06 '21 12:10 MZK91

use FDL then, in tests should be.

andrew-svirin avatar Oct 06 '21 14:10 andrew-svirin

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 ?

MZK91 avatar Oct 08 '21 20:10 MZK91

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, ...)

guillaume-sainthillier avatar Jun 22 '22 17:06 guillaume-sainthillier