ABA File Format Explained: Field-by-Field Guide for Australian Banks
The ABA file format explained field by field: record types 0, 1 and 7, positions, a sample file, validation rules and common rejection causes for Australia.
An ABA file is a plain-text file of fixed-width, 120-character records that Australian businesses use to send bulk Direct Entry payments to their bank. It has three record types: a descriptive record (type 0), one detail record per payment (type 1) and a file total record (type 7). Every field has a fixed position, length and padding rule.
The format is also called Cemtex, Direct Entry or the APCA format. It is used for supplier payments, payroll, refunds and direct debits, and almost every Australian bank accepts it through a business banking portal or a host-to-host channel.
This guide is a field-by-field reference for developers and finance systems teams who need to generate ABA files from an ERP, accounting system or Salesforce. It is based on the layout we have mapped in production work. Banks publish their own Direct Entry specifications and differ on a few details, so treat this as a working reference and validate against your bank’s current specification.
Bank names are trademarks of their owners. MultiGenesys is not affiliated with these banks; always validate files against your bank’s current specification.
How is an ABA file structured?
An ABA file is a sequence of lines, each exactly 120 characters:
- One type 0 record (descriptive record) that identifies the file, your bank, your Direct Entry user ID and the processing date.
- One or more type 1 records (detail records), one per payment or debit.
- One type 7 record (file total record) with the net, credit and debit totals and a count of the type 1 records.
Alphanumeric fields are left-justified and padded with spaces. Numeric fields are right-justified and padded with zeros. Amounts are in cents with no decimal point. Blank fields are spaces. Lines are usually separated with CRLF; confirm with your bank’s specification whether a trailing line break after the type 7 record is expected.
What are the fields in the type 0 descriptive record?
| Positions | Length | Field | Notes |
|---|---|---|---|
| 1 | 1 | Record type | Always 0 |
| 2–18 | 17 | Blank | Spaces |
| 19–20 | 2 | Reel sequence number | 01 |
| 21–23 | 3 | Financial institution abbreviation | Your bank’s code, for example NAB, CBA, WBC, ANZ |
| 24–30 | 7 | Blank | Spaces |
| 31–56 | 26 | Name of user | Left-justified, space-filled; the name your bank holds for your Direct Entry user ID |
| 57–62 | 6 | Direct Entry user ID | The 6-digit ID (APCA number) issued by your bank, zero-filled |
| 63–74 | 12 | Description of entries | For example PAYROLL or SUPPLIERS, left-justified |
| 75–80 | 6 | Processing date | DDMMYY |
| 81–120 | 40 | Blank | Spaces; some banks define optional fields here, so confirm with your bank’s specification |
The financial institution abbreviation and the user name must match what your bank has on file. Getting either wrong is one of the most common reasons a file is rejected at upload.
What are the fields in the type 1 detail record?
| Positions | Length | Field | Notes |
|---|---|---|---|
| 1 | 1 | Record type | Always 1 |
| 2–8 | 7 | BSB | Format 999-999, including the hyphen |
| 9–17 | 9 | Account number | Up to 9 characters, right-justified, space-filled; digits and hyphens only, not all zeros. Many banks prefer digits only, so confirm with your bank’s specification |
| 18 | 1 | Indicator | Usually blank. Standard values are N (new or varied payee details), T (drawing under a Transaction Negotiation Authority), and W, X, Y (withholding tax for dividends and interest paid to non-residents) |
| 19–20 | 2 | Transaction code | For example 50 general credit, 53 pay, 13 debit |
| 21–30 | 10 | Amount | In cents, right-justified, zero-filled |
| 31–62 | 32 | Title of account | Payee account name, left-justified |
| 63–80 | 18 | Lodgement reference | Appears on the payee’s statement, left-justified |
| 81–87 | 7 | Trace BSB | Your account’s BSB, format 999-999 |
| 88–96 | 9 | Trace account number | Your account, right-justified, space-filled |
| 97–112 | 16 | Name of remitter | The name shown to the payee, left-justified |
| 113–120 | 8 | Withholding tax amount | In cents, zero-filled; usually 00000000 |
The trace BSB and account are where returned or rejected payments go, so they should be your own account. The lodgement reference is what your payee sees, which makes it the field most worth getting right for supplier reconciliation on their side.
Which transaction codes are used?
The codes you will see most often are 50 (general credit), 53 (pay) and 13 (debit). Other codes in the 50s exist for specific credit types such as pensions, dividends and interest. Which codes you may use depends on your Direct Entry arrangement, so confirm with your bank’s specification before you use anything other than 50, 53 or 13.
What are the fields in the type 7 file total record?
| Positions | Length | Field | Notes |
|---|---|---|---|
| 1 | 1 | Record type | Always 7 |
| 2–8 | 7 | BSB format filler | Always 999-999 |
| 9–20 | 12 | Blank | Spaces |
| 21–30 | 10 | File net total amount | Credit total minus debit total, as an absolute value in cents |
| 31–40 | 10 | File credit total amount | Sum of credit records in cents |
| 41–50 | 10 | File debit total amount | Sum of debit records in cents |
| 51–74 | 24 | Blank | Spaces |
| 75–80 | 6 | Count of type 1 records | Zero-filled |
| 81–120 | 40 | Blank | Spaces |
What does a sample ABA file look like?
Here is a short sample with fake data: two salary credits and one self-balancing debit to the payer’s own account. Every line is exactly 120 characters, including trailing spaces.
0 01CBA EXAMPLE PTY LTD 123456PAYROLL 231126
1123-456 12345678 530000125050JANE CITIZEN PAY 23NOV26 654-321987654321EXAMPLE PTY LTD 00000000
1234-567001122334 530000098000JOHN SAMPLE PAY 23NOV26 654-321987654321EXAMPLE PTY LTD 00000000
1654-321987654321 130000223050EXAMPLE PTY LTD PAYROLL OFFSET 654-321987654321EXAMPLE PTY LTD 00000000
7999-999 000000000000002230500000223050 000003
Read it against the tables above:
- The type 0 record names the bank (
CBA), the user (EXAMPLE PTY LTD), user ID123456, descriptionPAYROLLand processing date 23 November 2026. - Two type 1 records pay $1,250.50 and $980.00 with transaction code
53. - The third type 1 record is a debit (
13) of $2,230.50 to the payer’s own account. This is the self-balancing record. - The type 7 record shows a net total of zero, credits and debits of 223050 cents each, and a count of 3 detail records.
All BSBs, account numbers, names and IDs in this sample are invented.
What is a self-balancing ABA file?
A self-balancing file includes a final type 1 debit record against your own account that equals the total of the credits. The file then nets to zero. Some banks require this offset record, some add it themselves and some reject files that include one. There is no single rule across banks, so confirm with your bank’s Direct Entry specification and make it a per-bank setting in your generator.
Why do banks reject ABA files?
Most rejections come from a short list of causes:
- Line length is not 120 characters. Text editors, spreadsheet exports and some string libraries trim trailing spaces. Generate the file in code and check every line length.
- BSB without a hyphen or with the wrong length. The field must be
999-999. - Account number too long, all zeros or containing characters other than digits and hyphens. Clean payee data at the source and reject anything over 9 characters. Many banks prefer digits only.
- Totals or count do not match. The type 7 totals and record count must equal the sum of the detail records. Recalculate them from the generated records, not from your source totals.
- Wrong user ID, user name or institution code. These must match what your bank has set up for your Direct Entry facility.
- Self-balancing mismatch. An offset record your bank does not expect, or a missing one it does.
- Unsupported characters. Accented letters, curly quotes and other non-ASCII characters in payee names. Normalize names to the character set your bank accepts.
- Processing date problems. A date in the past, a non-business day or the wrong
DDMMYYorder. - Zero-value or duplicate payments. Many banks flag these. Block them before the file is built.
How should you generate ABA files in software?
A few practices make the generator reliable:
- Model the payment run first. Build records from approved payments, not from a spreadsheet. Every payment should carry its own BSB, account, name, amount and reference.
- Format each field with a helper. One function for left-justified alphanumeric fields and one for right-justified numeric fields removes most padding bugs.
- Validate before writing. Check BSB format, account length, transaction code, amount and character set on each payment, and fail the run with a clear message rather than producing a bad file.
- Compute totals from the output. Sum the generated type 1 records to build the type 7 record.
- Keep bank settings as configuration. Institution code, user ID, user name, self-balancing and trace account vary by bank account.
- Add approvals and an audit trail. One person prepares the run, another releases it, and the exact file sent is stored with its payments.
Is the ABA format being retired?
Not on a fixed date. ABA files are processed through the Bulk Electronic Clearing System (BECS). In December 2025 AusPayNet removed the previously planned June 2030 BECS end-date, and no replacement date has been set. ABA files remain in use while the industry develops a roadmap towards the NPP and PayTo. See the AusPayNet BECS transition update for the current position.
From our projects
We delivered ABA file generation mapping for a Salesforce-native accounting product. Every descriptive, detail and file total field was mapped to Salesforce bank-account and payment fields, including the trace account and remitter details that come from the paying organization’s own bank record. For the same product family we built document AI and bank-feed services.
We now offer ABA file generation as a service, and ABA is built into our own product. FinAIQ Payment Files generates ABA, NACHA, ISO 20022 pain.001 and bank CSV files from Salesforce (as a managed package), ERPs, accounting systems or custom applications, and reads acknowledgements, pain.002 and BAI2, camt.053 and MT940 statements back. Every run has maker-checker approvals, PGP encryption and SFTP delivery. For US payments, see the NACHA file format explained, and for the wider picture, bank payment file integration.
If you want a second pair of eyes on your ABA generator or payment run design, book a 30-min call with our engineers.
FAQ
Is an ABA file the same as a Cemtex file?
Yes. ABA, Cemtex, Direct Entry and APCA file are names for the same fixed-width format used for bulk payments through Australian banks.
How long is each line in an ABA file?
Exactly 120 characters, for every record type. Lines shorter or longer than 120 characters, often caused by trimmed trailing spaces, are a common reason for rejection.
Where do I get my Direct Entry user ID?
Your bank issues it when it sets up your Direct Entry facility. It is the 6-digit number in positions 57 to 62 of the type 0 record and must match what your bank has on file.
Do I need a self-balancing record?
It depends on your bank. Some require a balancing debit to your own account, some add it themselves and some reject it. Confirm with your bank’s Direct Entry specification.
Can I create ABA files from Salesforce or my ERP?
Yes. Approved payments can be mapped to ABA fields and generated automatically, with validation and approvals. FinAIQ Payment Files does this from Salesforce, ERPs, accounting systems or custom applications, and our ABA file generation service builds a generator around your own systems when you need one.
Check a file before you upload it with our free ABA file validator. It runs in your browser, so the file never leaves your computer.
Newsletter
Get the MultiGenesys newsletter
Practical notes on AI, software engineering and automation from our engineers. One email a month, no spam, unsubscribe anytime.


