2017 © Pedro Peláez
 

library aba-file-generator

Generate ABA bank transaction files from a collection of transactions. Forked from simonblee/aba-file-generator

image

ivanhosgood/aba-file-generator

Generate ABA bank transaction files from a collection of transactions. Forked from simonblee/aba-file-generator

  • Monday, June 25, 2018
  • by ivanhosgood
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

ABA File Generator

Notes

The ABA format provided @ simonblee/aba-file-generator does not match specification as described at: https://www.commbank.com.au/content/dam/robohelp/PDFS/commbiz_direct_credit_debit.pdf https://www.cemtexaba.com/aba-format/cemtex-aba-file-format-details https://www.nab.com.au/content/dam/nabconnectcontent/file-formats/NAB%20Connect%20Consolidated%20File%20Format%20Specification_V0.05.pdf, (*1)

Descriptive record does not contain BSB or account #. These fields (2-18) are to be left blank, (*2)

Overview

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

License

MIT License, (*4)

Installation

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

composer require ivanhosgood/aba-file-generator

Usage

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

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

$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):, (*8)

$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

The Versions

25/06 2018

dev-master

9999999-dev

Generate ABA bank transaction files from a collection of transactions. Forked from simonblee/aba-file-generator

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

25/06 2018

0.0.8

0.0.8.0

Generate ABA bank transaction files from a collection of transactions. Forked from simonblee/aba-file-generator

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

25/06 2018

0.0.7

0.0.7.0

Generate ABA bank transaction files from a collection of transactions. Forked from simonblee/aba-file-generator

  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