Allows you to create one or more Tax Rates
PUT {{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":"9d2c5e56-fab4-450b-a5ff-d47409508eab","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1555086839080)/","TaxRates":[{"Name":"SDKTax29067","TaxType":"TAX002","ReportTaxType":"INPUT","CanApplyToAssets":true,"CanApplyToEquity":true,"CanApplyToExpenses":true,"CanApplyToLiabilities":true,"CanApplyToRevenue":false,"DisplayTaxRate":2.25,"EffectiveRate":2.25,"Status":"ACTIVE","TaxComponents":[{"Name":"State Tax","Rate":2.25,"IsCompound":false,"IsNonRecoverable":false}]}]}