BankConv
v0.1.2Convert PDF bank statements into transactions, CSV, OFX, QFX, QBO or Xero CSV.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
convert_statement Convert a bank statement PDF
Convert a PDF bank or credit card statement on this computer with BankConv. Use this for a new PDF; for a statement converted earlier, use get_transactions or download_statement with its conversion id (list_conversions finds it). With output "transactions" (the default) it returns a summary and every transaction as JSON: ISO date, description, signed amount (money in positive), running balance; opening balances and totals are left out. Any other output saves that file and returns only its path and any warnings. csv: the statement as a spreadsheet; ofx: Xero, Sage, MYOB, QuickBooks Online; qfx:…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to the PDF statement on this computer. |
output | string | "transactions" returns the rows to you; any other value saves that file. csv: the statement as a spreadsheet; ofx: Xero, Sage, MYOB, QuickBooks Online; qfx: Quicken; qbo: QuickBooks Desktop (Web Conne… |
password | string | The PDF password, if the statement is password-protected. |
save_to | string | For file outputs: a file path or folder. Defaults to the PDF's folder, named after the PDF. An existing file at that path is overwritten. |
timeout_seconds | integer | How long to wait for the conversion. On timeout the conversion keeps running; fetch it later with its conversion id. |
get_transactions Get the transactions of a conversion
Get the transactions of an earlier BankConv conversion by its conversion id (from convert_statement or list_conversions): ISO date, description, signed amount (money in positive) and running balance, with the bank, account, period and currency. Read-only; uses no pages. To save a file instead, use download_statement. Errors say what went wrong: not_found for an unknown conversion id, gone once a conversion was deleted under data retention (24 hours by default), unreadable_statement when the tables can't be read as transactions (the message names the row), insufficient_credits when the account…
| Parameter | Type | Description |
|---|---|---|
conversion_id * | string | The conversion id, as returned by convert_statement or list_conversions. |
tables | string | Advanced: which tables to read, as page:table indexes from 0 ("0:1,1:0"). Leave out and BankConv picks the transaction tables. |
download_statement Save a conversion as a file
Save an earlier BankConv conversion as a file on this computer, by its conversion id (from convert_statement or list_conversions). Returns the saved path and any warnings (for example a bank QuickBooks doesn't list), not the file contents. Uses no pages. csv: the statement as a spreadsheet; ofx: Xero, Sage, MYOB, QuickBooks Online; qfx: Quicken; qbo: QuickBooks Desktop (Web Connect); xero: Xero CSV with Xero's own columns. Errors say what went wrong: not_found for an unknown conversion id, gone once a conversion was deleted under data retention (24 hours by default), unreadable_statement when…
| Parameter | Type | Description |
|---|---|---|
conversion_id * | string | The conversion id, as returned by convert_statement or list_conversions. |
format * | string | csv: the statement as a spreadsheet; ofx: Xero, Sage, MYOB, QuickBooks Online; qfx: Quicken; qbo: QuickBooks Desktop (Web Connect); xero: Xero CSV with Xero's own columns. |
save_to | string | A file path or folder. Defaults to the Downloads folder (or the home folder), named after the original PDF. An existing file at that path is overwritten. |
tables | string | Advanced: which tables to read, as page:table indexes from 0 ("0:1,1:0"). Leave out and BankConv picks the transaction tables. |
list_conversions List recent conversions
List the BankConv account's recent conversions, newest first, one line each: conversion id, status, file name, page count and upload time. Use it to find the id of an earlier conversion for get_transactions or download_statement, or to check on one still processing. Read-only.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many conversions to list, 1 to 100. |
status | string | Only list conversions with this status. no_credits means it waits for pages; failed means the PDF couldn't be converted. |
get_credits Check the page balance
Check how many BankConv pages the account has left in the current period, as JSON. Each PDF page uses one page, so check before converting a large batch. Read-only.