digitick / php-sepa-xml

* THIS PROJECT IS NO LONGER MAINTAINED* SEPA file generator in PHP
107 stars 63 forks source link

Impossible to add PstlAdr in format pain.008.001.02 #64

Open bberjawi opened 4 years ago

bberjawi commented 4 years ago

It is impossible to add PstlAdr for debit with format pain.008.001.02 in CustomerDirectDebitTransferDomBuilder L171 : if (in_array($this->painFormat, array('pain.008.003.02'))) { $addPostalAddress = false; $postalAddress = $this->createElement('PstlAdr');

The PstlAdr is allowed in format 008.001.02 (check https://businessbanking.bankofireland.com/app/uploads/2016/07/SEPA-Direct-Debit-PAIN.008.001.02-XML-File-Structure-PDF.pdf)