# Australian ABA Direct Entry Bank File Generator (Cemtex) (`finops_studio/aba-cemtex-file-generator`) Actor

Convert CSV, Excel rows, or JSON into strict 120-character Australian BECS Direct Entry .ABA bank payment files for CommBank (CBA), NAB, Westpac, ANZ, and Macquarie with BSB validation.

- **URL**: https://apify.com/finops_studio/aba-cemtex-file-generator.md
- **Developed by:** [FinOps Studio](https://apify.com/finops_studio) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 aba payment row generateds

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

## Australian `ABA` Direct Entry Bank File Generator (BECS / Cemtex)

Convert **CSV spreadsheets, Excel pastes, or JSON payloads** into strict **120-character fixed-width Australian `.aba` (Cemtex / BECS Direct Entry)** bulk payment files for **Commonwealth Bank (CBA CommBiz / NetBank), NAB Connect, Westpac Live, ANZ Transactive, Macquarie, and Bendigo Bank**.

***

### Built-In Australian Banking Rules

- **Exact 120-Character Record Specification:** Generates Record `0` (Descriptive Header), Record `1` (Detail Payments: `53` Payroll, `50` General Credit, `13` Debit), and Record `7` (`999-999` File Total Control Record).
- **Automatic Self-Balancing Entry Support:** Toggleable self-balancing debit line against your originating BSB & account (required by CBA CommBiz & NAB Connect).
- **BSB & Cent-Exact AUD Verification:** Normalizes and validates 6-digit Australian BSBs (`XXX-XXX`) and computes cent-exact integer credit, debit, and net totals.
- **Ready for `n8n`, `Make.com`, `Zapier` & MCP AI Agents:** Automate Australian payroll and supplier batch runs straight from Xero, Airtable, Google Sheets, or custom ERPs.

***

### Companion Financial Automation Tools by FinOps Studio

- **[Interactive Web Hub & Free 3-Row Preview](https://geornaden.github.io/finops-studio/)** — Browser-local demo & `n8n` workflow templates
- [SEPA XML Generator (`pain.001` & `pain.008`)](https://apify.com/finops_studio/sepa-xml-generator) — European Bulk Payments & Direct Debits
- [US NACHA ACH File Generator & Parser](https://apify.com/finops_studio/nacha-ach-file-generator) — US 94-Char Direct Deposit & ACH Batches
- [EU E-Invoice XML Generator (`Peppol`, `XRechnung` & `Factur-X`)](https://apify.com/finops_studio/eu-einvoice-xml-generator) — Mandatory EN 16931 E-Invoices
- [Corporate `BAI2` Bank Statement Parser](https://apify.com/finops_studio/bai2-bank-statement-parser) — Corporate Treasury Statements to JSON/CSV
- [German `DATEV Buchungsstapel` CSV Generator](https://apify.com/finops_studio/datev-buchungsstapel-generator) — DATEV EXTF v700 Export
- [ISO 20022 `pain.002` Bank Status Decoder](https://apify.com/finops_studio/iso20022-pain002-status-parser) — Decode Bank Rejection Reports

> **Disclaimer:** Technical 120-character BECS ABA formatting utility provided "as-is". Verify BSBs, account numbers, and totals inside your Australian banking portal before authorizing payments.

# Actor input Schema

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

CBA (CommBank), NAB, WBC (Westpac), ANZ, MBL (Macquarie), BEN (Bendigo), SUN (Suncorp).

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

Direct Entry user preferred specification name.

## `apcaUserId` (type: `string`):

6-digit APCA ID provided by your bank (e.g., 301500 for CBA general credits).

## `traceBsb` (type: `string`):

6-digit BSB of your originating Australian bank account.

## `traceAccount` (type: `string`):

Your originating bank account number (up to 9 digits).

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

Batch description such as PAYROLL or SUPPLIERS.

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

Bank processing date in YYYY-MM-DD format.

## `includeSelfBalancingRecord` (type: `boolean`):

Appends a matching debit line against your trace account (required by CBA CommBiz & NAB Connect).

## `csvTransactions` (type: `string`):

Optional CSV text with columns: name,bsb,account,amount,reference,transactionCode

## `transactions` (type: `array`):

List of payees with accountTitle, bsb, accountNumber, amount, reference, transactionCode (53 Pay, 50 Credit).

## Actor input object example

```json
{
  "bankCode": "CBA",
  "userName": "SYDNEY TECH PTY LTD",
  "apcaUserId": "301500",
  "traceBsb": "062-000",
  "traceAccount": "10458921",
  "description": "PAYROLL",
  "includeSelfBalancingRecord": true
}
```

# Actor output Schema

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

Ready-to-upload 120-char Australian BECS .aba payment file.

## `summaryDataset` (type: `string`):

JSON summary of AUD credit/debit/net totals and payee rows.

# 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 = {
    "bankCode": "CBA",
    "userName": "SYDNEY TECH PTY LTD",
    "apcaUserId": "301500",
    "traceBsb": "062-000",
    "traceAccount": "10458921",
    "description": "PAYROLL"
};

// Run the Actor and wait for it to finish
const run = await client.actor("finops_studio/aba-cemtex-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 = {
    "bankCode": "CBA",
    "userName": "SYDNEY TECH PTY LTD",
    "apcaUserId": "301500",
    "traceBsb": "062-000",
    "traceAccount": "10458921",
    "description": "PAYROLL",
}

# Run the Actor and wait for it to finish
run = client.actor("finops_studio/aba-cemtex-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 '{
  "bankCode": "CBA",
  "userName": "SYDNEY TECH PTY LTD",
  "apcaUserId": "301500",
  "traceBsb": "062-000",
  "traceAccount": "10458921",
  "description": "PAYROLL"
}' |
apify call finops_studio/aba-cemtex-file-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,finops_studio/aba-cemtex-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/qMdsG7oiJHMjbsOoK/builds/9TdxiEa48FqlG3fSF/openapi.json
