Skip to main content

GET /expenses

Summary

List expenses

URL Parameters

  • None

Query Parameters

NameTypeRequiredDescription
companystringNoFilter by company id(s). Pass a single id or comma-separated ids. If omitted, data for all companies linked to the API key is returned.
pageintegerNoPage number (default 1)
limitintegerNoRecords per page (default 50, max 200)
statusenum(pending, approved, rejected)NoFilter by expense approval status
projectstringNoFilter by project id
timesheetstringNoFilter by timesheet id
workerstringNoFilter by worker id
agencystringNoFilter by agency id
categorystringNoFilter by exact expense category. Supported values: Accommodation, Bonus, Driving hours, Flat rate hours, Fuel, Manager authorised hours, On-call, Other, Out-of-hours callout, Parking, Plant, Price work, Training hours, Vehicles
querystringNoCase-insensitive search against expense category and description
dateFieldenum(date, createdAt, updatedAt, approvalDate)NoDate field that from/to apply to. Default: date.
fromstringNoDate filter start (YYYY-MM-DD); applies to dateField
tostringNoDate filter end (YYYY-MM-DD); applies to dateField
sortByenum(createdAt, updatedAt, date, value, status, category)NoSort field
sortOrderenum(asc, desc)NoSort direction
fieldsstringNoComma-separated list of response fields or dot-path nested fields to return

Request Example

curl -X GET 'https://api.requidex.com/api/open/v1/expenses?status=approved&from=2026-03-01&to=2026-03-31' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Accept: application/json'

Response Fields

FieldTypeDescription
afpobjectLinked AfP with id and reference when attached to an AfP
agencyobject
Show child attributes
  • id string - Agency id
  • name string - Agency name
approvalDatestringApproval timestamp in ISO 8601 date-time format
approvedByobjectUser who approved the expense
categorystringExpense category
companyobject
Show child attributes
  • id string - Company id
  • name string - Company name
costCodeobjectOptional cost code with name and description
createdAtstringCreation timestamp
createdByobjectUser who created the expense
datestringExpense date in ISO 8601 date-time format
descriptionstringOptional expense description
hoursnumberHours attached to the expense when recorded
idstringExpense id
invoiceobjectLinked invoice with id and reference when invoiced
noReceiptReasonstringReason provided when no receipt was uploaded
projectobject
Show child attributes
  • id string - Project id
  • name string - Project name
rateobjectOptional rate information with value and description
receiptsarrayReceipt files. Each item may include fileName, url, and created
statusstringExpense approval status
timesheetobject
Show child attributes
  • id string - Timesheet id
  • reference string - Timesheet reference
updatedAtstringLast update timestamp
valuenumberExpense value
workerobject
Show child attributes
  • id string - Worker id
  • reference string - Worker reference
  • name string - Worker name
wraobjectOptional working-rule accommodation details with applicable, dailyAmount, and daysPaid

Response Example (200)

{
"success": true,
"data": [
{
"id": "67bc36db80a1616ec3f4c001",
"worker": {
"id": "67bc36db80a1616ec3f48999",
"reference": "WK-1044",
"name": "Jordan Smith"
},
"timesheet": {
"id": "67bc36db80a1616ec3f4a001",
"reference": "TS-1044"
},
"company": {
"id": "67bc36db80a1616ec3f47001",
"name": "Requidex Construction Ltd"
},
"project": {
"id": "67bc36db80a1616ec3f47011",
"name": "Northern Rail Electrification"
},
"agency": {
"id": "67bc36db80a1616ec3f47101",
"name": "Northline Labour Desk"
},
"status": "approved",
"category": "Travel",
"description": "Taxi from station",
"date": "2026-03-05T00:00:00.000Z",
"value": 38.5,
"hours": 2,
"rate": {
"value": 19.25,
"description": "travelRate"
},
"wra": {
"applicable": false,
"dailyAmount": null,
"daysPaid": null
},
"costCode": {
"name": "CC-001",
"description": "Trackside installation"
},
"receipts": [
{
"fileName": "taxi-receipt.pdf",
"url": "https://files.requidex.com/expenses/taxi-receipt.pdf",
"created": "2026-03-05T18:10:00.000Z"
}
],
"createdBy": {
"id": "67bc36db80a1616ec3f49998",
"name": "Pat Taylor"
},
"approvedBy": {
"id": "67bc36db80a1616ec3f49999",
"name": "Alex Carter"
},
"approvalDate": "2026-03-06T09:30:00.000Z",
"invoice": {
"id": "67bc36db80a1616ec3f4b001",
"reference": "RDX-NLD-I1044"
},
"createdAt": "2026-03-05T18:15:00.000Z",
"updatedAt": "2026-03-06T09:30:00.000Z"
}
],
"meta": {
"page": 1,
"limit": 50,
"total": 1
}
}