Update Tax Rate

PATCH {{baseUrl}}/accounting/tax-rates/:id?raw=false

Update Tax Rate

Request Params

KeyDatatypeRequiredDescription
rawbooleanInclude raw response. Mostly used for debugging purposes

Request Body

{"id"=>"1234", "name"=>"{{tax-rateName}}", "code"=>"BTA", "description"=>"Reduced rate GST Purchases", "effective_tax_rate"=>10, "total_tax_rate"=>10, "original_tax_rate_id"=>"12345", "status"=>"active", "row_version"=>"{{taxRateRowVersion}}", "subsidiaries"=>[{"id"=>"laboris ven"}, {"id"=>"commodo dolor deserunt pariatur ullamco"}], "custom_fields"=>[{"id"=>"2389328923893298", "name"=>"employee_level", "description"=>"Employee Level", "value"=>"Uses Salesforce and Marketo"}, {"id"=>"2389328923893298", "name"=>"employee_level", "description"=>"Employee Level", "value"=>"Uses Salesforce and Marketo"}]}

HEADERS

KeyDatatypeRequiredDescription
x-apideck-consumer-idstring(Required) ID of the consumer which you want to get or push data from
x-apideck-app-idstring(Required) The ID of your Unify application
x-apideck-service-idstringProvide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"status_code":200,"status":"OK","service":"xero","resource":"tax-rates","operation":"update","data":{"id":"12345"}}