Accounting
List class allocations
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.
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
Query parameters
includeInactiveboolean
Include deactivated allocations.
Response
{ data: Allocation[] } with id, name, isActive, and shares [{ classId, basisPoints }]
Changes
No recorded changes to this operation across all 5 revisions of this API.