Converts billable time entries with open WIP for a single client into billing line items, one per distinct hourly rate or one per entry. With no fee the entries bill at their full billable value. With a fee, the fee is spread across the entries pro rata to their open WIP and the difference is recorded as a write-off (or write-on) with a reason; WIP the fee does not cover is left open or written off per remainderHandling. Explicit per-entry allocations override the pro-rata spread. Users restricted to their own time can only bill their own entries.
Requires: Create on ClientBilling.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
Request Body*
{
"timeEntryCodes": [
"string"
],
"vatRate": "Standard",
"description": "string",
"billingDate": "2024-01-01T00:00:00Z",
"accountingCode": "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