---
title: "Get a tax code · Taxes · COUNT Partner API"
description: "Returns one tax code by UUID. GET /partners/taxes/{uuid}"
canonical: "https://developers.getcount.com/reference/taxes/get-tax"
source: "https://developers.getcount.com/reference/taxes/get-tax"
---
[Taxes](https://developers.getcount.com/reference/taxes) / Get a tax code

# Get a tax code

GET `/partners/taxes/{uuid}`

Returns one tax code by UUID.

HMAC signature + Bearer access token

[Try this request](https://developers.getcount.com/tools/try-it?method=GET&path=%2Fpartners%2Ftaxes%2F%7Buuid%7D)

[Transactions API](https://developers.getcount.com/reference/transactions) [Invoices API](https://developers.getcount.com/reference/invoices) [Bills API](https://developers.getcount.com/reference/bills)

#### Path parameters

`uuid` uuid required

The tax UUID, the `id` from List tax codes.

#### Responses

`200` The tax code.

`404` No tax code with that UUID in the workspace, or it has been deleted.

`401` Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-401)

`403` The credential does not have access to this workspace or resource. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-403)

`429` Rate limit exceeded (100 requests per minute per user of each app, or 10,000 per minute per app). Retry after the Retry-After header. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-429)

[Previous GET List tax codes](https://developers.getcount.com/reference/taxes/list-taxes) [Next POST Create a tax code](https://developers.getcount.com/reference/taxes/create-tax)

GET `https://api.getcount.com/partners/taxes/{uuid}`

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 ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;

const method = 'GET';
const signingPath = '/taxes/3f6c2a1e-8b4d-4e7a-9c2f-1d5e8a7b6c40';
const timestamp = Math.floor(Date.now() / 1000).toString();
const bodyString = '';

const bodyHash = '';
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');

const response = await fetch(`${BASE_URL}/partners/taxes/3f6c2a1e-8b4d-4e7a-9c2f-1d5e8a7b6c40`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    Authorization: `Bearer ${ACCESS_TOKEN}`,
  },
});

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

Response · 200

```json
{
  "status": "success",
  "message": "Success on finding tax",
  "data": {
    "tax": {
      "id": "3f6c2a1e-8b4d-4e7a-9c2f-1d5e8a7b6c40",
      "name": "CA Sales Tax",
      "percentage": "7.2500",
      "type": "Sales Tax",
      "description": "California state sales tax",
      "enabled": true,
      "editable": true,
      "systemCreated": false,
      "country": "US",
      "state": "CA",
      "county": null,
      "city": null,
      "zipCode": null,
      "locationCode": null
    }
  }
}
```
