Bank accounts: add, spend, reconcile
bank_manageWork on the bank, card and cash accounts (round 620), as the Bank pages do. action=add_account with type (bank, card or cash), name, currency (any ISO code), institution and ledger (optional: an unused bank account of the chart, else the next free number is made), opening_balance and date (optional: the balance before its earliest statement line, against the opening balances account, proposed; a card's is what is owed). action=opening_balance with bank_account, opening_balance and date: the same for an account added before. action=spend or receive with bank_account, date, contact, reference, amounts_are (inclusive, the default, exclusive or none) and lines [{description, account (code or exact name), tax_rate (code or name), amount}]: Spend money or Receive money, an entry of type bank proposed and released as the owner's switches say; the statement line that comes later matches it. action=reconcile_save with bank_account, statement_date, statement_balance and line_ids (every line ticked on the reconciliation; left out: the lines the page ticks itself, those the statement showed up to the date): kept as the reconciliation in progress; action=reconcile_finish the same, kept as the reconciliation report, only at a difference of 0.00; action=reconcile_undo with reconciliation_id and reason (the last one of its account). action=reconcile_charges with bank_account, statement_date, service_charge and interest (either, amounts in the account's currency; service_account and interest_account optional, the bank charges and interest received accounts by default): posted from the reconciliation, no VAT, proposed; reconcile_save ticks them by their lines. Unmatch (round 905, the web Unmatch): action=unmatch with bank_line_id and reason: the match of a bank line ends and the line is back on Bank, Reconcile; an entry booked from the line is reversed, or kept with entry=keep; action=undo with bank_line_id: the booking made from the line is reversed and the line unmatched. A line of a finished reconciliation is refused until reopen=true (that reconciliation is reopened, kept on file as undone). Each is a pending action released as the owner's switches say. action=import_undo with import_id and reason: the statement's lines leave the open list (refused while a line is matched or waits); action=import_redo brings them back. action=set_holder with bank_account and holder (a person's handle) or holder_name (and holder_email) of someone without a sign in: who holds the card (or account); neither clears it. A missing receipt of a payment from it is asked of the holder before anyone else (who_could_have_it). Card buzz (round 724): action=card_buzz with vendor wise (profile, the Wise profile id) or revolut (secret, the webhook's signing secret wsk_...) and bank_account: the address for the bank's webhook (balances#update, TransactionCreated), shown once; each card payment then buzzes the card holder's phone within seconds for the receipt. action=card_buzz_off with vendor; action=card_buzz_list: the hooks and the card payments of the week. Cash coding (round 733, Bank, Cash coding): action=coding with sort (date, payee or amount, :asc or :desc), size (50, 100 or 200), page, reference (text or an amount to find) and bank_account: the lines to explain as the grid shows them, each with what Octobooks proposes; action=code with lines [{bank_line_id, account, tax_rate, contact, description}] (up to 200): each line booked as coded, one batch, released as the owner's switches say. Round 790 (Xero's OK, in bulk): action=suggested lists the lines to explain that carry a suggestion (a match to open invoices or bills, part payments said with what is left, or an account from a rule, history or the shared catalogue); action=confirm_suggested books them as the Bank page's Confirm N does, one batch (line_ids: only these bank lines; none: every suggested line, up to 50; a match marked to check is left out; a part payment posts with part true, the rest left open, and is said in not_booked without it); make_rule true is the row's tick Save as rule on Bank: each payee booked to one account also gets its rule in Automatic posting, one per payee and account (suggested says rule_default per line, on from the payee's second same booking). A rule for every later line is made with answer kind book and payload and_rule true; its words are the stable part of the payee text, or rule_contains as given. Bank feeds (open banking for UK, German and Austrian companies): action=link_start (date: the day the import starts from, optional, default 1 January of this year) gives bank_login_url, the open banking page where the owner picks the bank and signs in, then returns to Bank accounts and picks the accounts (with a connected feed it adds another bank to it, another_bank true); action=link_status: the feed, its accounts, consent_until and last pull; action=link_pull (feed_id optional): Octobooks fetches what the bank feed has read within five minutes (the bank itself is read at 06:40, 12:40, 18:40 UK time, or by Update now on Bank); link_banks names the banks where a bank link of round 870 is switched on. action=link_end (feed_id where more than one is live) disconnects the bank feed or link as Disconnect on Settings, Apps: under the owner's setting for settings changes by the AI, set to apply at once it ends now, Ask me (default) it waits for the owner's one tap; the lines it brought stay.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "bank_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | No | ||
| date | No | ||
| name | No | ||
| page | No | ||
| part | No | ||
| size | No | ||
| sort | No | ||
| type | No | ||
| entry | No | ||
| lines | No | ||
| action | Yes | ||
| holder | No | ||
| ledger | No | ||
| reason | No | ||
| reopen | No | ||
| secret | No | ||
| vendor | No | ||
| company | No | ||
| contact | No | ||
| country | No | ||
| feed_id | No | ||
| profile | No | ||
| currency | No | ||
| interest | No | ||
| line_ids | No | ||
| import_id | No | ||
| make_rule | No | ||
| reference | No | ||
| amounts_are | No | inclusive | |
| holder_name | No | ||
| institution | No | ||
| bank_account | No | ||
| bank_line_id | No | ||
| holder_email | No | ||
| service_charge | No | ||
| statement_date | No | ||
| opening_balance | No | ||
| service_account | No | ||
| interest_account | No | ||
| reconciliation_id | No | ||
| statement_balance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||