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

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant
Content-Typestring

RESPONSES

status: OK

{&quot;Id&quot;:&quot;12f4c453-2e25-41aa-a52f-6faaf6c05832&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1555086839658)/&quot;,&quot;TaxRates&quot;:[{&quot;Name&quot;:&quot;SDKTax29067&quot;,&quot;TaxType&quot;:&quot;TAX002&quot;,&quot;ReportTaxType&quot;:&quot;INPUT&quot;,&quot;CanApplyToAssets&quot;:true,&quot;CanApplyToEquity&quot;:true,&quot;CanApplyToExpenses&quot;:true,&quot;CanApplyToLiabilities&quot;:true,&quot;CanApplyToRevenue&quot;:false,&quot;DisplayTaxRate&quot;:2.25,&quot;EffectiveRate&quot;:2.25,&quot;Status&quot;:&quot;DELETED&quot;,&quot;TaxComponents&quot;:[{&quot;Name&quot;:&quot;State Tax&quot;,&quot;Rate&quot;:2.25,&quot;IsCompound&quot;:false,&quot;IsNonRecoverable&quot;:false}]}]}