Overview / People & HR / List staff expenses

List staff expenses

get https://api.flactrum.com/v1/staff-expenses
Required scope payroll.read
Panel screenStaff & HR → Staff expenses
Success status200
Returns A paginated list of StaffExpense objects

Parameters

NameInTypeDescription
employee_id query string —
branch_id query string —
category query string —
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

FieldTypeDescription
id string —
employee_id string —
branch_id string|null —
category string —
amount number —
description string|null —
expense_date string —

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X GET 'https://api.flactrum.com/v1/staff-expenses' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43mzftcsk09zygkb46k3man",
            "user_id": null,
            "branch_id": "01m43mzfsrpgemdejvpq878cby",
            "category": "travel",
            "amount": 450,
            "description": "Şubeler arası ulaşım",
            "expense_date": "2026-10-04",
            "created_at": "2026-10-04T14:27:09+00:00",
            "updated_at": "2026-10-04T14:27:09+00:00"
        }
    ],
    "meta": {
        "total": 1,
        "page": 1,
        "per_page": 25,
        "last_page": 1
    }
}