2017 © Pedro Peláez
 

library sepa-xml

SepaXML is a class that converts your direct debit information to PAIN.008.001.02 XML files.

image

wesselstam/sepa-xml

SepaXML is a class that converts your direct debit information to PAIN.008.001.02 XML files.

  • Thursday, July 20, 2017
  • by wesselstam
  • Repository
  • 1 Watchers
  • 0 Stars
  • 327 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 12 % Grown

The README.md

SEPA XML class

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, (*1)

Installation

The recommended installation way is through Composer., (*2)

$ 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();

Source

https://github.com/BureauPartners/SEPA-Incasso, (*3)

The Versions

20/07 2017

dev-master

9999999-dev https://github.com/wesselstam/SEPA-XML

SepaXML is a class that converts your direct debit information to PAIN.008.001.02 XML files.

  Sources   Download

MIT

The Requires

  • php >=5.5.38

 

by Wessel Stam
by Mark Hameetman
by Rein Schaap

11/07 2017

1.0

1.0.0.0 https://github.com/wesselstam/SEPA-XML

SepaXML is a class that converts your direct debit information to PAIN.008.001.02 XML files.

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

by Wessel Stam
by Mark Hameetman
by Rein Schaap