# ABA File Generator: Excel or CSV to Australian ABA File (`hardreset83/aba-file-generator`) Actor

Create the ABA file (Direct Entry) for payroll and supplier payments or direct debits from an Excel, CSV or JSON list, ready to upload to your Australian online banking. Every row is checked first: BSB, account number, account name, amount and reference.

- **URL**: https://apify.com/hardreset83/aba-file-generator.md
- **Developed by:** [Flavio D'Orio](https://apify.com/hardreset83) (community)
- **Categories:** Business, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$20.00 / 1,000 payment in the aba files

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## ABA File Generator: Excel or CSV to Australian ABA File

Still typing wages or supplier payments one by one into your online banking? This Actor creates the **ABA file
(Direct Entry)** from an **Excel, CSV or JSON** list, and you upload it to your bank in one go to pay everyone at once.
Every row is **checked first**: BSB, account number, account name, amount and lodgement reference, and the date to be
processed on the **calendar of the Australian banks**. Rows with a mistake never reach the bank: you find them in an
**Excel** report, with the row of your list and the problem in plain words.

### What it checks

- **BSB**: 6 digits, written 062-000, 062 000 or 062000, and the first digits of a real Australian bank or credit
  union. It puts back the zero that Excel drops (12003 is 012-003).
- **Account number**: at most 9 digits, spaces and dashes taken out. It finds account numbers that Excel turned into
  1.23457E+11, and warns when an account number was a number in Excel (its leading zeros may be gone).
- **Account name**: accents taken out (Zoë becomes Zoe), characters the banks do not take replaced, cut to the 32
  characters of the file with a warning, so you know what the bank sees.
- **Amount**: above zero, at most two decimals, in Australian dollars. Reads 1,234.56, $1,234.56, AUD 1,234.56,
  1234.5 and Excel numbers. 1.250 is refused as ambiguous (1.25 or 1,250?) unless the rest of the column makes it
  clear. At most 99,999,999.99, for every payment and for the whole file.
- **Lodgement reference**: the 18 characters people see on their statement, cut with a warning. Rows without one get
  the description of the file, or the reference you choose.
- **Transaction code**: 53 (pay) when the description of the file is about wages, 50 (general credit) for other
  payments, 13 for direct debits. A row can have its own code from 50 to 57.
- **Date to be processed**: not in the past; on a weekend or a national bank holiday (New Year's Day, Australia Day,
  Good Friday, Easter Monday, Anzac Day, King's Birthday, Christmas, Boxing Day and the days they move to) with the
  day the banks really process the file; a warning when it is more than 90 days away.
- **Duplicates**: the same payment (BSB, account and amount) twice, also in two lists; your own account among the
  people you pay.
- **Your details**: your name as registered for Direct Entry (26 characters), the 6-digit User ID, the BSB and number
  of the account the payments are taken from, the 3-letter code of your bank (found from your BSB), the description
  (12 characters) and the name of remitter (16 characters).

**Error**: the row does not go in the file, because the bank would refuse or return it. **Warning**: the row goes in
the file, but read it.

The file follows the ABA (Direct Entry) layout: the descriptive record (0), a detail record (1) for every payment, the
balancing record on your own account when your bank wants one, and the file total record (7) with the net, credit and
debit totals and the count of the records, all 120 characters long, with CR LF line endings. Before it is saved, the
Actor reads the file again and checks every record, the totals and the count.

### What you get

- **ABA_FILE.aba** in the key-value store (Storage tab): the file to upload to your online banking.
- **REPORT.xlsx**: every row of your list with its status, errors, warnings, the fields as they are in the file and
  its line in the file, with filters and the amounts as numbers.
- **Dataset**: one item per row, for Make, Zapier, n8n, your payroll software or your own code.
- **SUMMARY**: file created or not, payments, total credits and debits, date to be processed, the balancing record,
  bank code, problems, and the link to the file.

### How to use it

1. Press **Start**: the input form is prefilled with an example list of three employees (free), so you see the file and
   the report at once.
2. Fill in your details: your name and Direct Entry User ID as your bank registered them, the BSB and number of the
   account the payments are taken from, and the description (PAYROLL for wages, SUPPLIERS for bills).
3. Upload your list, paste it or add a link, choose the date to be processed (empty: today, or the next banking day)
   and press Start.
4. Download **ABA_FILE.aba** from the Storage tab and upload it in your online banking, where it imports payment files
   (ABA or Direct Entry files). If a row has an error no file is made: fix the list with REPORT.xlsx (free), or switch
   on «Leave out rows with errors».

A list is enough like this (commas, semicolons or tabs all work):

```
Name,BSB,Account number,Amount,Reference
Jane Example,012-003,123456789,"1,250.00",Wages E1001
```

Optional columns: First name and Surname (instead of Name), Reference (the lodgement reference), Type (credit or
debit: a file is all credits or all debits, and a row of the other kind is shown as an error), Transaction code,
Currency (AUD). Titles are also found when written differently (Employee Name, Account Name, BSB No, Acct #, Net Pay,
Lodgement Ref, Invoice...), with title rows above and a total row below, as payroll programs export them.

**Automation**: from your payroll or accounting software, Make, Zapier or n8n, call the Actor with the link to the list
or with the payments as JSON (`payments`), and take the file from `fileUrl` in SUMMARY. Switch on «Fail the run if no
file is made» so that the automation stops when a row has an error.

### Example output

The message of the example list:

```
ABA file created: 3 payments, paying $4,276.25, to be processed on 16/11/2026, with the balancing record on your account 062-000 12345678.
```

One detail record of the file (120 characters):

```
1012-003123456789 530000125000Jane Example                    Wages E1001       062-000 12345678Example Bakery  00000000
```

One item of the dataset:

```json
{
  "status": "included",
  "statusText": "in the file",
  "row": 3,
  "name": "John Sample",
  "type": "credit",
  "amount": 980.5,
  "currency": "AUD",
  "bsb": "063-000",
  "accountNumber": "98765432",
  "transactionCode": "53",
  "reference": "Wages E1002",
  "line": 3,
  "errors": [],
  "warnings": [],
  "source": "example list"
}
```

### Who is it for

- **Small businesses** that pay wages or suppliers from a spreadsheet, and whose bank accepts ABA file uploads in its
  business online banking.
- **Bookkeepers, BAS agents, accountants and payroll services** that prepare payment files for their clients.
- **Developers** of payroll, accounting and marketplace software: an ABA file from one API call, without writing the
  120-character layout.

### Options your bank may ask for

- **Balancing record**: a last record on your own account for the total of the file, so that its debits equal its
  credits. Most banks want it, a few refuse it. «Automatic» chooses by the bank of your BSB; your bank's guide to ABA
  files says which.
- **Direct Entry User ID**: the 6 digits your bank gave you with the Direct Entry service (also called APCA ID). Some
  banks say any 6 digits will do: then 000000 is fine.
- **Bank code**: the 3 letters of your bank in the descriptive record, found from your BSB. Write it only if your
  bank's guide to ABA files says another code.
- **Name of remitter**: the name the people you pay see on their statement (16 characters). Empty: your name.
- **Line endings**: CR LF is what the banks ask for. LF only if your bank asks for it.
- **Debits**: to collect money with direct debits you need a Direct Debit Request signed by every account holder, and
  a User ID for debits from your bank. Credits and debits go in separate files.

### Pricing

**$0.02 per payment in the file** ($2 per 100 payments). Free: the example of the input form, lists with errors (no
file is made), rows left out and the balancing record. Set a maximum cost per run in the run options if you like: if
it does not pay for every payment, no file is made, nothing is charged and the message tells you.

### Privacy and security

The Actor runs in your own Apify account: your lists, the file and the report stay in the storage of your run, and it
sends nothing anywhere else (it only downloads the links you give it). It never contacts a bank and never moves money:
you upload the file yourself. The lists contain names and bank account numbers: delete the run, or set a short data
retention, when you no longer need them.

### FAQ

**Will my bank accept the file?** It follows the ABA (Direct Entry) layout and every row passes the checks a file can
show. Your bank can still refuse it for reasons that are not in the file (file uploads not enabled for your account,
your limits, its cut-off time), and some banks have rules of their own: read the warnings and your bank's guide to ABA
files.

**Where do I find my User ID?** In your Direct Entry agreement, or in your online banking where you upload payment
files. Your bank gives you one when it enables file uploads.

**My online banking takes at most 999 payments in one file.** The Actor tells you when the file has more: split the
list in two runs.

**I upload the file tomorrow.** Write tomorrow's date in «Day you upload the file»: the dates are checked from that
day.

**Is a feature missing?** Ask in the Issues tab.

# Actor input Schema

## `paymentsFile` (type: `string`):

Excel (.xlsx), CSV or TXT with any separator, or JSON. One row per payment, with a row of titles. The columns are found by their titles: account name (or first name and surname), BSB, account number, amount. Optional: reference (the lodgement reference people see on their statement), type (credit or debit), transaction code.

## `paymentsUrls` (type: `array`):

Direct links (https) to Excel, CSV or JSON lists, for example from Make, Zapier, n8n or a cloud folder. All the lists together make one file.

## `paymentsContent` (type: `string`):

Paste the rows of a CSV or of an Excel sheet (copied cells are separated by tabs), with the row of titles. It is prefilled with an example list, so you can try the tool with one click: the example is free, and it is not used when you upload a list or add a link.

## `payments` (type: `array`):

For APIs and AI agents: \[{"name": "Jane Example", "bsb": "012-003", "accountNumber": "123456789", "amount": 1250.00, "reference": "Wages E1001"}]. Other keys: type (credit or debit), transactionCode.

## `userName` (type: `string`):

The name of your business as your bank registered it for Direct Entry (26 characters in the file). Prefilled with an example: write yours.

## `userId` (type: `string`):

The 6 digits your bank gave you for Direct Entry (also called APCA ID or User ID number). Some banks say any 6 digits will do: then 000000 is fine.

## `bsb` (type: `string`):

The account the payments are taken from, where returned payments come back (the trace account). Prefilled with an example: write yours.

## `accountNumber` (type: `string`):

At most 9 digits. Prefilled with an example: write yours.

## `description` (type: `string`):

12 characters, like PAYROLL, WAGES or SUPPLIERS. It is also the lodgement reference of the rows without one. With PAYROLL, WAGES or SALARY the payments get transaction code 53 (pay), otherwise 50 (general credit).

## `processDate` (type: `string`):

The day the banks process the file (payday). Empty: today, or the next banking day when today is a weekend or a public holiday for the banks.

## `entryType` (type: `string`):

Credits pay the accounts in the list (wages, suppliers). Debits collect money from them, with a Direct Debit Request signed by each of them.

## `balancingRecord` (type: `string`):

A last record on your own account for the total of the file, so that its debits equal its credits. Most banks want it, a few refuse it. Automatic: added unless the bank of your BSB is one of those that refuse it. Your bank's guide to ABA files says which.

## `remitterName` (type: `string`):

The name the people you pay see on their statement, 16 characters. Empty: your name.

## `defaultReference` (type: `string`):

18 characters people see on their statement, for the rows without a reference. Empty: the description of the file.

## `transactionCode` (type: `string`):

Automatic: 53 (pay) when the description is about wages, 50 (general credit) for other payments, 13 for debits. A row can have its own in a Transaction code column.

## `bankCode` (type: `string`):

The 3 letters of your bank in the file. Empty: found from your BSB. Write it only if your bank's guide to ABA files says another code.

## `uploadDate` (type: `string`):

Empty: today (Sydney time). The date to be processed is checked from this day.

## `lineEnding` (type: `string`):

CR LF (Windows) is what the banks ask for. LF only if your bank asks for it.

## `skipInvalidRows` (type: `boolean`):

Off (recommended): if a row has an error no file is made, and the dataset and REPORT.xlsx say what to fix, for free. On: the file is made with the rows without errors, and the others are listed as errors.

## `columns` (type: `object`):

Only if a column is not found by its title: {"amount": "Net Wages $", "bsb": "Branch No"}. Keys: name, firstName, lastName, bsb, account, amount, reference, direction, transactionCode, currency.

## `failIfNoFile` (type: `boolean`):

For automations: the run ends as failed when no file is made, so that Make, Zapier or n8n stop. Off: the run succeeds and SUMMARY says fileCreated: false.

## Actor input object example

```json
{
  "paymentsUrls": [],
  "paymentsContent": "Name,BSB,Account number,Amount,Reference\nJane Example,012-003,123456789,\"1,250.00\",Wages E1001\nJohn Sample,063-000,98765432,980.50,Wages E1002\nAlex Demo,082-401,445566778,\"2,045.75\",Wages E1003\n",
  "userName": "Example Bakery",
  "userId": "123456",
  "bsb": "062-000",
  "accountNumber": "12345678",
  "description": "PAYROLL",
  "entryType": "credit",
  "balancingRecord": "auto",
  "transactionCode": "auto",
  "lineEnding": "crlf",
  "skipInvalidRows": false,
  "failIfNoFile": false
}
```

# Actor output Schema

## `payments` (type: `string`):

Every row of your list: status, errors, warnings, the fields as they are in the file and its line in the file.

## `abaFile` (type: `string`):

The ABA (Direct Entry) file to upload to your online banking. It is made only when no row has an error, or when rows with errors are left out.

## `report` (type: `string`):

REPORT.xlsx: every payment with its status and the problem in plain words.

## `summary` (type: `string`):

The result of the run in short: counts, totals, problems and the links to the files.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "paymentsUrls": [],
    "paymentsContent": `Name,BSB,Account number,Amount,Reference
Jane Example,012-003,123456789,"1,250.00",Wages E1001
John Sample,063-000,98765432,980.50,Wages E1002
Alex Demo,082-401,445566778,"2,045.75",Wages E1003`,
    "userName": "Example Bakery",
    "userId": "123456",
    "bsb": "062-000",
    "accountNumber": "12345678",
    "description": "PAYROLL"
};

// Run the Actor and wait for it to finish
const run = await client.actor("hardreset83/aba-file-generator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "paymentsUrls": [],
    "paymentsContent": """Name,BSB,Account number,Amount,Reference
Jane Example,012-003,123456789,\"1,250.00\",Wages E1001
John Sample,063-000,98765432,980.50,Wages E1002
Alex Demo,082-401,445566778,\"2,045.75\",Wages E1003
""",
    "userName": "Example Bakery",
    "userId": "123456",
    "bsb": "062-000",
    "accountNumber": "12345678",
    "description": "PAYROLL",
}

# Run the Actor and wait for it to finish
run = client.actor("hardreset83/aba-file-generator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "paymentsUrls": [],
  "paymentsContent": "Name,BSB,Account number,Amount,Reference\\nJane Example,012-003,123456789,\\"1,250.00\\",Wages E1001\\nJohn Sample,063-000,98765432,980.50,Wages E1002\\nAlex Demo,082-401,445566778,\\"2,045.75\\",Wages E1003\\n",
  "userName": "Example Bakery",
  "userId": "123456",
  "bsb": "062-000",
  "accountNumber": "12345678",
  "description": "PAYROLL"
}' |
apify call hardreset83/aba-file-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hardreset83/aba-file-generator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/H30aes31VUsKuccig/builds/daWSWDTfwX2gvLNIR/openapi.json
