List income and expense entries
get
https://api.flactrum.com/v1/transactions
| Required scope | transactions.read |
| Panel screen | Finance → Income & expenses |
| Success status | 200 |
| Returns | A paginated list of Transaction objects |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| branch_id | query | string | — |
| type | query | string | — |
| category | query | string | — |
| affects_cash | query | boolean | — |
| manual | query | boolean | true for hand-entered rows, false for ones produced by sales. |
| from | query | string | — |
| to | query | string | — |
| page | query | integer | Page number. |
| per_page | query | integer | Page size. Values above the maximum are rejected rather than silently clamped. |
| updated_since | query | string | Only records changed at or after this instant. Use it for incremental sync. |
| sort | query | string | Column to sort by. Each endpoint lists what it accepts. |
| direction | query | string | Sort direction. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| branch_id | string | — |
| type | string | — |
| category | string | — |
| amount | number | Always positive; the direction comes from type. |
| affects_cash | boolean | Whether it passes through the till. A bill paid by bank transfer is an expense but does not change the day-end cash count. |
| payment_method_id | string|null | — |
| order_id | string|null | Set when the entry came from a sale rather than being typed in. |
| transaction_date | string | — |
| receipt_url | string|null | Photo or PDF of the receipt, when one was attached. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/transactions' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": [
{
"id": "01m43my9rpmdhdyjfqd973zjvf",
"branch_id": "01m43my9r4ebzg9xfb8e72q21z",
"type": "expense",
"category": "utilities",
"amount": 3200,
"affects_cash": false,
"payment_method_id": null,
"order_id": null,
"description": "Elektrik faturası",
"transaction_date": "2026-10-04",
"receipt_url": null,
"created_at": "2026-10-04T14:26:30+00:00",
"updated_at": "2026-10-04T14:26:30+00:00"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 25,
"last_page": 1
}
}