# Delete tax code

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

Endpoint: DELETE /v3/accounting/integration/{integration_id}/tax-codes/{brex_id}
Version: 2026-09-28
Security: bearer, oauth2

## Path parameters:

  - `brex_id` (string, required)

  - `integration_id` (string, required)

## Response 400 fields (application/json):

  - `brex_request_id` (string,null)
    Correlation id for support/debugging. Also returned in the Brex-Request-Id response header.
    Example: "req_0f9c2c8e2c1a4f5e9b3a"

  - `details` (object,null)
    Additional error context and details

  - `error_code` (string,null)
    Machine-readable error code
    Enum: "REIMBURSEMENT_MERCHANT_REQUIRED", "REIMBURSEMENT_SPEND_LIMIT_REQUIRED", "REIMBURSEMENT_TRACKING_CURRENCY_MISMATCH", "REIMBURSEMENT_PAYOUT_CURRENCY_UNSUPPORTED", "REIMBURSEMENT_PURCHASE_DATE_TOO_OLD", "INTERNAL_SERVER_ERROR", "BAD_REQUEST", "INVALID_ID_FORMAT", "CONFLICT", "UNAUTHORIZED", "FORBIDDEN", "NOT_FOUND", "METHOD_NOT_ALLOWED", "SERVICE_UNAVAILABLE", "TOO_MANY_REQUESTS", "ACTIVE_INTEGRATION_EXISTS", "DUPLICATE_ACCOUNTING_RECORD_IDS", "ACCOUNTING_RECORD_NOT_READY_FOR_EXPORT", "INTEGRATION_NOT_ACTIVE", "PAYMENT_INSTRUMENT_NOT_SETUP", "RECEIPT_REQUIRED", "BUDGET_AUTHORIZATION_ERROR", "USER_ALREADY_EXISTS", "ACCOUNTING_FIELD_PROTECTED", "FULL_POLICY_NOT_AVAILABLE", "REQUEST_TIMEOUT", "PAYLOAD_TOO_LARGE", "UNSUPPORTED_MEDIA_TYPE", "UNPROCESSABLE_ENTITY", "INVALID_CARD_ID", "CARD_NOT_FOUND", "INVALID_CARD_STATE", "INVALID_IDEMPOTENCY_KEY", "INVALID_INPUT", "PERMISSION_DENIED", "SPEND_LIMIT_CARD_ALREADY_EXISTS", "SPEND_LIMIT_UNAVAILABLE", "CARDHOLDER_NOT_ELIGIBLE", "USER_DISABLED", "ACCOUNT_AUTOPAY_SETUP_REQUIRED", "ENTITY_BILLING_CONFIGURATION_NOT_FOUND", "ADMIN_ASSISTANCE_REQUIRED", "SUPPORT_ASSISTANCE_REQUIRED", "INVALID_DISPLAY_NAME", "DISPLAY_NAME_UPDATE_NOT_ALLOWED", "CARD_UPDATE_INCOMPLETE"

  - `message` (string,null)
    Human-readable error message
    Example: "The request was invalid or cannot be served"

## Response 409 fields (application/json):

  - `details` (object,null)
    Additional error context

  - `details.current_status` (string)
    Current status of the integration when the error occurred
    Example: "DISABLED"

  - `details.duplicate_accounting_record_ids` (array)
    Accounting record IDs that triggered the error
    Example: ["accr_abc123","accr_def456"]

  - `details.existing_integration_id` (string)
    ID of the existing active integration
    Example: "int_abc123"

  - `details.existing_vendor` (string)
    Vendor of the existing integration
    Example: "ERP_A"

  - `details.integration_id` (string)
    Integration ID associated with the error
    Example: "int_abc123"

  - `details.not_found_export_entry_source_ids` (array)
    Accounting record IDs that could not be found
    Example: ["accr_ghi789"]

  - `details.not_ready_for_export_accounting_record_ids` (array)
    Accounting record IDs that are not ready for export
    Example: ["accr_ghi789"]

  - `details.requested_vendor` (string)
    Vendor that was requested to be created
    Example: "ERP_B"

  - `error_code` (string, required)
    Machine-readable error code
    Enum: "ACTIVE_INTEGRATION_EXISTS", "FORBIDDEN", "INTEGRATION_NOT_ACTIVE", "INTERNAL_ERROR", "INVALID_REQUEST", "NOT_FOUND", "UNAUTHORIZED", "DUPLICATE_ACCOUNTING_RECORD_IDS", "ACCOUNTING_RECORD_NOT_READY_FOR_EXPORT", "VENDOR_ACCOUNT_ID_MISMATCH", "AMORTIZATION_PROVISIONING_FAILED"

  - `message` (string, required)
    Human-readable error message
    Example: "The request is malformed or contains invalid data."


## Response 204 fields
