Update Tax Rates
post
/config/sim/v1/sales/updatetaxrates
Updates the tax. If tax is not found, it creates a new tax.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Tax object of the organization
Root Schema : TaxCURequestBody
Type:
objectModel for TaxObject
Show Source
-
breakpoints:
array breakpoints
An array of breakpoints configured for the tax rate Applicable only if type = 1
-
effGrpObjNum:
integer
Object number of the effectivity group associated with the tax rateExample:
1 -
hierUnitId(required):
integer
Unique reference of the hierarchy unitExample:
2 -
name(required):
object name
Name
-
objectNum(required):
integer
Object Number of the tax rateExample:
1 -
percent:
number
The tax percentage for the tax rateExample:
1 -
repeatEnd:
integer
The field (1-32) when the incrementing pattern ends. Applicable only if type =1Example:
32 -
repeatStart:
integer
The field (1-32) when the incrementing pattern begins. Applicable only if type =1Example:
1 -
reportGroup:
integer
The report group number (0-99) for the Tax Rate. If set to 0, the tax rate does not appear on the reports.Example:
0 -
start:
number
Taxable sales amount that must be reached in a transaction before the tax rate is appliedExample:
0.5 -
taxLabel:
string
Tax Code for the tax rateExample:
aaa -
type:
integer
Tax Rate Type
Type Type Description 0 Disabled for Tax Rates that are not in use. 1 Add On Breakpoint 2 Add On Percentage 3 Included 4 Surcharge 6 Add on, Excludes Start Amount Example:1
Nested Schema : breakpoints
Type:
arrayAn array of breakpoints configured for the tax rate Applicable only if type = 1
Show Source
Nested Schema : name
Type:
objectName
Example:
{
"en-US":"Family Group 1",
"de-DE":"Familiengruppe 1",
"es-MX":"Grupo Familiar 1"
}Nested Schema : items
Type:
Show Source
object-
breakpoint:
integer
Tax BreakpointExample:
1 -
index:
integer
Tax breakpoint indexExample:
1
Response
Supported Media Types
- application/json
200 Response
Tax Rate Updated or Added.
Root Schema : TaxResponse
Type:
objectModel for the response
Show Source
-
effGrpObjNum:
integer
Object number of the effectivity group associated with the tax rateExample:
1 -
hierUnitId:
integer
Unique hierarchy unit valueExample:
1 -
objectNum:
integer
Object number of the tax rateExample:
1