Add Tax Classes
post
/config/sim/v2/sales/taxClasses
Add the Tax Class to a specified organization.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Tax Class object of the organization
Root Schema : schema
Type:
object
Model for Tax Class Object
Show Source
-
dataExtensions:
array dataExtensions
An array of data extensions for the tax class
-
hierUnitId(required):
integer
Unique reference of the hierarchy unitExample:
2
-
name(required):
object name
Tax Class Name
-
objectNum(required):
integer
Object Number of the family groupExample:
1
-
taxes:
array taxes
An array of taxes configured for the tax class
Nested Schema : dataExtensions
Type:
array
An array of data extensions for the tax class
Show Source
Nested Schema : name
Type:
object
Tax Class Name
Example:
{
"1":"Enterprise",
"2":"Unternehmen",
"3":"Empresa"
}
Nested Schema : items
Type:
Show Source
object
-
columnName:
string
Name of the extension fieldExample:
extension column 1
-
value:
string
Value of the extension fieldExample:
Value1
Nested Schema : items
Type:
Show Source
object
-
taxObjNum:
integer
Object Number of the taxExample:
1
Response
Supported Media Types
- application/json
200 Response
Tax Class Added.
Root Schema : schema
Type:
object
Model for the response
Show Source
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
objectNum:
integer
Object number of the tax classExample:
1