---
title: "Update Tax Rate"
method: PATCH
path: "/accounting/tax-rates/{id}"
tags: ["Tax Rates"]
---

# Update Tax Rate

`PATCH /accounting/tax-rates/{id}`

Update Tax Rate

## Path parameters

- `id` string, required

## Query parameters

- `raw` boolean

## Headers

- `x-apideck-consumer-id` string, required
- `x-apideck-app-id` string, required
- `x-apideck-service-id` string
- `x-apideck-company-id` string

## Request body

- TaxRate
  - `id` string, nullable — ID assigned to identify this tax rate.
  - `display_id` string, nullable — Display ID of the tax rate
  - `name` string — Name assigned to identify this tax rate.
  - `code` string, nullable — Tax code assigned to identify this tax rate.
  - `description` string, nullable — Description of tax rate
  - `effective_tax_rate` number, nullable — Effective tax rate
  - `country` string, nullable — Country code according to ISO 3166-1 alpha-2.
  - `total_tax_rate` number, nullable — Not compounded sum of the components of a tax rate
  - `tax_payable_account_id` string, nullable — Unique identifier for the account for tax collected.
  - `tax_remitted_account_id` string, nullable — Unique identifier for the account for tax remitted.
  - `components` object[], nullable
    - `id` string, nullable
    - `name` string
    - `rate` number, nullable
    - `compound` boolean, nullable
  - `type` string, nullable — Tax type used to indicate the source of tax collected or paid
  - `report_tax_type` string, nullable — Report Tax type to aggregate tax collected or paid for reporting purposes
  - `original_tax_rate_id` string, nullable — ID of the original tax rate from which the new tax rate is derived. Helps to understand the relationship between corresponding tax rate entities.
  - `status` 'active' | 'inactive' | 'archived', nullable — Tax rate status
  - `custom_mappings` CustomMappings, nullable — When custom mappings are configured on the resource, the result is included here.
  - `row_version` string, nullable — A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
  - `updated_by` string, nullable — The user who last updated the object.
  - `created_by` string, nullable — The user who created the object.
  - `updated_at` string, date-time, nullable — The date and time when the object was last updated.
  - `created_at` string, date-time, nullable — The date and time when the object was created.
  - `pass_through` object[] — The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
    - `service_id` string, required — Identifier for the service to which this pass_through should be applied.
    - `operation_id` string — Optional identifier for a workflow operation to which this pass_through should be applied. This is useful for Unify calls that are making more than one downstream request.
    - `extend_object` object — Simple object allowing any properties for direct extension.
    - `extend_paths` object[] — Array of objects for structured data modifications via paths.
      - `path` string, required — JSONPath string specifying where to apply the value.
      - `value` unknown, required
  - `subsidiaries` object[] — The subsidiaries this belongs to.
    - `id` string — The ID of the subsidiary.
  - `custom_fields` CustomField[]
    - union
      - object
        - `id` string, nullable, required — Unique identifier for the custom field.
        - `name` string, nullable — Name of the custom field.
        - `description` string, nullable — More information about the custom field
        - `value` union
          - string, nullable
          - number, nullable
          - boolean, nullable
          - object, nullable
          - union[]
            - union
              - …
      - object
        - `id` string, nullable — Unique identifier for the custom field.
        - `name` string, nullable, required — Name of the custom field.
        - `description` string, nullable — More information about the custom field
        - `value` union
          - string, nullable
          - number, nullable
          - boolean, nullable
          - object, nullable
          - union[]
            - union
              - …

## Response `200`

TaxRate updated

- UpdateTaxRateResponse
  - `status_code` integer, required — HTTP Response Status Code
  - `status` string, required — HTTP Response Status
  - `service` string, required — Apideck ID of service provider
  - `resource` string, required — Unified API resource name
  - `operation` string, required — Operation performed
  - `data` UnifiedId, required — A object containing a unique identifier for the resource that was created, updated, or deleted.
    - `id` string, required — The unique identifier of the resource
  - `_raw` Raw, nullable — Raw response from the integration when raw=true query param is provided

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `404` — The specified resource was not found
- `422` — Unprocessable
- `default` — Unexpected error

---

[API](https://skmtc.net/apideck-libraries/apis/accounting-api.md) · [All operations](https://skmtc.net/apideck-libraries/apis/accounting-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apideck-libraries/accounting-api/versions/33e09b023d02/schema)
