2017 © Pedro Peláez
 

vcs aba-file-generator

Generate ABA bank transaction files from a collection of transactions.

image

simonblee/aba-file-generator

Generate ABA bank transaction files from a collection of transactions.

  • Tuesday, July 19, 2016
  • by simonblee
  • Repository
  • 2 Watchers
  • 7 Stars
  • 14,490 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 7 Versions
  • 13 % Grown

The README.md

ABA File Generator

Overview

Generates an aba file for bulk banking transactions with Australian banks., (*1)

License

MIT License, (*2)

Installation

Copy the files where needed or install via composer:, (*3)

composer require simonblee/aba-file-generator

Usage

Create a generator object with the descriptive type information for this aba file:, (*4)

use AbaFileGenerator\Model\Transaction;
use AbaFileGenerator\Generator\AbaFileGenerator;

$generator = new AbaFileGenerator(
    '123-456', // bsb
    '12345678', // account number
    'CBA', // bank name
    'User Name',
    'Remitter',
    '175029', // direct entry id for CBA
    'Payroll' // description
);

// Set a custom processing date if required
$generator->setProcessingDate('tomorrow');

Create an object or array of objects implementing AbaFileGenerator\Model\TransactionInterface. A simple Transaction object is provided with the library but may be too simple for your project:, (*5)

$transaction = new Transaction();
$transaction->setAccountName(...);
$transaction->setAccountNumber(...);
$transaction->setBsb(...);
$transaction->setTransactionCode(...);
$transaction->setReference(...);
$transaction->setAmount(...);

Generate the aba string and save into a file (or whatever else you want):, (*6)

$abaString = $generator->generate($transaction); // $transaction could also be an array here
file_put_contents('/my/aba/file.aba', $abaString);

References

  • http://www.anz.com/Documents/AU/corporate/clientfileformats.pdf
  • http://www.cemtexaba.com/aba-format/cemtex-aba-file-format-details.html
  • https://github.com/mjec/aba/blob/master/sample-with-comments.aba
  • https://www.fileactive.anz.com/filechecker

The Versions

19/07 2016

dev-master

9999999-dev

Generate ABA bank transaction files from a collection of transactions.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

28/06 2016

0.0.6

0.0.6.0

Generate ABA bank transaction files from a collection of transactions.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

22/07 2015

0.0.5

0.0.5.0

Generate ABA bank transaction files from a collection of transactions.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

19/11 2014

0.0.4

0.0.4.0

Generate ABA bank transaction files from a collection of transactions.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

25/08 2014

0.0.3

0.0.3.0

Generate ABA bank transaction files from a collection of transactions.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

12/08 2014

0.0.2

0.0.2.0

Generate ABA bank transaction files from a collection of transactions.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

12/08 2014

0.0.1

0.0.1.0

Generate ABA bank transaction files from a collection of transactions.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires