Write Off Time Entries
Disposes of open WIP on time entries with no bill raised, recording one write-off allocation per entry with the given reason. Omit the amount to write off everything still open on each entry; give an amount to spread it pro rata to open WIP (each entry capped at its own); or give explicit per-entry amounts. Written-off entries lock their duration, rate, billability and client.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
Request Body*
{
"timeEntryCodes": [
"string"
],
"amount": 0.01,
"allocations": [
{
"timeEntryCode": "...",
"settledValue": "...",
"billedAmount": "..."
}
],
"writeOffReasonCode": "string",
"notes": "string"
}
Responses
200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key