Skip to docs content

Tool reference

Bank feed and rules

Bank transactions, what still needs review, categorization rules and reconciliations, each a REST route with the same parameters and the same answer.

list_bank_transactions

Bank feed transactions of one entity, optionally within [from, to). amount is a decimal string in the bank feed convention: positive is money out. A row with pending true is not yet a bank transaction (it can change or vanish): it is listed for information only and cannot be categorized until it settles.

REST
GET https://auth.42six.ai/functions/v1/api/v1/bank-transactions
ParameterDescription
entityRequiredEntity id (uuid), from list_entities.
fromOptionalStart date, YYYY-MM-DD, inclusive.
toOptionalEnd date, YYYY-MM-DD, exclusive.
cursorOptionalThe next_cursor of the previous page.
limitOptionalRows per page, 1 to 1000 (default 1000).

An API key needs the Bank transactions read (bank:read); without it REST answers 403 and the MCP tool answers JSON-RPC error -32602, both saying "This key cannot read …". An app signed in with 42six reads every kind on the books it was given.

Answer (illustrative)
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000030",
      "account_id": "00000000-0000-4000-8000-000000000010",
      "provider": "manual",
      "posted_date": "2026-03-14",
      "amount": "49.00",
      "description": "EXAMPLE SOFTWARE CO",
      "merchant_name": null,
      "pending": false,
      "posted_entry_id": null,
      "cleared_line_id": null,
      "excluded_at": null,
      "created_at": "2026-01-05T16:20:00.000000+00:00"
    }
  ],
  "next_cursor": null
}

needs_review

Bank feed transactions of one entity still waiting for a category: neither posted to the ledger nor excluded, settled at the bank (pending rows are not listed) and not withdrawn. amount is a decimal string in the bank feed convention: positive is money out.

REST
GET https://auth.42six.ai/functions/v1/api/v1/needs-review
ParameterDescription
entityRequiredEntity id (uuid), from list_entities.
cursorOptionalThe next_cursor of the previous page.
limitOptionalRows per page, 1 to 1000 (default 1000).

An API key needs the Bank transactions read (bank:read); without it REST answers 403 and the MCP tool answers JSON-RPC error -32602, both saying "This key cannot read …". An app signed in with 42six reads every kind on the books it was given.

Answer (illustrative)
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000030",
      "account_id": "00000000-0000-4000-8000-000000000010",
      "provider": "manual",
      "posted_date": "2026-03-14",
      "amount": "49.00",
      "description": "EXAMPLE SOFTWARE CO",
      "merchant_name": null,
      "pending": false,
      "created_at": "2026-01-05T16:20:00.000000+00:00"
    }
  ],
  "next_cursor": null
}

list_rules

Categorization rules of one entity, active and inactive: the keyword and how it matches, direction, bank account, the account (or split) it posts to, priority and how often it has matched.

REST
GET https://auth.42six.ai/functions/v1/api/v1/rules
ParameterDescription
entityRequiredEntity id (uuid), from list_entities.
cursorOptionalThe next_cursor of the previous page.
limitOptionalRows per page, 1 to 1000 (default 1000).

An API key needs the Ledger read (ledger:read); without it REST answers 403 and the MCP tool answers JSON-RPC error -32602, both saying "This key cannot read …". An app signed in with 42six reads every kind on the books it was given.

Answer (illustrative)
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000040",
      "keyword": "EXAMPLE SOFTWARE",
      "match_type": "contains",
      "direction": "out",
      "bank_account_id": null,
      "account_id": "00000000-0000-4000-8000-000000000011",
      "functional_class": null,
      "split_lines": null,
      "priority": 100,
      "is_active": true,
      "match_count": 3,
      "last_matched_at": "2026-03-14T12:00:00.000000+00:00",
      "created_at": "2026-01-05T16:20:00.000000+00:00",
      "updated_at": "2026-01-05T16:20:00.000000+00:00"
    }
  ],
  "next_cursor": null
}

reconciliation_status

Saved bank and card reconciliations of one entity: account, statement date, statement balance, book balance, difference and when it was reconciled (null while open), as decimal strings.

REST
GET https://auth.42six.ai/functions/v1/api/v1/reconciliations
ParameterDescription
entityRequiredEntity id (uuid), from list_entities.
cursorOptionalThe next_cursor of the previous page.
limitOptionalRows per page, 1 to 1000 (default 1000).

An API key needs the Ledger read (ledger:read); without it REST answers 403 and the MCP tool answers JSON-RPC error -32602, both saying "This key cannot read …". An app signed in with 42six reads every kind on the books it was given.

Answer (illustrative)
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000050",
      "account_id": "00000000-0000-4000-8000-000000000010",
      "statement_date": "2026-02-28",
      "statement_balance": "4999.00",
      "book_balance": "4999.00",
      "difference": "0.00",
      "reconciled_at": "2026-03-05T10:00:00.000000+00:00",
      "updated_at": "2026-03-05T10:00:00.000000+00:00"
    }
  ],
  "next_cursor": null
}