wesselstam / sepa-xml
SepaXML is a class that converts your direct debit information to PAIN.008.001.02 XML files.
Installs: 1 221
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=5.6.4
This package is not auto-updated.
Last update: 2025-07-06 08:34:05 UTC
README
About
SepaXML is a class that converts your direct debit information to PAIN.008.001.02 XML files. The original class is made by BureauPartners
Installation
The recommended installation way is through Composer.
$ composer require wesselstam/sepa-xml dev-master
Example
use WesselStam\SepaXML\SepaXML; // create instance $oSEPA = new SepaXML(); // Set your collection destination information $oSEPA->setCollectionDestination( "Your company name, "Your IBAN", "Your BIC", "Your Creditor ID" ); // Set the direct debit date $oSEPA->setDate("2017-07-11"); // Add one or more collections to the // addCollection($sName, $sIBAN, $sBIC, $iAmount, $sDescription, $sSignedDate, $sMandateID) $oSEPA->addCollection( "Customer name", "Customer IBAN", "Customer BIC", "Amount", "Description", "Mandate date", "Mandate ID" ); // output echo $oSEPA->getXML();