Pereiti prie pagrindinio turinio
expenses

List /expenses

Search expenses. Matches name, reference number, note, or supplier name (optional query). Supports pagination and filters: status, payment status, category, assignees, date ranges, client, supplier, project, object, invoice, currency, organization, recurring. Each item uses uuid only. Response: items and pagination.

GET
/expenses
Authorizationstringheaderprivaloma

API key (Bearer token) created in Setup → API & MCP.

querystringquery

Optional search phrase for expense name, reference number, note, or supplier name.

Minimum string length: 1
pageintegerquery

Page number (1-based).

Privalomas intervalas: 1 <= x
per_pageintegerquery

Number of results per page. limit is accepted as an alias.

Privalomas intervalas: 1 <= x <= 50
filter[updated_since]stringquery

Return only records whose updated_at is at or after this ISO 8601 timestamp (e.g. 2026-08-11T00:00:00Z). Intended for incremental polling.

filter[created_since]stringquery

Return only records whose created_at is at or after this ISO 8601 timestamp (e.g. 2026-08-11T00:00:00Z). Intended for polling new records.

filter[status]stringquery

Expense status codes (1=default, 2=waiting approval, 3=approved, 4=cancelled, 5=incurred, 6=advance paid).

filter[payment_status]stringquery

Payment status codes (1=unpaid, 2=paid).

filter[category]string[]query

Expense category code_name values.

filter[assignees]string[]query

Responsible person staff UUIDs.

filter[date]stringquery

Expense date range.

filter[duedate]stringquery

Expense due date range.

filter[clients]stringquery

Client UUIDs.

filter[suppliers]stringquery

Supplier client UUIDs.

filter[project]stringquery

Project UUIDs.

filter[object]stringquery

Object UUIDs.

filter[invoice]stringquery

Related invoice UUIDs.

filter[currency]stringquery

Currency names (exact match, e.g. EUR).

filter[organization]string[]query

Organization UUIDs.

filter[recurring]integerquery

Filter by recurring flag.

Privalomas intervalas: 0 <= x <= 1
filter[uuid]stringquery

Record UUIDs. Use it to fetch several known records in one call.

filter[created_by]string[]query

Staff UUID who created the record.

filter[updated_by]string[]query

Staff UUID who last changed the record. Empty until the record is saved once after 2026-09.

filter[created_at]stringquery

Created date range (YYYY-MM-DD - YYYY-MM-DD). Use created_since for one-sided incremental polling.

filter[updated_at]stringquery

Last change date range (YYYY-MM-DD - YYYY-MM-DD). Use updated_since for one-sided incremental polling.

sortstringquery

Optional sort order, comma-separated; prefix a field with - for descending (e.g. sort=-updated_at); empty values sort last. Sortable fields: amount, created_at, date, duedate, name, note, payment_mode, payment_status, reference_no, status, supplier_account_no, updated_at, uuid. Default when omitted: -date.

fieldsstring[]query

Optional response field paths (dot notation for nested groups, e.g. billing_address.street; array fields are returned whole). Comma-separated string is also accepted. Identifier field is always included.

Atsakymas

application/json

Search results

itemsobject[]
paginationobject
querystring