Update a receipt note
PATCH
/partners/transactions/{uuid}/receipts/{receiptUuid}Changes a receipt's note.
Files cannot be added to an existing receipt; add a new receipt instead.
HMAC signature + Bearer access token
Try this requestPath parameters
uuiduuidrequiredThe transaction UUID.
receiptUuiduuidrequiredThe receipt UUID from List transaction receipts.
Request body
notestringrequiredThe new note, or null to clear it.
Responses
200Note updated.404Transaction or receipt not found.401Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. Troubleshoot403The credential does not have access to this workspace or resource. Troubleshoot429Rate limit exceeded (100 requests per minute per user of each app, or 10,000 per minute per app). Retry after the Retry-After header. TroubleshootPATCH
https://api.getcount.com/partners/transactions/{uuid}/receipts/{receiptUuid}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 ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;
const method = 'PATCH';
const signingPath = '/transactions/3fa85f64-5717-4562-b3fc-2c963f66afa6/receipts/3fa85f64-5717-4562-b3fc-2c963f66afa6';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
"note": "Office groceries, November"
};
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}/partners/transactions/3fa85f64-5717-4562-b3fc-2c963f66afa6/receipts/3fa85f64-5717-4562-b3fc-2c963f66afa6`, {
method,
headers: {
'x-client-id': CLIENT_ID,
'x-timestamp': timestamp,
'x-signature': signature,
'Content-Type': 'application/json',
Authorization: `Bearer ${ACCESS_TOKEN}`,
},
body: bodyString,
});
console.log(await response.json());Response · 200
{
"status": "success",
"message": "Success on updating receipt",
"data": {
"updatedReceipt": {
"id": "f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c",
"note": "Office groceries, November",
"images": [
{
"id": "a3b4c5d6-e7f8-4a9b-8c1d-2e3f4a5b6c7d",
"fileName": "FreshMart receipt 2026-11-12.jpg"
}
],
"createdAt": "2026-01-15T10:30:00.000Z",
"updatedAt": "2026-01-15T10:30:00.000Z"
}
}
}