Allows you to update Tax Rates
POST {{baseUrl}}/TaxRates
Request Body
{"TaxRates"=>[{"Name"=>"<string>", "TaxType"=>"<string>", "TaxComponents"=>[{"Name"=>"<string>", "Rate"=>"<double>", "IsCompound"=>"<boolean>", "IsNonRecoverable"=>"<boolean>"}, {"Name"=>"<string>", "Rate"=>"<double>", "IsCompound"=>"<boolean>", "IsNonRecoverable"=>"<boolean>"}], "Status"=>"<string>", "ReportTaxType"=>"<string>"}, {"Name"=>"<string>", "TaxType"=>"<string>", "TaxComponents"=>[{"Name"=>"<string>", "Rate"=>"<double>", "IsCompound"=>"<boolean>", "IsNonRecoverable"=>"<boolean>"}, {"Name"=>"<string>", "Rate"=>"<double>", "IsCompound"=>"<boolean>", "IsNonRecoverable"=>"<boolean>"}], "Status"=>"<string>", "ReportTaxType"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant | |
Content-Type | string |
RESPONSES
status: OK
{"Id":"12f4c453-2e25-41aa-a52f-6faaf6c05832","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1555086839658)/","TaxRates":[{"Name":"SDKTax29067","TaxType":"TAX002","ReportTaxType":"INPUT","CanApplyToAssets":true,"CanApplyToEquity":true,"CanApplyToExpenses":true,"CanApplyToLiabilities":true,"CanApplyToRevenue":false,"DisplayTaxRate":2.25,"EffectiveRate":2.25,"Status":"DELETED","TaxComponents":[{"Name":"State Tax","Rate":2.25,"IsCompound":false,"IsNonRecoverable":false}]}]}