Skip to content

Reimbursements

A reimbursement is an expense marked reimbursable: money the business owes the team member who spent it. Once the person has been paid back, outside OneSuite, an administrator marks the reimbursement as paid. A reimbursement has no id of its own; it uses its expense’s id.

With your personal access token you see the reimbursements of the people whose expenses you may see, following your expense permissions: a member sees their own; a manager whose permission profile lets them view managed people’s expenses also sees those people’s; anyone allowed to view all expenses sees everyone’s. Marking a reimbursement as paid, and undoing it, needs the permission to log and edit all expenses, which administrators hold; with it you can mark anyone’s reimbursement, your own included.

One reimbursable expense and whether it has been paid.

Field Type Description
id string The id of the expense being reimbursed. The same id works with the Expenses endpoints. Read only.
status string unpaid (still owed) or paid (marked as paid). Read only.
member object Who is owed the money, { id, name }. Read only.
spentDate date The day the money was spent. Read only.
project object The expense’s project, { id, name, code }. Read only.
client object The project’s client, { id, name }, or null. Read only. Can be null.
expenseCategory object The expense category, { id, name }. Read only.
notes string The expense’s notes. Read only. Can be null.
totalAmount decimal The amount owed. Read only.
currency string ISO currency code of the amount. Read only.
isReimbursable boolean Whether the expense is still marked reimbursable. False only for an expense that was marked paid and later had Request reimbursement turned off; it stays listed because the payment was made. Read only.
isBillable boolean Whether the client can also be invoiced for the expense. Paying the person does not change it. Read only.
approvalStatus string The expense’s approval: draft, submitted, approved or sentBack. Approval is not required before paying. Read only.
paidAt datetime When it was marked as paid. Null while unpaid. Read only. Can be null.
markedPaidBy object The team member who marked it paid, { id, name }. Null while unpaid. Read only. Can be null.
updatedAt datetime When the expense last changed. Read only.

Returns the reimbursable expenses you may see, latest spent date first. Only unpaid ones are returned unless you set status.

GET /v1/reimbursements

Parameters

Parameter In Type Required Description
page query integer No Page number, default 1.
limit query integer No Rows per page, default 20, max 1000.
status query string No unpaid (default), paid, or all.
filterMemberIds query string No Comma-separated team member ids. Each must be someone whose expenses you may see.
filterProjectIds query string No Comma-separated project ids.
from query date No Spent on or after this day.
to query date No Spent on or before this day.
updatedSince query datetime No Only reimbursements whose expense changed at or after this moment. Records deleted since then are not reported.
sortField query string No spentDate (default), paidAt or totalAmount.
sortOrder query string No desc (default) or asc.

Rules

  • 403 when a filterMemberIds entry is a person whose expenses you may not see.
  • 400 for an unknown status or malformed dates.

Example request

Terminal window
curl "https://api.onesuite.io/v1/reimbursements?status=unpaid&limit=1" \
-H "X-API-Key: $ONESUITE_TOKEN"

Example response — status 200

{
"data": [
{
"id": "cm3xexp0001ab12cdef00001",
"status": "unpaid",
"member": {
"id": "cm0mem0002ab12cdef000002",
"name": "Jordan Patel"
},
"spentDate": "2026-11-18",
"project": {
"id": "cm2proj001ab12cdef000001",
"name": "Website refresh",
"code": "103"
},
"client": {
"id": "cm1a2b3c40001xy98zt7654ab",
"name": "Northwind Studio"
},
"expenseCategory": {
"id": "cm2cat0001ab12cdef00001",
"name": "Mileage"
},
"notes": "Client workshop, Bristol and back",
"totalAmount": 37.8,
"currency": "GBP",
"isReimbursable": true,
"isBillable": true,
"approvalStatus": "approved",
"paidAt": null,
"markedPaidBy": null,
"updatedAt": "2026-11-20T11:03:19.010Z"
}
],
"totalCount": 4,
"page": 1,
"limit": 1
}

Records that the person has been paid back outside OneSuite. The expense then becomes read-only. Marking one that is already paid changes nothing.

POST /v1/reimbursements/:id/mark-paid

Parameters

Parameter In Type Required Description
id path string Yes The expense’s id.

Rules

  • 403 when the token’s person may not log and edit all expenses (administrators can).
  • 400 when the expense is not reimbursable.
  • 409 when an administrator has locked the expense.
  • 404 when no expense with this id exists in the business.
  • Answers 200 with the reimbursement.

Example request

Terminal window
curl "https://api.onesuite.io/v1/reimbursements/cm3xexp0001ab12cdef00001/mark-paid" \
-X POST \
-H "X-API-Key: $ONESUITE_TOKEN"

Example response — status 200

{
"data": {
"id": "cm3xexp0001ab12cdef00001",
"status": "paid",
"member": {
"id": "cm0mem0002ab12cdef000002",
"name": "Jordan Patel"
},
"spentDate": "2026-11-18",
"project": {
"id": "cm2proj001ab12cdef000001",
"name": "Website refresh",
"code": "103"
},
"client": {
"id": "cm1a2b3c40001xy98zt7654ab",
"name": "Northwind Studio"
},
"expenseCategory": {
"id": "cm2cat0001ab12cdef00001",
"name": "Mileage"
},
"notes": "Client workshop, Bristol and back",
"totalAmount": 37.8,
"currency": "GBP",
"isReimbursable": true,
"isBillable": true,
"approvalStatus": "approved",
"paidAt": "2026-11-25T14:00:03.551Z",
"markedPaidBy": {
"id": "cm0mem0001ab12cdef000001",
"name": "Sam Lee"
},
"updatedAt": "2026-11-25T14:00:03.560Z"
}
}

Returns a reimbursement to unpaid, for a payment marked by mistake. Undoing one that is not paid changes nothing.

POST /v1/reimbursements/:id/undo-mark-paid

Parameters

Parameter In Type Required Description
id path string Yes The expense’s id.

Rules

  • 403 when the token’s person may not log and edit all expenses (administrators can).
  • 409 when an administrator has locked the expense.
  • 404 when no expense with this id exists in the business.
  • Answers 200 with the reimbursement.

Example request

Terminal window
curl "https://api.onesuite.io/v1/reimbursements/cm3xexp0001ab12cdef00001/undo-mark-paid" \
-X POST \
-H "X-API-Key: $ONESUITE_TOKEN"

Example response — status 200

{
"data": {
"id": "cm3xexp0001ab12cdef00001",
"status": "unpaid",
"member": {
"id": "cm0mem0002ab12cdef000002",
"name": "Jordan Patel"
},
"spentDate": "2026-11-18",
"project": {
"id": "cm2proj001ab12cdef000001",
"name": "Website refresh",
"code": "103"
},
"client": {
"id": "cm1a2b3c40001xy98zt7654ab",
"name": "Northwind Studio"
},
"expenseCategory": {
"id": "cm2cat0001ab12cdef00001",
"name": "Mileage"
},
"notes": "Client workshop, Bristol and back",
"totalAmount": 37.8,
"currency": "GBP",
"isReimbursable": true,
"isBillable": true,
"approvalStatus": "approved",
"paidAt": null,
"markedPaidBy": null,
"updatedAt": "2026-11-25T14:05:47.120Z"
}
}