{
  "openapi": "3.0.1",
  "info": {
    "title": "ABA File Generator: Excel or CSV to Australian ABA File",
    "description": "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.",
    "version": "0.1",
    "x-build-id": "daWSWDTfwX2gvLNIR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hardreset83~aba-file-generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hardreset83-aba-file-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/hardreset83~aba-file-generator/runs": {
      "post": {
        "operationId": "runs-sync-hardreset83-aba-file-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/hardreset83~aba-file-generator/run-sync": {
      "post": {
        "operationId": "run-sync-hardreset83-aba-file-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "paymentsFile": {
            "title": "Upload the list of payments",
            "type": "string",
            "description": "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": {
            "title": "Links to lists",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            }
          },
          "paymentsContent": {
            "title": "Or paste the list",
            "type": "string",
            "description": "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": {
            "title": "Or the payments as JSON",
            "type": "array",
            "description": "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": {
            "title": "Your name (name of user)",
            "type": "string",
            "description": "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": {
            "title": "Direct Entry User ID",
            "type": "string",
            "description": "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": {
            "title": "BSB of your account",
            "type": "string",
            "description": "The account the payments are taken from, where returned payments come back (the trace account). Prefilled with an example: write yours."
          },
          "accountNumber": {
            "title": "Your account number",
            "type": "string",
            "description": "At most 9 digits. Prefilled with an example: write yours."
          },
          "description": {
            "title": "Description of the file",
            "type": "string",
            "description": "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": {
            "title": "Date to be processed",
            "type": "string",
            "description": "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": {
            "title": "Pay or collect",
            "enum": [
              "credit",
              "debit"
            ],
            "type": "string",
            "description": "Credits pay the accounts in the list (wages, suppliers). Debits collect money from them, with a Direct Debit Request signed by each of them.",
            "default": "credit"
          },
          "balancingRecord": {
            "title": "Balancing record",
            "enum": [
              "auto",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "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.",
            "default": "auto"
          },
          "remitterName": {
            "title": "Name of remitter (optional)",
            "type": "string",
            "description": "The name the people you pay see on their statement, 16 characters. Empty: your name."
          },
          "defaultReference": {
            "title": "Lodgement reference (optional)",
            "type": "string",
            "description": "18 characters people see on their statement, for the rows without a reference. Empty: the description of the file."
          },
          "transactionCode": {
            "title": "Transaction code",
            "enum": [
              "auto",
              "50",
              "53",
              "54",
              "55",
              "56",
              "57",
              "51",
              "52"
            ],
            "type": "string",
            "description": "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.",
            "default": "auto"
          },
          "bankCode": {
            "title": "Bank code (optional)",
            "type": "string",
            "description": "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": {
            "title": "Day you upload the file",
            "type": "string",
            "description": "Empty: today (Sydney time). The date to be processed is checked from this day."
          },
          "lineEnding": {
            "title": "Line endings",
            "enum": [
              "crlf",
              "lf"
            ],
            "type": "string",
            "description": "CR LF (Windows) is what the banks ask for. LF only if your bank asks for it.",
            "default": "crlf"
          },
          "skipInvalidRows": {
            "title": "Leave out rows with errors",
            "type": "boolean",
            "description": "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.",
            "default": false
          },
          "columns": {
            "title": "Column titles (optional)",
            "type": "object",
            "description": "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": {
            "title": "Fail the run if no file is made",
            "type": "boolean",
            "description": "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.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}