AccountTax

Apply a tax rules preset

POST
/v1/account/tax/presets/{name}

A one-click starting point for the tax rules engine (issue #341), built from your home country and home state or region (PATCH /account/billing); set those first. Replaces the whole rule list. A starting point, not tax advice: check it with whoever handles your tax before relying on it.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Path Parameters

name*string
Value in"eu""uk""in""none"

Response Body

Success

application/json
  1. response

Success

data*array<>
curl -X POST "https://example.com/v1/account/tax/presets/eu"
{  "data": [    {      "country": "DE",      "region": "Karnataka",      "business": "required",      "components": [        {          "name": "VAT",          "rateBps": 2000        }      ],      "reverseCharge": true    }  ]}