Accounting

List classes

Classes tag income and expense lines (for example a rental property, department, or location) for Profit & Loss by Class.

get/classes

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/classes
  • 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 classes.

includeUsageboolean

Add lineCount: posted journal lines tagged with each class.

Response

{ data: Class[] } with id, code, name, parentId, and isActive

Changes

No recorded changes to this operation across all 3 revisions of this API.