Download the PHP package tigron/sepa-payments without Composer
On this page you can find all versions of the php package tigron/sepa-payments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tigron/sepa-payments
More information about tigron/sepa-payments
Files in tigron/sepa-payments
Download tigron/sepa-payments
More information about tigron/sepa-payments
Files in tigron/sepa-payments
Vendor tigron
Package sepa-payments
Short Description A package to create SEPA 001.001.03 payment files
License MIT
Package sepa-payments
Short Description A package to create SEPA 001.001.03 payment files
License MIT
Please rate this library. Is it a good library?
Informations about the package sepa-payments
sepa-payments
Overview
This library will create a SEPA pain.001.001.03 Credit Transfer XML file. The XML file is validated with the ING Format Validation Tool: url: https://ing-fvt.liaison.com/welcome.do login: ING10 password: Format10
todo
- Validation for input
- Better reporting
- XML formatting (tidy?)
- Validation agains XSD
Example
$organization = new \Tigron\Sepa\Organization();
$organization->name = 'Tigron';
/**
* Set the identification
*
* Possible types: bic, bei or kbo-bce
*/
$organization->set_identification('kbo-bce', '0888764123');
$credit = new \Tigron\Sepa\File\Credit();
$credit->messageIdentification = 1;
$credit->initiatingParty = $organization;
$debtor = new \Tigron\Sepa\Debtor();
$debtor->name = 'Tigron';
$debtor->country = 'BE';
$debtor->zipcode = '1930';
$debtor->city = 'Zaventem';
$debtor->street = 'Excelsiorlaan';
$debtor->housenumber = '17';
// Create a payment
$payment = new \Tigron\Sepa\Payment();
$payment->paymentInformationIdentification = 'payment_1';
$payment->requestedExecutionDate = new DateTime('2016-09-15');
$payment->debtorAccount = 'BE12123412341234';
$payment->debtorAgent = 'BICAZE';
$payment->debtor = $debtor;
$creditor = new \Tigron\Sepa\Creditor();
$creditor->name = 'My Supplier';
$creditor->country = 'BE';
$creditor->zipcode = '1930';
$creditor->city = 'Zaventem';
$creditor->street = 'Excelsiorlaan';
$creditor->housenumber = '17';
// Create a transaction
$transaction = new \Tigron\Sepa\Transaction();
$transaction->paymentIdentification = 'payment_1';
$transaction->amount = 500;
$transaction->creditorAgent = 'BICEZA';
$transaction->creditorAccount = 'BE12123412341234';
$transaction->creditor = $creditor;
$transaction->structured_message = '123123412345';
$payment->transactions[] = $transaction;
$transaction = new \Tigron\Sepa\Transaction();
$transaction->paymentIdentification = 'payment_1';
$transaction->amount = 500;
$transaction->creditorAgent = 'BICEZA';
$transaction->creditorAccount = 'BE12123412341234';
$transaction->creditor = $creditor;
$transaction->unstructured_message = 'Invoice 123';
$payment->transactions[] = $transaction;
$credit->payments = [ $payment ];
$xml = $credit->render();
All versions of sepa-payments with dependencies
PHP Build Version
Package Version
The package tigron/sepa-payments contains the following files
Loading the files please wait ....