Download the PHP package abwebdevelopers/aba-generator without Composer
On this page you can find all versions of the php package abwebdevelopers/aba-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download abwebdevelopers/aba-generator
More information about abwebdevelopers/aba-generator
Files in abwebdevelopers/aba-generator
Package aba-generator
Short Description Provides a simple way to generate an ABA file which is used by banks to allow for batch transactions.
License MIT
Homepage https://github.com/abwebdevelopers/aba-generator
Informations about the package aba-generator
ABA Generator
Provides a simple way to generate an ABA file which is used by banks to allow for batch transactions.
Credit
This was forked from https://github.com/anam-hossain/aba due to an issue with string padding on the lodgement reference. This fork fixes the text to be left justified as opposed to right justified.
Features
- Simple API
- Framework agnostic
Requirements
- PHP 5.4+
Installation
Aba
is available via Composer
Integrations
Laravel integrations
Although Aba
is framework agnostic, it does support Laravel out of the box and comes with a Service provider and Facade for easy integration.
After you have installed the Aba
, open the config/app.php
file which is included with Laravel and add the following lines.
In the $providers
array add the following service provider.
Add the facade of this package to the $aliases
array.
You can now use this facade in place of instantiating the converter yourself in the following examples.
Usage
Mutiple transactions
Laravel example
Appendix
Validation
Field | Description |
Bank name | Bank name must be 3 characters long and Capitalised. For example: CBA |
BSB | The valid BSB format is XXX-XXX. |
Account number | Account number must be up to 9 digits. |
User name (Descriptive record) | User or preferred name must be letters only and up to 26 characters long. |
Account name (Detail record) | Account name must be BECS characters only and up to 32 characters long. |
User number | User number which is allocated by APCA must be up to 6 digits long. The Commonwealth bank default is 301500. |
Description (Descriptive record) | Description must be up to 12 characters long and letters only. |
Reference (Detail record) | The reference must be BECS characters only and up to 18 characters long. For example: Payroll number. |
Remitter | The remitter must be letters only and up to 16 characters long. |
Transaction codes
Code | Transaction Description |
13 | Externally initiated debit items |
50 | Externally initiated credit items with the exception of those bearing Transaction Codes |
51 | Australian Government Security Interest |
52 | Family Allowance |
53 | Pay |
54 | Pension |
55 | Allotment |
56 | Dividend |
57 | Debenture/Note Interest |