Update a firm time entry
PATCH
/firm-partners/firm/time-entries/{uuid}Updates the fields you send and leaves the rest unchanged.
Send null for `customerUuid`, `projectUuid`, `productServiceUuid` or `taskUuid` to clear it. `peopleUuid` can be changed but not cleared.
HMAC signature only
Path parameters
uuiduuidrequiredFirm time entry UUID.
Request body
peopleUuiduuidStaff person UUID. Cannot be null.
datedateDay the work was done (YYYY-MM-DD).
minutesintegerMinutes worked.
notesstringWhat the time was spent on.
isBillablebooleanWhether the time is billable.
customerUuiduuidCustomer, or null to clear.
projectUuiduuidFirm project, or null to clear.
productServiceUuiduuidService, or null to clear.
taskUuiduuidFirm task, or null to clear.
Responses
200The updated time entry.400A field is invalid, or `peopleUuid` was null.401Missing signing headers, an invalid HMAC signature, or a timestamp more than 5 minutes off. Troubleshoot403The API key is inactive, its scope does not cover this route, or it is limited to selected client workspaces and the route is firm-wide. Troubleshoot404The time entry, or a record it references, does not exist in the firm’s workspace.429Rate limit exceeded (100 requests per minute per firm user of each app, or 10,000 per minute per app). TroubleshootPATCH
https://api.getcount.com/firm-partners/firm/time-entries/{uuid}Request
import crypto from 'node:crypto';
const BASE_URL = 'https://api.getcount.com';
const CLIENT_ID = process.env.COUNT_CLIENT_ID;
const CLIENT_SECRET = process.env.COUNT_CLIENT_SECRET;
const method = 'PATCH';
const signingPath = '/firm/time-entries/6c7d8e9f-0a1b-4c2d-8e3f-4a5b6c7d8e9f';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
"minutes": 120,
"notes": "Payroll reconciliation and review"
};
const bodyString = JSON.stringify(body);
const bodyHash = crypto.createHash('sha256').update(bodyString).digest('hex');
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');
const response = await fetch(`${BASE_URL}/firm-partners/firm/time-entries/6c7d8e9f-0a1b-4c2d-8e3f-4a5b6c7d8e9f`, {
method,
headers: {
'x-client-id': CLIENT_ID,
'x-timestamp': timestamp,
'x-signature': signature,
'Content-Type': 'application/json',
},
body: bodyString,
});
console.log(await response.json());Response · 200
{
"status": "success",
"message": "Time entry updated successfully",
"data": {
"timeEntry": {
"id": "6c7d8e9f-0a1b-4c2d-8e3f-4a5b6c7d8e9f",
"date": "2026-10-20",
"minutes": 90,
"notes": "Payroll reconciliation",
"isBillable": true,
"isBilled": false,
"unitPrice": null,
"people": {
"id": 8812,
"firstName": "Dana",
"lastName": "Okafor",
"email": "dana@northwind.example",
"avatarUrl": null,
"type": "employee"
},
"project": {
"id": 402,
"name": "Harbor Coffee – Monthly close"
},
"customer": {
"id": 9931,
"customer": "Harbor Coffee Co."
},
"productService": {
"id": 77,
"name": "Bookkeeping (hourly)",
"unitPrice": "150.0000",
"pricingMethod": "hourly"
},
"task": {
"id": 120345,
"name": "Q3 sales tax filing"
},
"createdAt": "2026-10-21T10:04:05.000Z",
"updatedAt": "2026-10-21T10:04:05.000Z"
}
}
}