Expense claims: filter by team, cost center, category and expense date
Get Requests can now find and total expense claims the way finance looks at them: by team, by cost center, by expense category and by the date of the expense ("expenses of February"). The category, the receipt and the meals of a per diem come back in the response, so there is no need to open each claim in Spendesk.
New filters
| Filter | What it keeps | Request types |
|---|---|---|
teamId | the requests of this team | every type |
costCentreId | the requests of this cost center | every type |
expenseCategoryId | the claims coded to this expense category | claims (expense, mileage_allowance, per_diem_allowance) |
expenseDateFrom, expenseDateTo | the expenses dated within these days (YYYY-MM-DD, UTC, both included) | expense only |
New fields, on Get Requests and Get a Request:
expenseCategory(id,name), on claims, ornullwhen the claim has no category;hasReceipt, on expenses:trueorfalse;nullon mileage and per diem, which have no receipt;perDiemAllowanceRequestData.mealsProvided: how many daysbreakfast,lunchanddinnerwere provided.
curl --request GET \
--url 'https://public-api.spendesk.com/v1/requests?type=expense&expenseDateFrom=2026-02-01&expenseDateTo=2026-02-28&costCentreId=<costCentreId>' \
--header 'Authorization: Bearer <token>'
The expense date filter is for expenses onlyMileage and per diem have no filterable date yet. To avoid leaving them out silently,
expenseDateFromandexpenseDateToanswer400unlesstypeisexpensealone. A range whose end is before its start also answers400.
Same scope as before (experimental:request:read); claims still need the claims feature switched on for the company. The AI assistant tools (get_requests, spendesk_analyze_requests) do not have these filters yet.