Reference

Events

List timesheet, invoice and purchase order events through the TimeSubmit API to catch up after an outage: every event type and the event's fields.

The event object

What happened to timesheets and invoices, for the last 30 days.

When a timesheet or an invoice moves, TimeSubmit records an event. An event carries its type, when it happened and the record's id, and nothing else: read the record through its own endpoint to see what changed. There is no timesheet endpoint, so for a timesheet the event is what the API tells you: which timesheet, and what happened to it.

{
  "id": "r83e6g9j2m5p8s1u4w7y0b3d6f9h2k5n",
  "type": "invoice.sent",
  "occurredAt": "2026-11-02T10:05:42.118Z",
  "data": {
    "id": "p15v8x2z5b9d3f7h1k4m6q0s3u5w8y2a"
  }
}

Every field below is in every answer. A required field always has a value; a nullable one is null when it has none. More fields may be added within /v1, so have your code ignore any it doesn't recognise.

Fields of the event object
FieldTypeAbout it
id requiredstringThe event's id. A webhook delivery's webhook-id is the same, so a repeat can be dropped.
type requiredstringWhat happened. One of 22 values.
Show values

timesheet.submitted, timesheet.approved, timesheet.rejected, invoice.raised, invoice.sent, invoice.paid, invoice.discarded, invoice.rejected, client_purchase_order.created, client_purchase_order.changed, client_purchase_order.closed, client_purchase_order.deleted, client_purchase_order.budget_near, client_purchase_order.budget_used, client_purchase_order.ending, consultant_purchase_order.created, consultant_purchase_order.changed, consultant_purchase_order.closed, consultant_purchase_order.deleted, consultant_purchase_order.budget_near, consultant_purchase_order.budget_used, consultant_purchase_order.ending

occurredAt requiredtime (ISO 8601)When it happened.
data requiredobjectThe record it happened to.
Show the 1 fields of data
Fields of data
FieldTypeAbout it
data.id requiredstringThe timesheet's, the invoice's or the purchase order's id.

This list can grow within /v1, so ignore any you don't recognise rather than failing on it. See versioning.

Event types

Event types
TypeRecorded when
timesheet.submittedA consultant submitted a timesheet for approval.
timesheet.approvedA timesheet was finally approved, once: by a consultancy admin, by its last approver where the consultancy has chosen that, or by an admin override. An approver signing off a step that is not the last is not this event.
timesheet.rejectedA timesheet was rejected, by an admin or by one of its approvers.
invoice.raisedAn invoice was raised, of either kind. A consultant's time in more than one currency is raised as one payable per currency, each with its own event.
invoice.sentAn invoice was marked as sent.
invoice.paidAn invoice was marked as paid.
invoice.discardedAn invoice was discarded.
invoice.rejectedThe consultancy rejected a consultant's invoice it had been sent, with a reason. Its weeks can be invoiced again.
client_purchase_order.createdA client purchase order was recorded.
client_purchase_order.changedA client purchase order's number, dates, budget or projects were changed.
client_purchase_order.closedA client purchase order was closed.
client_purchase_order.deletedA client purchase order was deleted. Its id no longer reads.
client_purchase_order.budget_nearInvoiced plus committed on a client purchase order reached the consultancy's nearly-used percentage of its budget, 85% unless the consultancy changed it. Recorded once by the daily check, and again after its budget is changed, or after the consultancy changes its nearly-used percentage while the purchase order is past the new one.
client_purchase_order.budget_usedA client purchase order reached 100% of its budget, invoiced plus committed. Recorded once by the daily check, and again only after its budget is changed. A change of the nearly-used percentage never repeats it.
client_purchase_order.endingA client purchase order is 30 days or fewer from its end date. Recorded once by the daily check, and again only after its end date is changed.
consultant_purchase_order.createdA consultant purchase order was recorded.
consultant_purchase_order.changedA consultant purchase order's number, dates, budget or assignments were changed.
consultant_purchase_order.closedA consultant purchase order was closed.
consultant_purchase_order.deletedA consultant purchase order was deleted. Its id no longer reads.
consultant_purchase_order.budget_nearInvoiced plus committed on a consultant purchase order reached the consultancy's nearly-used percentage of its budget, 85% unless the consultancy changed it. Recorded once by the daily check, and again after its budget is changed, or after the consultancy changes its nearly-used percentage while the purchase order is past the new one.
consultant_purchase_order.budget_usedA consultant purchase order reached 100% of its budget, invoiced plus committed. Recorded once by the daily check, and again only after its budget is changed. A change of the nearly-used percentage never repeats it.
consultant_purchase_order.endingA consultant purchase order is 30 days or fewer from its end date. Recorded once by the daily check, and again only after its end date is changed.

This list can grow within /v1, so ignore any you don't recognise rather than failing on it. See versioning.

Catching up

Events are kept for 30 days. GET /events?since= lists them oldest first, from the time you give: pass the occurredAt of the last event you handled to catch up after an outage, and drop the one repeat by its id. The same events are sent to your webhook endpoints as they happen.

Operations

GET /events

List events. Timesheet, invoice and purchase order events, oldest first, from since or the start of the 30 days kept. Use it to catch up after a webhook outage. Needs the events:read scope. Succeeds with 200, a page of them.

Query parameters of List events
Query parameterTypeAbout it
since optionaltime (ISO 8601)Only events at or after this time.
limit optionalintegerHow many to a page, 1 to 100. 25 when absent. From 1 to 100.
cursor optionalstringThe nextCursor from the page before.

Example request. The key is read from TIMESUBMIT_API_KEY:

curl 'https://www.timesubmit.com/api/v1/events' \
  -H "Authorization: Bearer $TIMESUBMIT_API_KEY"

Example response, with status 200:

{
  "data": [
    {
      "id": "r83e6g9j2m5p8s1u4w7y0b3d6f9h2k5n",
      "type": "invoice.sent",
      "occurredAt": "2026-11-02T10:05:42.118Z",
      "data": {
        "id": "p15v8x2z5b9d3f7h1k4m6q0s3u5w8y2a"
      }
    }
  ],
  "nextCursor": "eyJjcmVhdGVkQXQiOjE3NjQwNjA4MDB9"
}

The error codes it can answer with:

  • unauthorised (401)
  • api_not_included (403)
  • insufficient_scope (403)
  • invalid_request (400)
  • rate_limited (429)