Update Tax Classes
post
/config/sim/v1/sales/updatetaxclasses
Updates the tax class. If tax class is not found, it creates a new tax class.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef(optional): string(string)
Detail that Identifies that who made the change
-
Simphony-OrgShortName: string(string)
Org Identifier
Tax Class object of the organization
Root Schema : TaxClass
Type:
object
Model for Tax Class Object
Show Source
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
2
-
hierUnitName(optional):
object TranslatedString_HierUnitName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the hierarchy unit configured languages
-
hierUnitObjNum(optional):
integer
Object number of the hierarchy unitExample:
1
-
name:
object TranslatedString_Name
A group of string objects representing the name of the tax in configured languages
-
objectNum:
integer
Object Number of the family groupExample:
1
-
taxes(optional):
array taxes
An array of taxes configured for the tax class
Nested Schema : TranslatedString_HierUnitName
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
"en-US":"Enterprise",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}
Nested Schema : TranslatedString_Name
Type:
object
A group of string objects representing the name of the tax in configured languages
Example:
{
"en-US":"Family Group 1",
"es-SS":"Grupo familiar 1",
"lt=LT":"1 ??eimos grup??"
}
Nested Schema : items
Type:
Show Source
object
-
taxObjNum(optional):
integer
Object Number of the taxExample:
1
Response
Supported Media Types
- application/json
200 Response
Tax Class object of the organization
Root Schema : TaxClassResponse
Type:
object
Model for the response
Show Source
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
objectNum:
integer
Object number of the tax classExample:
1
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response body when the request returns an error.
Show Source
-
detail(optional):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid
-
errorDetails(optional):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist
-
o:errorCode(optional):
integer
Error code of the problemExample:
55223
-
status(optional):
integer
HTTP status code.Example:
400
-
title(optional):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR
-
type(optional):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html