Get Tax Rate

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

Get Tax Rate. Note: Not all connectors return the actual rate/percentage value. In this case, only the tax code or reference is returned. Support will soon be added to return the actual rate/percentage by doing additional calls in the background to provide the full view of a given tax rate. Connectors Affected: Quickbooks

Request Params

KeyDatatypeRequiredDescription
rawbooleanInclude raw response. Mostly used for debugging purposes
fieldsstringThe 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: fields=name,email,addresses.city<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
cursornull
pass_through[search]null

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.
Acceptstring

RESPONSES

status: OK

{&quot;status_code&quot;:200,&quot;status&quot;:&quot;OK&quot;,&quot;service&quot;:&quot;xero&quot;,&quot;resource&quot;:&quot;tax-rates&quot;,&quot;operation&quot;:&quot;one&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;1234&quot;,&quot;name&quot;:&quot;GST on Purchases&quot;,&quot;code&quot;:&quot;ABN&quot;,&quot;description&quot;:&quot;Reduced rate GST Purchases&quot;,&quot;effective_tax_rate&quot;:10,&quot;total_tax_rate&quot;:10,&quot;tax_payable_account_id&quot;:&quot;123456&quot;,&quot;tax_remitted_account_id&quot;:&quot;123456&quot;,&quot;components&quot;:[{&quot;id&quot;:&quot;10&quot;,&quot;name&quot;:&quot;GST&quot;,&quot;rate&quot;:10,&quot;compound&quot;:true},{&quot;id&quot;:&quot;10&quot;,&quot;name&quot;:&quot;GST&quot;,&quot;rate&quot;:10,&quot;compound&quot;:true}],&quot;type&quot;:&quot;NONE&quot;,&quot;report_tax_type&quot;:&quot;NONE&quot;,&quot;original_tax_rate_id&quot;:&quot;12345&quot;,&quot;status&quot;:&quot;active&quot;,&quot;custom_mappings&quot;:{},&quot;row_version&quot;:&quot;1-12345&quot;,&quot;updated_by&quot;:&quot;12345&quot;,&quot;created_by&quot;:&quot;12345&quot;,&quot;updated_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;,&quot;created_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;,&quot;subsidiaries&quot;:[{&quot;id&quot;:&quot;am&quot;},{&quot;id&quot;:&quot;et culpa exercitation&quot;}],&quot;custom_fields&quot;:[{&quot;id&quot;:&quot;2389328923893298&quot;,&quot;name&quot;:&quot;employee_level&quot;,&quot;description&quot;:&quot;Employee Level&quot;,&quot;value&quot;:&quot;Uses Salesforce and Marketo&quot;},{&quot;id&quot;:&quot;2389328923893298&quot;,&quot;name&quot;:&quot;employee_level&quot;,&quot;description&quot;:&quot;Employee Level&quot;,&quot;value&quot;:&quot;Uses Salesforce and Marketo&quot;}]}}