Timesheets
List timesheets #
/api/public/v1/quosuite/projects/timesheetsproject_time:readlistProjectTimesheetsA timesheet = one person × one week (Monday). Status deduced from its entries: DRAFT, SUBMITTED, APPROVED, REJECTED. With totals (minutes, of which billable). Allowed sort: weekStart, createdAt, updatedAt (default -weekStart).
Parameters
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenarpagenumberqueryPage number (starting at 1).
pageSizenumberqueryItems per page (100 at most).
sortstringquerySort: comma-separated fields,
-prefix for descending order. Allowed fields: see the route description. A final criterion onidmakes pagination stable.updatedSincestringqueryOnly returns items created or updated since this instant (ISO 8601, inclusive). With
sort=updatedAt, this is the recommended form of an incremental sync.cursorstringqueryCursor pagination:
nextCursorof the previous page, to be passed back as is with the same filters and the same sort. Stable even if items are created during the walk, and constant cost whatever the depth. Mutually exclusive withpage.limitnumberqueryCursor pagination: items per page (100 at most).
?limit=100starts a cursor walk; the response returnspagination.nextCursor.statusstring[]queryStatuses, comma-separated (
SUBMITTED).userIdstring (uuid)queryemployeeIdstring (uuid)queryweekFromstringqueryWeeks starting from (inclusive).
weekTostringqueryWeeks starting until (inclusive).
Response 200application/json
Success.
itemsProjectTimesheetDto[]requiredProjectTimesheetDto details
paginationPaginationDtorequiredPaginationDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/projects/timesheets' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"items": [
{
"id": "4f4ca024-ffef-4a7e-8a37-cb51523ed379",
"userId": "4bc21a2f-cb21-422e-8d38-b6a612ac0541",
"employeeId": "cdc98704-1483-4912-8392-cda5563a7f9d",
"personName": "Karim Trabelsi",
"weekStart": "2026-11-09",
"weekEnd": "2026-11-15",
"status": "DRAFT",
"statusLabel": "Soumise",
"submittedAt": "2026-10-02T09:15:00.000Z",
"decidedAt": "2026-10-02T09:15:00.000Z",
"comment": null,
"minutes": 2040,
"billableMinutes": 2040,
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
}
],
"pagination": {
"page": 1,
"pageSize": 25,
"totalItems": 132,
"totalPages": 6,
"limit": 100,
"nextCursor": "c1.eyJzIjoiZGF0ZTpkZXNjLGlkOmFzYyIsImYiOiJ…",
"hasMore": true
}
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Get a timesheet #
/api/public/v1/quosuite/projects/timesheets/{id}project_time:readgetProjectTimesheetWith all its entries, day by day (status, task, frozen price, document that bills them).
Parameters
idstring (uuid)pathrequiredlangstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenar
Response 200application/json
Success.
idstring (uuid)requireduserIdstring (uuid) | nullemployeeIdstring (uuid) | nullpersonNamestringrequirede.g.Karim TrabelsiweekStartstringrequiredMonday of the week.
e.g.2026-11-09weekEndstringrequirede.g.2026-11-15statusstringrequiredvaluesDRAFTSUBMITTEDAPPROVEDREJECTEDstatusLabelstringrequirede.g.SoumisesubmittedAtstring | nulldecidedAtstring | nullcommentstring | nullLast rejection reason.
minutesnumberrequiredTotal time of the week (minutes).
e.g.2040billableMinutesnumberrequirede.g.2040createdAtstringrequiredupdatedAtstringrequiredentriesProjectTimeEntryDto[]requiredThe week’s entries, by day.
ProjectTimeEntryDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/projects/timesheets/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"id": "0363c779-e0ba-475a-8ccf-4cbc94d493fd",
"userId": "3f731806-f2cf-421e-8fe0-eaf30168b825",
"employeeId": "1952082d-e8fe-4f52-8902-c8981b5ac0d9",
"personName": "Karim Trabelsi",
"weekStart": "2026-11-09",
"weekEnd": "2026-11-15",
"status": "DRAFT",
"statusLabel": "Soumise",
"submittedAt": "2026-10-02T09:15:00.000Z",
"decidedAt": "2026-10-02T09:15:00.000Z",
"comment": null,
"minutes": 2040,
"billableMinutes": 2040,
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z",
"entries": [
{
"id": "0ce7b383-f088-40ba-8004-051a0844830d",
"projectId": "4443a08e-3125-4fd0-85a3-0ee7a29cb8f1",
"taskId": "1dd38ce6-7a60-4c0e-8106-d7f3566fbe71",
"userId": "f17d5cc8-7a3d-4ace-82c4-0d1900c455d5",
"employeeId": "eb505eb3-6377-492e-893e-38ae0032e9c1",
"personName": "Karim Trabelsi",
"timesheetId": "83be251f-b3f3-4f4a-8aad-37c40761c6d9",
"date": "2026-11-17",
"minutes": 90,
"hours": 1.5,
"startedAt": "2026-10-02T09:15:00.000Z",
"endedAt": "2026-10-02T09:15:00.000Z",
"running": true,
"description": null,
"billable": true,
"source": "TIMER",
"status": "DRAFT",
"statusLabel": "Approuvé",
"billRate": 70,
"billAmount": 105,
"currency": "TND",
"rejectReason": null,
"invoice": {
"billingId": "1ea46aa9-31c7-4bba-81e2-92c64d45d675",
"documentId": "e6b2b685-d7c9-4632-8443-c6140f7a3aed",
"documentNumber": "FAC-2026-0031",
"invoicedAt": "2026-10-02T09:15:00.000Z"
},
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
}
]
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Generated from the QuoSuite API OpenAPI contract v1.0.0.