---
title: "POST /accounttax/batch"
method: POST
path: "/accounttax/batch"
tags: ["accounttax"]
---

# POST /accounttax/batch

`POST /accounttax/batch`

Retrieves and updates tax settings of multiple accounts in a single request.

## Request body

- AccounttaxCustomBatchRequest
  - `entries` AccounttaxCustomBatchRequestEntry[] — The request entries to be processed in the batch.
    - `accountTax` AccountTax — The tax settings of a merchant account. All methods require the admin role.
      - `accountId` string, uint64 — Required. The ID of the account to which these account tax settings belong.
      - `rules` AccountTaxTaxRule[] — Tax rules. Updating the tax rules will enable "US" taxes (not reversible). Defining no rules is equivalent to not charging tax at all.
        - `ratePercent` string — Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative.
        - `country` string — Country code in which tax is applicable.
        - `locationId` string, uint64 — Required. State (or province) is which the tax is applicable, described by its location ID (also called criteria ID).
        - `shippingTaxed` boolean — If true, shipping charges are also taxed.
        - `useGlobalRate` boolean — Whether the tax rate is taken from a global tax table or specified explicitly.
      - `kind` string — Identifies what kind of resource this is. Value: the fixed string "`content#accountTax`".
    - `method` string — The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
    - `accountId` string, uint64 — The ID of the account for which to get/update account tax settings.
    - `batchId` integer — An entry ID, unique within the batch request.
    - `merchantId` string, uint64 — The ID of the managing account.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/content.md) · [All operations](https://skmtc.net/google/apis/content/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/content/versions/1033388fc86f/schema)
