v1

latestOpenAPI 3.1.02026-07-241910582.8 KB

List Ledger Account Categories

get/ledger_account_categories

Query parameters

id[]string[]

If you have specific IDs to retrieve in bulk, you can pass them as query parameters delimited with id[]=, for example ?id[]=123&id[]=abc.

namestring
namestring[]

If you have specific names to retrieve in bulk, you can pass them as query parameters delimited with name[]=, for example ?name[]=my-category&name[]=your-category. Partial match here is enabled.

ledger_idstring
currencystring
parent_ledger_account_category_idstring

Query categories that are nested underneath a parent category

ledger_account_idstring

Query categories which contain a Ledger Account or contain other categories which contain the Ledger Account.

balancesstring

For example, if you want the balances as of a particular time (ISO8601), the encoded query string would be balances%5Beffective_at%5D=2000-12-31T12:00:00Z. The balances as of a time are inclusive of entries with that exact time, but with respect to the ledger accounts that are currently present in the category.

ltinteger
lteinteger
eqinteger
gtinteger
gteinteger
not_eqinteger

Use gt (>), gte (>=), lt (<), lte (<=), eq (=), or not_eq (!=) to filter by the current balance amount.

Note: The balances utilized for filtering are eventually consistent, and there may be a delay in reflecting the most recent Ledger Entries written to a Ledger Account Category.

ltinteger
lteinteger
eqinteger
gtinteger
gteinteger
not_eqinteger

Use gt (>), gte (>=), lt (<), lte (<=), eq (=), or not_eq (!=) to filter by the current balance amount.

Note: The balances utilized for filtering are eventually consistent, and there may be a delay in reflecting the most recent Ledger Entries written to a Ledger Account Category.

ltinteger
lteinteger
eqinteger
gtinteger
gteinteger
not_eqinteger

Use gt (>), gte (>=), lt (<), lte (<=), eq (=), or not_eq (!=) to filter by the current balance amount.

Note: The balances utilized for filtering are eventually consistent, and there may be a delay in reflecting the most recent Ledger Entries written to a Ledger Account Category.

external_idstring

To query ledger account categories by the external_id, use this query parameter.

metadatastring

For example, if you want to query for records with metadata key Type and value Loan, the query would be metadata%5BType%5D=Loan. This encodes the query parameters.

after_cursorstring
per_pageinteger

Response

200