Apply a tax rules preset
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.
apiKeyAuthorizationBearer <token>An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.
name*string"eu""uk""in""none"Success
application/json- 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 } ]}Replace the tax rules PUT
Replaces the whole list, in the order they are tried. There is no id to patch one rule by: send every rule you want to keep. Turns the tax rules engine on for new invoices from now on, ahead of the older `defaultTaxBps`, even when sent empty.
List connected hostnames GET
Every hostname this account has connected to its portal (issue #443).