# Bank statement to CSV: one row per transaction

**Use case:** 

Turn bank statement PDFs into a transactions CSV (date, description, debit, credit, signed amount, balance) ready to import into QuickBooks, Xero, Google Sheets or a budgeting app.

## Input

```json
{
  "pdfUrls": [
    "https://raw.githubusercontent.com/AyonPal/bank-statement-pdf-parser/main/samples/pdfs/astra-premier-checking-jan-2026.pdf"
  ],
  "dateOrder": "auto",
  "maxItems": 100
}
```

## Output

```json
{
  "pdfUrl": {
    "label": "PDF"
  },
  "bank": {
    "label": "Bank"
  },
  "accountNumber": {
    "label": "Account"
  },
  "currency": {
    "label": "Currency"
  },
  "periodStart": {
    "label": "From"
  },
  "periodEnd": {
    "label": "To"
  },
  "openingBalance": {
    "label": "Opening"
  },
  "closingBalance": {
    "label": "Closing"
  },
  "totalCredits": {
    "label": "Money in"
  },
  "totalDebits": {
    "label": "Money out"
  },
  "transactionCount": {
    "label": "Transactions"
  },
  "balanceCheck": {
    "label": "Balance check"
  },
  "transactions": {
    "label": "Transactions (list)"
  },
  "excelUrl": {
    "label": "Excel file",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Bank Statement PDF to Excel & CSV Actor is ready to run with the inputs already set for "Bank statement to CSV: one row per transaction". [Sign up or log in](https://console.apify.com/create-task-from-example/TDzHPRTJaKxKjzAXJ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Bank statement to CSV: one row per transaction" task

The Bank Statement PDF to Excel & CSV Actor will start running based on the input automatically. You can also change all the input fields, like bank statement pdf links, date order, and more, to match your specific use case.

### 3. Receive the "Bank statement to CSV: one row per transaction" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as PDF, bank, account, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Bank statement to CSV: one row per transaction" task via API](https://apify.com/adhistory/bank-statement-to-excel.md).

## FAQ

### Where is the CSV in the bank statement to CSV task?

The bank statement to CSV task saves transactions.csv in the run's key-value store, one row per transaction with the statement it came from.

### How much does the bank statement to CSV task cost?

The bank statement to CSV task costs $15 per 1,000 statements on the free Apify plan, less on paid plans, however many transactions each statement has.

### Does the bank statement to CSV task handle day-first dates?

Yes. The bank statement to CSV task works out day-first or month-first from the whole statement and returns dates as YYYY-MM-DD.

## About this Actor

This example demonstrates how to use [Bank Statement PDF to Excel & CSV](https://apify.com/adhistory/bank-statement-to-excel.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/adhistory/bank-statement-to-excel.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/adhistory/bank-statement-to-excel.md

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`).
