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.

Your file never leaves your browser.How to check that
No file at hand?

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

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:

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)

PositionsFieldContent
1Record type0
2-18Blank17 spaces
19-20Reel sequence number01
21-23Financial institutionYour bank's abbreviation, e.g. WBC, NAB, BQL
24-30Blank7 spaces
31-56Name of user supplying fileLeft-justified
57-62User identification numberYour Direct Entry User ID, six digits
63-74Description of entriese.g. PAYROLL
75-80Date to be processedDDMMYY
81-120Blank40 spaces

Detail record (one per payment)

PositionsFieldContent
1Record type1
2-8BSBnnn-nnn, with the hyphen
9-17Account numberRight-justified, blank-filled
18IndicatorBlank; N for new or varied details; W, X, Y for withholding tax
19-20Transaction code13 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-30AmountIn cents, zero-filled, no decimal point
31-62Title of accountThe payee's account name, left-justified
63-80Lodgement referenceWhat the payee sees on their statement
81-87Trace BSBYour own BSB, for returns
88-96Trace account numberYour own account
97-112Name of remitterYour name as the payee sees it
113-120Withholding taxIn cents; 00000000 when none

File Total record (last line)

PositionsFieldContent
1Record type7
2-8BSB filler999-999
9-20Blank12 spaces
21-30Net totalCredit total minus debit total, unsigned
31-40Credit totalSum of all credit records
41-50Debit totalSum of all debit records
51-74Blank24 spaces
75-80CountNumber of Detail records
81-120Blank40 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

MessageKind
The file is emptyerror
This does not look like an ABA fileerror
The file starts with a byte-order mark (BOM), invisible bytes that are not part of an ABA fileerror
The file ends with a Ctrl-Z character (the DOS end-of-file mark), which is not part of an ABA filewarning
A record is not 120 characters longerror
A record contains characters that are not allowed in an ABA fileerror
A record starts with an unknown record typeerror
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 ordererror
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 dataerror
The reel sequence number is not 01error
The financial institution abbreviation is not three letterserror
The name of the user supplying the file is blankerror
The user identification number (Direct Entry User ID) is not six digitserror
The user identification number (Direct Entry User ID) is 000000warning
The description of entries is blankerror
The processing date is not a valid date (DDMMYY)error
The processing date is in the pastwarning
The processing date is more than 90 days aheadwarning
The BSB is not in the format nnn-nnnerror
The account number is blank, all zeros or contains invalid characterserror
The account number is not right-justifiedwarning
The indicator is not blank, N, T, W, X or Yerror
The transaction code is not validerror
The amount is not numericerror
The amount is zeroerror
The account title is blankerror
The lodgement reference is blank or does not start in the first positionwarning
A text field is not left-justifiedwarning
The trace BSB is not in the format nnn-nnnerror
The trace account number is blank, all zeros or contains invalid characterserror
The name of remitter is blankerror
The withholding tax amount is not numericerror
The withholding tax amount and the indicator do not agreewarning
The BSB filler in the File Total record is not 999-999error
A total in the File Total record is not numericerror
The credit total does not match the Detail recordserror
The debit total does not match the Detail recordserror
The net total is not the difference between the credit and debit totalserror
The count of Detail records does not matcherror
There is data after the File Total recorderror
The records are not separated by CR LFwarning
The file is not self-balanced (credits and debits differ)note

Sample files

Synthetic data: invented names, BSBs in the 000 range.

Checks follow the file format guides of Westpac, NAB, Bank of Queensland and ANZ.