---
title: "Delete tax code"
method: DELETE
path: "/v3/accounting/integration/{integration_id}/tax-codes/{brex_id}"
tags: ["Accounting VAT"]
---

# Delete tax code

`DELETE /v3/accounting/integration/{integration_id}/tax-codes/{brex_id}`

## Request

- Base URL: `https://api.brex.com`
- URL: `https://api.brex.com/v3/accounting/integration/{integration_id}/tax-codes/{brex_id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://accounts-api.brex.com/oauth2/default/v1/authorize`
    - Token URL: `https://accounts-api.brex.com/oauth2/default/v1/token` scopes: `accounting.integration.write`
- TypeScript: <https://skmtc.dev/brex-com/apis/accounting-api/docs/v3/accounting/integration/:integration_id/tax-codes/:brex_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a tax code entirely (across all subsidiaries). Fails if the code belongs to a tax group.

## Path parameters

- `brex_id` string, required
- `integration_id` string, required

## Response `204`

Tax code deleted

## Other responses

- `400`: The request is invalid.
- `401`: The bearer token is missing or rejected.
- `403`: The token does not have a required scope.
- `409`: Tax code belongs to a tax group

## Changes

- **2026-11-06** `abca76caa09d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brex-com/apis/accounting-api/changes/v3/accounting/integration/:integration_id/tax-codes/:brex_id/delete.md)

---

[API](https://skmtc.dev/brex-com/apis/accounting-api.md) - [All operations](https://skmtc.dev/brex-com/apis/accounting-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brex-com/apis/accounting-api/revisions/abca76caa09d?raw)
