PivotBank
v1.1.0Convert bank statement PDFs to Excel, CSV, OFX or QBO, every row checked against the balances.
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 to Excel, CSV, QuickBooks or Xero
Use this when the user wants a bank statement or credit card statement PDF turned into a spreadsheet: Excel (xlsx), CSV, QuickBooks (QBO), Xero (OFX), Quicken (QIF) or JSON. Reads every transaction (date, description, money in, money out, balance) and checks them against the statement's own running balances, so the reading is proved rather than guessed. Saves the statement to the user's PivotBank account and returns a link to download it in any of those formats. Needs the user to sign in to PivotBank; agents may instead send a Pro API key as 'Authorization: Bearer pvb_live_...'.
| Parameter | Type | Description |
|---|---|---|
filename | string | The file name, for your own records. |
pdf_base64 | string | For clients without file attachments: the statement PDF, base64-encoded. 15 MB before encoding at most. |
statement | object | The bank statement PDF the user shared. |
check_statement_balances Check that a bank statement adds up
Use this when the user asks whether a bank statement is complete, correct or genuine, or why its numbers do not add up. Reads the PDF and checks every row against the statement's own running balances: opening plus money in minus money out must land on the closing balance to the cent. Says whether it does, and names the rows where it breaks. Free with a PivotBank account.
| Parameter | Type | Description |
|---|---|---|
pdf_base64 | string | For clients without file attachments: the PDF, base64-encoded. |
statement | object | The bank statement PDF the user shared. |
summarise_spending Summarise spending on a bank statement
Use this when the user wants to know where their money went from a bank statement PDF: money in and out, spending by category, top merchants and repeating payments such as subscriptions. Free with a PivotBank account.
| Parameter | Type | Description |
|---|---|---|
pdf_base64 | string | For clients without file attachments: the PDF, base64-encoded. |
statement | object | The bank statement PDF the user shared. |
list_statements Your saved statements
Use this when the user asks for a statement they converted before, wants to download one again, or asks what they have converted. Lists the statements saved to their PivotBank account, newest first (20 unless a limit is given, at most 50), each with its bank, period, row count and a link to download it as Excel, CSV, QuickBooks (QBO), Xero (OFX) or QIF. Free with a PivotBank account.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many statements to list, newest first. Defaults to 20. |
list_supported_banks Banks recognised by name
Lists the banks PivotBank recognises by name, for one country (ISO 3166 alpha-2, e.g. GB, US, ZA) or for all. A statement from a bank not listed still converts: the reader works from the layout, not a per-bank template.
| Parameter | Type | Description |
|---|---|---|
country | string | ISO 3166 alpha-2 code. Leave out for every bank. |