Developers
Reference · Projects

Time entries

List time entries #

GET/api/public/v1/quosuite/projects/time-entries
Scope : project_time:readlistProjectTimeEntries

Filter by project, task, person (userId or employeeId), timesheet, status, billable and period. For a payroll or billing export: status=APPROVED,INVOICED. Allowed sort: date, createdAt, updatedAt (default -date).

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • pagenumberquery

    Page number (starting at 1).

  • pageSizenumberquery

    Items per page (100 at most).

  • sortstringquery

    Sort: comma-separated fields, - prefix for descending order. Allowed fields: see the route description. A final criterion on id makes pagination stable.

  • updatedSincestringquery

    Only returns items created or updated since this instant (ISO 8601, inclusive). With sort=updatedAt, this is the recommended form of an incremental sync.

  • cursorstringquery

    Cursor pagination: nextCursor of 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 with page.

  • limitnumberquery

    Cursor pagination: items per page (100 at most). ?limit=100 starts a cursor walk; the response returns pagination.nextCursor.

  • projectIdstring (uuid)query
  • taskIdstring (uuid)query
  • userIdstring (uuid)query
  • employeeIdstring (uuid)query
  • timesheetIdstring (uuid)query
  • statusstring[]query

    Statuses, comma-separated (APPROVED,INVOICED).

  • billablebooleanquery
  • dateFromstringquery

    Worked day from (inclusive).

  • dateTostringquery

    Worked day until (inclusive).

Response 200application/json

Success.

  • itemsProjectTimeEntryDto[]required
    ProjectTimeEntryDto details
  • paginationPaginationDtorequired
    PaginationDto 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.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/projects/time-entries' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "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"
      }
    ],
    "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

Log a time entry #

POST/api/public/v1/quosuite/projects/time-entries
Scope : project_time:writeIdempotentcreateProjectTimeEntry

For a member of the project’s team (userId or employeeId), a duration (minutes) or a range (startedAt, endedAt). Same checks as on screen: no overlapping ranges (PROJECT_TIME_OVERLAP), 24 h per day (PROJECT_TIME_DAY_FULL), nothing in the future (PROJECT_TIME_FUTURE) nor on an archived or cancelled project (PROJECT_TIME_PROJECT_CLOSED), task of the project (PROJECT_TIME_TASK_OTHER_PROJECT), member of the team (PROJECT_TIME_NOT_MEMBER). The hourly price is resolved and frozen; the entry is born a draft in the week’s timesheet, to be submitted then approved in the application. Always with Idempotency-Key: a retry never counts the same time twice.

Parameters

  • Idempotency-Keystringheader

    Idempotency key (1–255 printable ASCII characters, UUID v4 recommended). A retry with the same key and the same body within 24 h replays the response of the first successful call (header Idempotent-Replayed: true) instead of creating a second time. Same key, different body: 422 IDEMPOTENCY_KEY_REUSED. First call still in progress: 409 IDEMPOTENCY_IN_PROGRESS.

Request body application/json

  • projectIdstring (uuid)required
  • taskIdstring (uuid) | null

    Task of the same project; omitted: time on the project.

  • userIdstring (uuid)

    Person (account) — userId or employeeId required.

  • employeeIdstring (uuid)

    Person (HR employee, with or without an account).

  • datestringrequired

    Worked day (not in the future).

    e.g.2026-11-17
  • minutesnumber

    Duration; otherwise deduced from the range.

    min.1max.1440e.g.90
  • startedAtstring

    Range start (checked against overlaps).

    e.g.2026-11-17T08:00:00Z
  • endedAtstring
    e.g.2026-11-17T09:30:00Z
  • descriptionstring
  • billableboolean

    Default: true on a billable project.

Response 201application/json

Created.

  • idstring (uuid)required
  • projectIdstring (uuid)required
  • taskIdstring (uuid) | null
  • userIdstring (uuid) | null
  • employeeIdstring (uuid) | null
  • personNamestringrequired
    e.g.Karim Trabelsi
  • timesheetIdstring (uuid)required
  • datestringrequired
    e.g.2026-11-17
  • minutesnumberrequired
    e.g.90
  • hoursnumberrequired
    e.g.1.5
  • startedAtstring | null
  • endedAtstring | null
  • runningbooleanrequired

    Timer running.

  • descriptionstring | null
  • billablebooleanrequired
  • sourcestringrequired
    valuesTIMERMANUALTIMESHEET
  • statusstringrequired
    valuesDRAFTSUBMITTEDAPPROVEDREJECTEDINVOICED
  • statusLabelstringrequired
    e.g.Approuvé
  • billRatenumber | null

    Frozen hourly price excl. tax (project currency).

    e.g.70
  • billAmountnumberrequired

    Billable value of the time, excl. tax.

    e.g.105
  • currencystringrequired
    e.g.TND
  • rejectReasonstring | null

    Reason of a rejected entry.

  • invoiceProjectTimeInvoiceDto | null

    Billing that carries this time.

    ProjectTimeInvoiceDto details
  • createdAtstringrequired
  • updatedAtstringrequired

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.

402PLAN_QUOTA_EXCEEDEDFEATURE_NOT_INCLUDEDMODULE_NOT_INCLUDED

Subscription plan limit or option (monthly document quota, multi-currency…).

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.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

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.

Request example
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/projects/time-entries' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY" \
  -H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
  -H 'Content-Type: application/json' \
  -d '{
  "projectId": "e5dc6ac7-0d0d-4826-843a-7150663c3209",
  "date": "2026-11-17"
}'
Response example
{
  "success": true,
  "data": {
    "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"
}

Get a time entry #

GET/api/public/v1/quosuite/projects/time-entries/{id}
Scope : project_time:readgetProjectTimeEntry

Parameters

  • idstring (uuid)pathrequired
  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar

Response 200application/json

Success.

  • idstring (uuid)required
  • projectIdstring (uuid)required
  • taskIdstring (uuid) | null
  • userIdstring (uuid) | null
  • employeeIdstring (uuid) | null
  • personNamestringrequired
    e.g.Karim Trabelsi
  • timesheetIdstring (uuid)required
  • datestringrequired
    e.g.2026-11-17
  • minutesnumberrequired
    e.g.90
  • hoursnumberrequired
    e.g.1.5
  • startedAtstring | null
  • endedAtstring | null
  • runningbooleanrequired

    Timer running.

  • descriptionstring | null
  • billablebooleanrequired
  • sourcestringrequired
    valuesTIMERMANUALTIMESHEET
  • statusstringrequired
    valuesDRAFTSUBMITTEDAPPROVEDREJECTEDINVOICED
  • statusLabelstringrequired
    e.g.Approuvé
  • billRatenumber | null

    Frozen hourly price excl. tax (project currency).

    e.g.70
  • billAmountnumberrequired

    Billable value of the time, excl. tax.

    e.g.105
  • currencystringrequired
    e.g.TND
  • rejectReasonstring | null

    Reason of a rejected entry.

  • invoiceProjectTimeInvoiceDto | null

    Billing that carries this time.

    ProjectTimeInvoiceDto details
  • createdAtstringrequired
  • updatedAtstringrequired

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.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/projects/time-entries/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "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.