Skip to main content

GET /expenses

Summary

List expenses

URL Parameters

  • None

Query Parameters

NameTypeRequiredDescription
companystringNoFilter by company id. 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
fromstringNoExpense date filter start (YYYY-MM-DD)
tostringNoExpense date filter end (YYYY-MM-DD)
sortByenum(createdAt, updatedAt, date, value, status, category)NoSort field
sortOrderenum(asc, desc)NoSort direction

Request Body Fields

No request body is accepted for this endpoint.

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

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
}
}