{
  "openapi": "3.0.1",
  "info": {
    "title": "ACH File Generator: Excel or CSV to NACHA File",
    "description": "Create the ACH file (NACHA format) for payroll direct deposit, vendor payments or debits from an Excel, CSV or JSON list, ready to upload to your online banking. Every row is checked first: routing number, account, amount and effective date on the Federal Reserve calendar.",
    "version": "0.1",
    "x-build-id": "p1HlM3cardyb12D6M"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hardreset83~ach-file-generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hardreset83-ach-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~ach-file-generator/runs": {
      "post": {
        "operationId": "runs-sync-hardreset83-ach-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~ach-file-generator/run-sync": {
      "post": {
        "operationId": "run-sync-hardreset83-ach-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": {
          "entriesFile": {
            "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: name (or first and last name), routing number, account number, amount. Optional: account type (checking or savings), type (credit or debit), effective date, ID (employee or vendor number), memo (payment information, sent as an addenda), prenote, SEC code, transaction code."
          },
          "entriesUrls": {
            "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"
            }
          },
          "entriesContent": {
            "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."
          },
          "entries": {
            "title": "Or the payments as JSON",
            "type": "array",
            "description": "For APIs and AI agents: [{\"name\": \"Jane Example\", \"routingNumber\": \"111111118\", \"accountNumber\": \"000123456789\", \"accountType\": \"checking\", \"amount\": 1250.00}]. Other keys: type (credit or debit), effectiveDate, id, memo, prenote, sec, transactionCode."
          },
          "companyName": {
            "title": "Company name",
            "type": "string",
            "description": "As people see it on their bank statement (16 characters in the file). Prefilled with an example: write yours."
          },
          "companyId": {
            "title": "Company ID",
            "type": "string",
            "description": "Your EIN (12-3456789: the file gets 1123456789) or the 10-character ID your bank gave you for ACH. Prefilled with an example: write yours."
          },
          "bankRoutingNumber": {
            "title": "Routing number of your bank",
            "type": "string",
            "description": "The 9 digits of the bank where you upload the file (your ODFI). Prefilled with an example: write yours."
          },
          "bankName": {
            "title": "Name of your bank (optional)",
            "type": "string",
            "description": "Immediate Destination Name in the file header, 23 characters."
          },
          "entryDescription": {
            "title": "Description on the bank statement",
            "type": "string",
            "description": "10 characters people see next to the payment, like PAYROLL, VENDOR PAY or DUES. Since 20 March 2026 the ACH rules require PAYROLL for wages and salaries."
          },
          "secCode": {
            "title": "Who gets the payments",
            "enum": [
              "PPD",
              "CCD"
            ],
            "type": "string",
            "description": "PPD for people (payroll, consumer payments and debits), CCD for companies (vendors and suppliers). A row can have its own in a SEC column.",
            "default": "PPD"
          },
          "entryType": {
            "title": "Credits or debits",
            "enum": [
              "credit",
              "debit"
            ],
            "type": "string",
            "description": "Credits send money to the accounts in the list (payroll, vendors). Debits collect money from them, with their authorization. A row can have its own in a Type column.",
            "default": "credit"
          },
          "effectiveDate": {
            "title": "Effective date",
            "type": "string",
            "description": "The business day the money moves (payday). Empty: the next business day. A date in the list wins."
          },
          "balancedFile": {
            "title": "Balanced file (offset entry)",
            "type": "boolean",
            "description": "Only if your bank asks for it: every batch gets an entry on your own account for its total, so that debits and credits are equal. Most banks want unbalanced files (off).",
            "default": false
          },
          "offsetAccountNumber": {
            "title": "Your account number (balanced files)",
            "type": "string",
            "description": "The account of your company that pays the credits or receives the debits."
          },
          "offsetAccountType": {
            "title": "Type of your account (balanced files)",
            "enum": [
              "checking",
              "savings"
            ],
            "type": "string",
            "description": "Checking or savings: the type of your account above, for the offset entries of balanced files.",
            "default": "checking"
          },
          "offsetRoutingNumber": {
            "title": "Routing number of your account (balanced files)",
            "type": "string",
            "description": "Empty: the routing number of your bank."
          },
          "prenotes": {
            "title": "Prenotes only",
            "type": "boolean",
            "description": "Makes a prenote (a zero-dollar test entry) for every row, to check new accounts before the first payment. A row can be a prenote with a Prenote column (yes).",
            "default": false
          },
          "uploadDate": {
            "title": "Day you upload the file",
            "type": "string",
            "description": "Empty: today (New York time). The effective dates are checked from this day."
          },
          "minimumDays": {
            "title": "Business days before the effective date",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "How many business days before the effective date your bank wants the file (1 or 2 for most banks). Dates closer than that get a warning. 0: no check.",
            "default": 1
          },
          "immediateOrigin": {
            "title": "Immediate Origin (optional)",
            "type": "string",
            "description": "Only if your bank asks for a different one. Empty: your Company ID. 9 digits (a routing number or a tax ID) get a space in front."
          },
          "immediateDestination": {
            "title": "Immediate Destination (optional)",
            "type": "string",
            "description": "Only if your bank asks for a different one. Empty: the routing number of your bank."
          },
          "fileIdModifier": {
            "title": "File ID Modifier",
            "type": "string",
            "description": "A to Z or 0 to 9: change it when you send more than one file on the same day (A, B, C...).",
            "default": "A"
          },
          "companyDiscretionaryData": {
            "title": "Company Discretionary Data (optional)",
            "type": "string",
            "description": "20 characters for your own use, in every batch header."
          },
          "companyDescriptiveDate": {
            "title": "Descriptive date (optional)",
            "type": "string",
            "description": "6 characters some banks show to people, like NOV 26."
          },
          "referenceCode": {
            "title": "Reference Code (optional)",
            "type": "string",
            "description": "8 characters for your own use, in the file header."
          },
          "lineEnding": {
            "title": "Line endings",
            "enum": [
              "crlf",
              "lf"
            ],
            "type": "string",
            "description": "CR LF (Windows) works with almost every bank. 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 $\", \"routing\": \"Bank RTN\"}. Keys: name, firstName, lastName, routing, account, accountType, direction, transactionCode, amount, currency, date, idNumber, paymentInfo, prenote, sec."
          },
          "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}