---
title: "Read a posted bank transaction's category lines"
method: GET
path: "/bank-transactions/{bankTransactionId}/split-posted"
tags: ["Banking"]
---

# Read a posted bank transaction's category lines

`GET /bank-transactions/{bankTransactionId}/split-posted`

## Request

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

Returns the category lines of a posted bank row's journal entry (everything except the bank line), to prefill a split.

## Path parameters

- `bankTransactionId` string, uuid, required

## Response `200`

Category lines

- object
  - `data` object
    - `bankTransactionId` string, uuid
    - `journalEntryId` string, uuid
    - `amountCents` integer: Integer cents. Example: 1250 means $12.50.
    - `lines` object[]
      - `accountId` string, uuid
      - `amountCents` integer: Integer cents. Example: 1250 means $12.50.
      - `classId` string, uuid, 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)
