Improved

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

FilterWhat it keepsRequest types
teamIdthe requests of this teamevery type
costCentreIdthe requests of this cost centerevery type
expenseCategoryIdthe claims coded to this expense categoryclaims (expense, mileage_allowance, per_diem_allowance)
expenseDateFrom, expenseDateTothe 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, or null when the claim has no category;
  • hasReceipt, on expenses: true or false; null on mileage and per diem, which have no receipt;
  • perDiemAllowanceRequestData.mealsProvided: how many days breakfast, lunch and dinner were 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 only

Mileage and per diem have no filterable date yet. To avoid leaving them out silently, expenseDateFrom and expenseDateTo answer 400 unless type is expense alone. A range whose end is before its start also answers 400.

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.