API Docs / Operations / Time Tracking / Write Off Time Entries

Write Off Time Entries

POST /tenants/{tenant}/time-entries/write-off

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

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

{
  "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