---
title: "Make a person an expense reporter · People · Practice Manager API · COUNT Partner API"
description: "Gives the person the expense reporting role and the accounts they spend from. POST /firm-partners/workspace/people/{uuid}/expense-reporter"
canonical: "https://developers.getcount.com/practice-manager/reference/people/add-expense-reporter"
source: "https://developers.getcount.com/practice-manager/reference/people/add-expense-reporter"
---
[People](https://developers.getcount.com/practice-manager/reference/people) / Make a person an expense reporter

# Make a person an expense reporter

POST `/firm-partners/workspace/people/{uuid}/expense-reporter`

Gives the person the expense reporting role and the accounts they spend from.

The accounts replace any already linked to the person. The person needs an email address, and the role can add a billed seat.

HMAC signature only

[Time Entries API](https://developers.getcount.com/practice-manager/reference/time-entries) [Chart of Accounts API](https://developers.getcount.com/practice-manager/reference/chart-of-accounts) [Tasks API](https://developers.getcount.com/practice-manager/reference/tasks)

#### Headers

`count-workspace-id` uuid required

UUID of the client workspace to act on. It must be one of your firm's client workspaces (or the firm's own workspace) and within the API key's client workspaces.

#### Path parameters

`uuid` uuid required

The person UUID, the `id` from List people.

#### Request body

`accountUuids` array required

1 to 200 transacting account UUIDs (`isPhysicalAccount: true` in List accounts). Any other account is refused with 400.

#### Responses

`200` The person is an expense reporter. `data.result` lists their account links.

`400` No accounts, an account that is not a transacting account, or a person without an email.

`401` Missing signing headers, an invalid HMAC signature, or a timestamp more than 5 minutes off. [Troubleshoot](https://developers.getcount.com/practice-manager/authentication#errors)

`403` The key is inactive or its scope does not allow this request, the workspace is not managed by your firm or is outside the key's client workspaces, the workspace has no active subscription, or it is portal-only and the route needs bookkeeping. [Troubleshoot](https://developers.getcount.com/practice-manager/authentication#errors)

`404` Person or account not found.

`429` Rate limit exceeded (100 requests per minute per firm user of each app, or 10,000 per minute per app). [Troubleshoot](https://developers.getcount.com/practice-manager/authentication#errors)

[Previous POST Resend the payroll onboarding email](https://developers.getcount.com/practice-manager/reference/people/resend-payroll-onboarding-email) [Next DELETE Remove a person as an expense reporter](https://developers.getcount.com/practice-manager/reference/people/remove-expense-reporter)

POST `https://api.getcount.com/firm-partners/workspace/people/{uuid}/expense-reporter`

Request

```javascript
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 = 'POST';
const signingPath = '/workspace/people/f1a2b3c4-d5e6-4789-a012-3456789abcde/expense-reporter';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "accountUuids": [
    "0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b"
  ]
};
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/workspace/people/f1a2b3c4-d5e6-4789-a012-3456789abcde/expense-reporter`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'Content-Type': 'application/json',
    'count-workspace-id': '5e4d3c2b-1a09-4f8e-8d7c-6b5a49382716',
  },
  body: bodyString,
});

console.log(await response.json());
```
