---
title: "List class allocations"
method: GET
path: "/class-allocations"
tags: ["Accounting"]
---

# List class allocations

`GET /class-allocations`

## Request

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

Saved splits such as Downtown 60% / Westshore 40%. A feed row or bank rule with allocationTemplateId splits its category line across the classes when it posts; cents are distributed by largest remainder so the lines always sum to the row.

## Query parameters

- `includeInactive` boolean

## Response `200`

{ data: Allocation[] } with id, name, isActive, and shares [{ classId, basisPoints }]

## 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)
