Resource: AccountTax
The tax settings of a merchant account. All methods require the admin role.
JSON representation |
---|
{
"accountId": string,
"rules": [
{
object ( |
Fields | |
---|---|
account |
Required. The ID of the account to which these account tax settings belong. |
rules[] |
Tax rules. Updating the tax rules will enable "US" taxes (not reversible). Defining no rules is equivalent to not charging tax at all. |
kind |
Identifies what kind of resource this is. Value: the fixed string " |
AccountTaxTaxRule
Tax calculation rule to apply in a state or province (US only).
JSON representation |
---|
{ "country": string, "locationId": string, "useGlobalRate": boolean, "ratePercent": string, "shippingTaxed": boolean } |
Fields | |
---|---|
country |
Country code in which tax is applicable. |
location |
Required. State (or province) is which the tax is applicable, described by its location ID (also called criteria ID). |
use |
Whether the tax rate is taken from a global tax table or specified explicitly. |
rate |
Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative. |
shipping |
If true, shipping charges are also taxed. |
Methods |
|
---|---|
|
Retrieves and updates tax settings of multiple accounts in a single request. |
|
Retrieves the tax settings of the account. |
|
Lists the tax settings of the sub-accounts in your Merchant Center account. |
|
Updates the tax settings of the account. |