---
title: "Suggest categories for uncoded feed transactions"
method: GET
path: "/bank-transactions/suggestions"
tags: ["Banking"]
---

# Suggest categories for uncoded feed transactions

`GET /bank-transactions/suggestions`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/bank-transactions/suggestions`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Shared category suggestions for a register's uncoded rows. Compatible phone-book merchant categories constrain the account family before organization history or stored AI fills gaps. Returns evidence source and rationale. Read-only.

## Query parameters

- `bankAccountId` string, uuid, required

## Response `200`

Suggestions

- object
  - `suggestions` object[]
    - `bankTransactionId` string, uuid
    - `accountId` string, uuid
    - `accountCode` string
    - `accountName` string
    - `category` string, nullable
    - `basis` string
    - `occurrences` integer
    - `confidence` number
    - `source` 'phonebook' | 'taxonomy' | 'history' | 'ai'
    - `rationale` string, nullable

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
