Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Bill Clients Time

POST /tenants/{tenant}/time-entries/bill-clients

Bills several clients' unbilled billable time in one run, resolving each client's entries from the given date window and team member. Clients are billed independently — a result row is returned for every requested client, carrying its own error when that client failed. Entries with no hourly rate cannot be billed and are counted as skipped rather than failing the client. Users restricted to their own time bill their own entries only.

Requires: Create on ClientBilling.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

Request Body*

{
  "clientCodes": [
    "string"
  ],
  "fromDate": "2024-01-01",
  "toDate": "2024-01-01",
  "userCode": "string",
  "description": "string"
}

Responses

200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json