phpFinTS icon indicating copy to clipboard operation
phpFinTS copied to clipboard

Sammelüberweisung possible?

Open witschko opened this issue 3 years ago • 6 comments

Hello everybody,

first of all thank you for this great library, implementing things were a charm!

I have a question regarding "Sammelüberweisungen". I was thinking that it is possible by adding multiple creditors to the SEPA Transfer but it isn't working. How would I do that?

Regars Philipp

witschko avatar Oct 15 '21 12:10 witschko

Hi, can you supply any more information about what is not working or symptoms of the problem?

Cugar15 avatar Oct 16 '21 10:10 Cugar15

I try to execute a SEPATransfer by adding multiple creditors but the request throws an error:

FinTS errors:\n9050 (global): Die Nachricht enthält Fehler.\n9010 (wrt seg 3): Mehr als ein Posten im Einzelauftrag vorhanden.

IIRC I've tried the same thing with the same bank some months ago and it has been working but I'm not 100% sure.

According to the code of SEPATransfer class it is able to handle multiple creditors?

witschko avatar Oct 18 '21 15:10 witschko

Hi @witschko

Sammelüberweisungen is not currently supported.

If you want to try to add support, you would need to implement the "HKCCM" Segment and in SendSEPATransfer.php add a check for the number of SEPATransfers in the XML.

Have a look at HKCCSv1.php for the Einzelüberweisung and at SendSEPADirectDebit.php for how I did it for Lastschriften.

ampaze avatar Oct 19 '21 06:10 ampaze

Hey @ampaze

ok...thank you very much for the explanation. I'll have a look into the HKCCM and see what I can do.

witschko avatar Oct 19 '21 07:10 witschko

see https://github.com/nemiah/phpFinTS/pull/366

if you want to use it NOW, you can alternatively use the following fork: https://github.com/LaunixPeter/phpFinTS

carli2 avatar Mar 04 '22 16:03 carli2

see #366

if you want to use it NOW, you can alternatively use the following fork: https://github.com/LaunixPeter/phpFinTS

Thank you very much...i'll have a look at it

witschko avatar Mar 05 '22 12:03 witschko