Validate an ABA (Cemtex) file
Check a direct entry file from MYOB, Xero, Reckon or any payroll system before you send it to your bank, or after the bank refused it. Each finding names the line, the field and what was expected against what was found.
From an e-mail: save the attachment to Files first, then choose it here.
Nothing is uploaded
The file is read in your browser and the result is made on your device. No upload, no account, no cookie, no analytics script.
To check, switch off Wi-Fi once the page has loaded; the tool keeps working. The page's security policy blocks most background requests, but it is not a complete guarantee by itself (WebRTC, for example, is not covered). Privacy page
What is checked
- File shape: 120-character records, allowed characters, one Descriptive record first, Detail records, one File Total record last, line endings.
- Descriptive record (0): reel sequence, bank abbreviation, user name and six-digit user ID, description, processing date (DDMMYY), blank filler.
- Detail records (1): BSB as nnn-nnn, account number, indicator, transaction code, amount above zero, account title, lodgement reference, trace BSB and account, remitter, withholding tax.
- File Total record (7): credit, debit and net totals and the record count, each compared with the Detail records.
A summary above the findings shows the user and bank, the processing date, the number of transactions, the totals per transaction code and whether the file is self-balanced.
To see every payment as a table, use ABA file to Excel or CSV. It only reads the file.
Why did my bank reject the file?
A bank portal may say only "invalid file format". These messages have a page of their own:
- A record is not 120 characters long
- The BSB is not in the format nnn-nnn
- The user identification number (Direct Entry User ID) is 000000
- The credit total does not match the Detail records
- A record contains characters that are not allowed in an ABA file
Two causes can hide in a file that looks right. A processing date in the past or more than 90 days ahead: the date is DDMMYY, so 131026 is 13 October 2026, and the validator warns by today's date on your device. And a missing or unwanted balancing entry (below).
Record layouts
The sample file read line by line: ABA file format.
Descriptive record (first line)
| Positions | Field | Content |
|---|---|---|
| 1 | Record type | 0 |
| 2-18 | Blank | 17 spaces |
| 19-20 | Reel sequence number | 01 |
| 21-23 | Financial institution | Your bank's abbreviation, e.g. WBC, NAB, BQL |
| 24-30 | Blank | 7 spaces |
| 31-56 | Name of user supplying file | Left-justified |
| 57-62 | User identification number | Your Direct Entry User ID, six digits |
| 63-74 | Description of entries | e.g. PAYROLL |
| 75-80 | Date to be processed | DDMMYY |
| 81-120 | Blank | 40 spaces |
Detail record (one per payment)
| Positions | Field | Content |
|---|---|---|
| 1 | Record type | 1 |
| 2-8 | BSB | nnn-nnn, with the hyphen |
| 9-17 | Account number | Right-justified, blank-filled |
| 18 | Indicator | Blank; N for new or varied details; W, X, Y for withholding tax |
| 19-20 | Transaction code | 13 externally initiated debit; 50 externally initiated credit; 51 australian government security interest; 52 basic family payment / additional family payment; 53 pay; 54 pension; 55 allotment; 56 dividend; 57 debenture/note interest |
| 21-30 | Amount | In cents, zero-filled, no decimal point |
| 31-62 | Title of account | The payee's account name, left-justified |
| 63-80 | Lodgement reference | What the payee sees on their statement |
| 81-87 | Trace BSB | Your own BSB, for returns |
| 88-96 | Trace account number | Your own account |
| 97-112 | Name of remitter | Your name as the payee sees it |
| 113-120 | Withholding tax | In cents; 00000000 when none |
File Total record (last line)
| Positions | Field | Content |
|---|---|---|
| 1 | Record type | 7 |
| 2-8 | BSB filler | 999-999 |
| 9-20 | Blank | 12 spaces |
| 21-30 | Net total | Credit total minus debit total, unsigned |
| 31-40 | Credit total | Sum of all credit records |
| 41-50 | Debit total | Sum of all debit records |
| 51-74 | Blank | 24 spaces |
| 75-80 | Count | Number of Detail records |
| 81-120 | Blank | 40 spaces |
Balancing record
A self-balanced file ends with one extra Detail record that debits your own account (transaction code 13) for the sum of the credits, so the net total is zero. Some banks require it and others add it themselves; it is a setting in your accounting package. The validator says which form the file has and treats neither as an error.
Where the banks differ
Banks' published guides are not identical. Where they differ the validator warns instead of failing: a user ID of 000000, line endings other than CR LF, more than one set of records in a file, text or account numbers not aligned as the guides ask, a blank lodgement reference.
What is not checked
Whether a BSB belongs to a real branch or an account exists, whether the user ID and bank abbreviation are the ones your bank assigned, and your bank's limits and processing window.
Every message the validator can give
| Message | Kind |
|---|---|
| The file is empty | error |
| This does not look like an ABA file | error |
| The file starts with a byte-order mark (BOM), invisible bytes that are not part of an ABA file | error |
| The file ends with a Ctrl-Z character (the DOS end-of-file mark), which is not part of an ABA file | warning |
| A record is not 120 characters long | error |
| A record contains characters that are not allowed in an ABA file | error |
| A record starts with an unknown record type | error |
| The file does not start with a Descriptive record (type 0) | error |
| The file does not end with a File Total record (type 7) | error |
| Records are out of order | error |
| The file contains more than one set of records (more than one type 0 or type 7 record) | warning |
| The file contains no Detail records (type 1) | error |
| A field that must be blank contains data | error |
| The reel sequence number is not 01 | error |
| The financial institution abbreviation is not three letters | error |
| The name of the user supplying the file is blank | error |
| The user identification number (Direct Entry User ID) is not six digits | error |
| The user identification number (Direct Entry User ID) is 000000 | warning |
| The description of entries is blank | error |
| The processing date is not a valid date (DDMMYY) | error |
| The processing date is in the past | warning |
| The processing date is more than 90 days ahead | warning |
| The BSB is not in the format nnn-nnn | error |
| The account number is blank, all zeros or contains invalid characters | error |
| The account number is not right-justified | warning |
| The indicator is not blank, N, T, W, X or Y | error |
| The transaction code is not valid | error |
| The amount is not numeric | error |
| The amount is zero | error |
| The account title is blank | error |
| The lodgement reference is blank or does not start in the first position | warning |
| A text field is not left-justified | warning |
| The trace BSB is not in the format nnn-nnn | error |
| The trace account number is blank, all zeros or contains invalid characters | error |
| The name of remitter is blank | error |
| The withholding tax amount is not numeric | error |
| The withholding tax amount and the indicator do not agree | warning |
| The BSB filler in the File Total record is not 999-999 | error |
| A total in the File Total record is not numeric | error |
| The credit total does not match the Detail records | error |
| The debit total does not match the Detail records | error |
| The net total is not the difference between the credit and debit totals | error |
| The count of Detail records does not match | error |
| There is data after the File Total record | error |
| The records are not separated by CR LF | warning |
| The file is not self-balanced (credits and debits differ) | note |
Sample files
Synthetic data: invented names, BSBs in the 000 range.
- aba-sample-valid.aba - three wage payments, not self-balanced
- aba-sample-self-balanced.aba - the same with a balancing debit
- aba-error-record-length.aba - shows "A record is not 120 characters long"
- aba-error-bsb.aba - shows "The BSB is not in the format nnn-nnn"
- aba-warning-user-id-000000.aba - shows "The user identification number (Direct Entry User ID) is 000000"
- aba-error-credit-total.aba - shows "The credit total does not match the Detail records"
- aba-error-characters.aba - shows "A record contains characters that are not allowed in an ABA file"
Checks follow the file format guides of Westpac, NAB, Bank of Queensland and ANZ.