Skip to content

snoblucha/ABO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABO generator

This package creates ABO payment files based on: https://www.fio.cz/docs/cz/struktura-abo.pdf

Composer - ABO generator

My package cannot be used by composer directly. Use laravel-abo package that wraps my package if you need to use composer:

composer require samobot-com/laravel-abo

More information can be found on the laravel-php package github page.

Pure PHP - ABO generator

In case you use my class directly, here is an example how to use it:

$abo = new abo();
$abo->setComittentNumer(222780978);
$abo->setOrganization("Ceska nar.zdrav.poj.");
$abo->setDate('271198');
$abo->setSecurityKey('123456', '654321');
$account = $abo->addAccountFile(abo_account_file::INKASO);
$account->setBank('0300'); // ktera banka bude zpracovavat, ta nase
$account->setBankDepartment('82');
$group = $account->addGroup();
$group->setAccount(122780922);
$group->setDate('271198');
$group->addItem("174-1999738514/0300", 2000.5, 2220009813)
	->setConstSym('8')
	->setSpecSym('93653')
	->setMessage('první část');

$group->addItem("5152046/0300", 2000, 2220000598)
	->setConstSym('8')
	->setSpecSym('93654');

$group->addItem("192359658/0300", 2000, 2220000004)
	->setConstSym('8')		
	->setSpecSym('93655');
	
$group->addItem("174-0346006514/0300", 2000, 2220497222)
	->setConstSym('8')
	->setSpecSym('93656')
	->setMessage('první část');
	
$group->addItem("492732514/0300", 2000, 2220000811)
	->setConstSym('8')
	->setSpecSym('93657');

echo '<pre>'.$abo->generate().'</pre>';

About

PHP generator for ABO file format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages