dmitrirussu / php-sepa-xml-generator

SEPA SDD XML Generator recommended to see. PHP SEPA XML Generator, (Single Euro Payments Area ISO20022 SDD V1_0 20122009) (SEPA)(PHP5)
https://github.com/dmitrirussu/PHP-SEPA-XML-GENERATOR
MIT License
53 stars 36 forks source link

add scheme name and code to group header + add organization_id/private_i... #8

Closed raimon-segura closed 10 years ago

raimon-segura commented 10 years ago

-add scheme name and code to group header Some banks needs a structure like this(with tags SchemeNm/Cd with value 'CORE'):

nom-presentador ZZ00001X11111111 CORE

-add organization_id/private_id init array 'group_header' => array( 'company_name' => 'Amazing SRL ȘȚțș ыаывпавпва ' 'organisation_id' => 'id_X' // or 'private_id' => 'id_Y' ),

raimon-segura commented 10 years ago

Hi,

It seems wrong to me too, but the generated file is validated by xsd and bank said that there is a schemNM/Cd in groupHeader... I try to get more info about this.

What do you think about the changes in SepaXmlFile.php to initialize organisation_id or private_id with array?

Thanks!!

dmitrirussu commented 10 years ago

you can try to asq bank to offer for you version of xml XSD file, my current version is pain.008.001.02.xsd,

I implemented possibility to use organisation_id or private_id. you can see my last changes