Bank statement PDF to CSV, Excel, OFX, QIF or QBO: API, pay per call

Updated 2026-11-10

Use when an agent must turn a PDF bank statement into dated transactions for bookkeeping or import.

POST https://tanod.dev/v1/pdf/bank-statement reads a bank statement PDF and returns its transactions: date, description, signed amount and balance, plus the opening and closing balance, totals in and out, and the currency when it is printed. Send a public url or file_base64; choose format json (default), csv, xlsx, ofx, qif or qbo (QuickBooks Web Connect). USD 0.01 per statement in USDC through x402, no account; also the convert_bank_statement tool in the documents MCP server.

No code? To convert a statement in the browser, use statements.tanod.dev, Tanod's web app: upload a PDF of up to 30 pages, check the preview and the balance check, then download Excel or CSV. Your first file of up to 3 pages each day is free. To compare web converters such as DocuClipper, BankConv or MoneyThumb, see their prices and free tiers next to ours, read from each one's own pricing page and dated.

Looking for a particular bank? Check the synthetic-tested layouts and limits for Chase, SBI, HDFC, ICICI, Wells Fargo and HSBC before trying the preview. These are layout checks, not universal bank support.

Every row is checked

Each transaction is reconciled against the running balance: previous balance plus the amount must equal the printed balance to the cent. Rows that do not reconcile are flagged with row_ok: false, and the reply carries a confidence score from 0 to 1, so you know whether to trust the output before it goes into your books. Our own test statement came back with 6 transactions, opening and closing balances, currency EUR and confidence 0.99.

Layouts and languages

Example

curl -s -X POST https://tanod.dev/v1/pdf/bank-statement \
  -H "Content-Type: application/json" \
  -d '{"url": "https://tanod.dev/samples/statement-sample.pdf", "format": "csv"}'

What comes back for that one-page sample (a German statement with separate debit and credit columns; download the PDF, 3 KB, to try it in the web app or with the call above), run on 13 Oct 2026. The CSV file:

date,description,amount,balance,row_ok
2024-03-04,Rent March,-950.00,1530.00,true
2024-03-06,Card payment SUPERMARKET BERLIN,-62.35,1467.65,true
2024-03-11,Salary ACME GmbH,3200.00,4667.65,true
2024-03-15,Online order 4471-2209 Invoice for office chair,-129.90,4537.75,true
2024-03-22,Electricity March,-78.40,4459.35,true
2024-03-29,Transfer to savings,-500.00,3959.35,true

Next to the file, the reply reports layout debit_credit, date order dmy (worked out from "a day above 12"), currency EUR, opening balance 2,480.00 and closing balance 3,959.35 (both printed on the statement), 3,200.00 in and 1,720.65 out, the IBAN and the statement period, 6 of 6 rows reconciled and confidence 0.99. A row that fails the running-balance check would appear in flagged_rows with row_ok: false.

Check it yourself before you accept it

A statement prints its own running balance, so any agent can re-run the check on the CSV it received, without calling us again or trusting our confidence score. Start from the opening balance, add each amount, and compare with the printed balance on every row. These 10 lines stop at the first row that doesn't add up:

import csv, sys
from decimal import Decimal

rows = list(csv.DictReader(open(sys.argv[1], newline="")))
bal = Decimal(rows[0]["balance"]) - Decimal(rows[0]["amount"])  # opening balance
for r in rows:
    bal += Decimal(r["amount"])
    if r["balance"] and bal != Decimal(r["balance"]):
        sys.exit(f"stop: {r['date']} {r['description']}: expected {bal}, statement says {r['balance']}")
print(f"ok: {len(rows)} rows, closing balance {bal}")

On the sample above it prints ok: 6 rows, closing balance 3959.35. Change one amount by a few cents and it stops on that row. Rows with no printed balance are skipped, and the next printed balance still catches an error in them. Compare the result with the closing_balance in the JSON reply too. When closing_balance_source is printed, that figure was read from the statement's own summary, not added up from the rows. The check uses decimal arithmetic, not floats, so it holds to the cent.

Import into TallyPrime

TallyPrime does not read PDF statements. Its Bank Reconciliation report imports an Excel file instead: open the report and choose Alt+O (Import) > Bank Statements (Tally's import FAQ). Convert the PDF with "format": "xlsx" and import that file. Our Transactions sheet has the date, description, signed amount and running balance of each row; check that the columns match what your TallyPrime release expects before importing a full year.

Password-protected statements

Many banks send statements as password-protected PDFs; in India the password is often a customer ID or a date of birth. The converter refuses an encrypted file with pdf_encrypted, and a refused file is not charged. Unlock it first with POST /v1/pdf/unlock (unlock_pdf, USD 0.005) and "output": "url", then pass the returned link (file.url, kept for 24 hours) to /v1/pdf/bank-statement. Passwords sent to unlock are never logged or stored.

curl -s -X POST https://tanod.dev/v1/pdf/unlock -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/statement.pdf", "password": "...", "output": "url"}'

What others charge

Most statement converters price per page, so a 5-page statement costs five units. Published and reported prices on 2026-10-13: an Apify bank-statement actor lists about USD 0.04 per page; DocuClipper's plans work out to about USD 0.075 to 0.26 per page (USD 79 a month for 300 pages); Nanonets is reported at USD 0.10 to 0.30 per page and Mindee at about USD 0.05 per page after 250 free pages a month. Some of these figures come from vendors' comparison pages, so check current prices with each vendor. Here a statement costs USD 0.01 for up to 200 pages, with no subscription, and every row is checked against the running balance. See the price comparison.

Recipe: a year of statements for the bookkeeper

Twelve monthly statements cost USD 0.12 (12 x USD 0.01), or USD 0.18 if each one is password-protected and needs an unlock first (12 x USD 0.005). Two checks make the year trustworthy without reading every row:

  1. Within each month, flagged_rows lists every row that breaks the running balance. Open only those.
  2. Across months, each statement's closing_balance should equal the next one's opening_balance. A gap means a missing statement or a missing page, which no single-file check can see.

Ask for "format": "csv", xlsx, ofx, qif or qbo to import directly, or keep the JSON to run the checks first. A refused file (encrypted, scanned, no transactions found) is not charged, so a batch that fails halfway costs only the statements that came back.

Limits and privacy

Related

Use it from Claude without writing code: in claude.ai or Claude Desktop, add https://tanod.dev/mcp/docs?via=bank-statement-pdf-to-csv-api as a custom connector (steps), then ask in plain words, for example "Turn this PDF bank statement into a CSV of dated transactions." Bank statement conversion has no free tier over MCP. Each call needs an x402 payment, which these clients can make.

Updated 2026-11-10. Related guides: PDF to Word API, PDF OCR API, Compress PDF API. All guides, or back to tanod.dev.