The number of results that will be returned per page.
Kanbert (v1)
Available sorts are code, title, created_at.
You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -title.
Available includes are positions. You can include multiple options by separating them with a comma.
Allowed filter fields (with allowed operators):
| Field | Type | Operators |
|---|---|---|
code | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull |
title | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull |
type | enum<CostCenterType> | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
priority | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull |
Filtering expression. Accepts either JSON (array/tree of conditions) or a readable string DSL.
You can check the full syntax at Docs Filtering section.
Special values:
- me.id — current authenticated user id (usable on fields of type id). Example:
id eq me.id - now — current date-time. Example:
dueOn lt now - sow/eow — start/end of week. Examples:
dueOn gt sow,dueOn lt eow - som/eom — start/end of month. Examples:
dueOn gt som,dueOn lt eom - today — special date for today; with eq it expands to the whole day range. Example:
dueOn eq today - today±Nd — relative day offset. Examples:
today-30d,today+5d.
- https://api.kanbert.com/api/v1/chart-of-accounts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kanbert.com/api/v1/chart-of-accounts?sort=sort%3D-created_at%2Ctitle&include=string&page%5Bsize%5D=30&page%5Bcursor%5D=string&filter=title+contains+%22Acme%22+and+%28created_at+%3E%3D+%222024-01-01%22+or+client.name+contains+%22Corp%22%29' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "data": [ { … } ], "links": [ "string" ], "meta": { "path": "string", "per_page": 0, "next_cursor": "string", "next_cursor_url": "string", "prev_cursor": "string", "prev_cursor_url": "string" } }
Available sorts are value, title, type, created_at.
You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -title.
Allowed filter fields (with allowed operators):
| Field | Type | Operators |
|---|---|---|
type | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull |
title | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull |
chart_of_account.id | id | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
chart_of_account.code | — | — |
chart_of_account.title | — | — |
chart_of_account.type | enum<CostCenterType> | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
position.id | id | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
position.title | — | — |
incoming_invoice.id | id | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
outgoing_invoice.id | id | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
client.id | id | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
project.id | id | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
created_at | date | eq, ne, neq, lt, lte, le, gt, gte, ge, in, nin, notin, isnull, isnotnull, notnull |
Filtering expression. Accepts either JSON (array/tree of conditions) or a readable string DSL.
You can check the full syntax at Docs Filtering section.
Special values:
- me.id — current authenticated user id (usable on fields of type id). Example:
id eq me.id - now — current date-time. Example:
dueOn lt now - sow/eow — start/end of week. Examples:
dueOn gt sow,dueOn lt eow - som/eom — start/end of month. Examples:
dueOn gt som,dueOn lt eom - today — special date for today; with eq it expands to the whole day range. Example:
dueOn eq today - today±Nd — relative day offset. Examples:
today-30d,today+5d.
- https://api.kanbert.com/api/v1/chart-of-accounts/bookings
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kanbert.com/api/v1/chart-of-accounts/bookings?sort=sort%3D-created_at%2Ctitle&page%5Bsize%5D=30&page%5Bcursor%5D=string&filter=title+contains+%22Acme%22+and+%28created_at+%3E%3D+%222024-01-01%22+or+client.name+contains+%22Corp%22%29' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The cursor paginated collection of ChartOfAccountsBookingData
The list of items
Can be used to add an identifier to the client from an external system, must be unique
If originated from external system origin is added
Can be used to add an identifier to the project from an external system, must be unique
If originated from external system origin is added
Can be used to add an identifier to the client from an external system, must be unique
If originated from external system origin is added
The key is the field name for your custom field, value type depends on the field type
{ "data": [ { … } ], "links": [ "string" ], "meta": { "path": "string", "per_page": 0, "next_cursor": "string", "next_cursor_url": "string", "prev_cursor": "string", "prev_cursor_url": "string" } }
- https://api.kanbert.com/api/v1/chart-of-accounts/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kanbert.com/api/v1/chart-of-accounts/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "id": "string", "type": "accounts", "code": "string", "title": "string", "description": "string", "priority": "string", "budgets": { "property1": 0, "property2": 0 }, "start_date": "2019-08-24T14:15:22Z", "end_date": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "positions": [ { … } ] }