Updates the employingEntity specific chart of accounts configuration for the business.
POST http:///api/v2/business/{businessId}/chartofaccounts/employingEntity/{employingEntityId}
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| employingEntityId | int32 | Required | |
| businessId | string | Required |
The request body takes a complete UkChartOfAccountsEmployingEntityGroupModel resource, containing the following writable properties:
{
"deductionCategories": [
{
"expenseAccountId": "int32",
"id": "int32",
"liabilityAccountId": "int32",
"name": "string"
}
],
"defaultAccounts": {
"defaultExpenseAccountId": "int32",
"defaultLiabilityAccountId": "int32",
"employeeExpenseAccountId": "int32",
"employerLiabilityExpenseAccountId": "int32",
"employerLiabilityLiabilityAccountId": "int32",
"paymentAccountId": "int32"
},
"employeeExpenseCategories": [
{
"expenseAccountId": "int32",
"id": "int32",
"name": "string"
}
],
"employerLiabilityCategories": [
{
"expenseAccountId": "int32",
"id": "int32",
"liabilityAccountId": "int32",
"name": "string"
}
],
"employingEntityId": "int32",
"payCategories": [
{
"expenseAccountId": "int32",
"id": "int32",
"name": "string"
}
]
}
| Name | Type | Description |
|---|---|---|
| deductionCategories[] | array | |
| deductionCategories[].expenseAccountId | int32 |
Nullable |
| deductionCategories[].id | int32 | Int32 |
| deductionCategories[].liabilityAccountId | int32 |
Nullable |
| deductionCategories[].name | string | String |
| defaultAccounts | object | ChartOfAccountsLocationAccountsModel |
| defaultAccounts.defaultExpenseAccountId | int32 |
Nullable |
| defaultAccounts.defaultLiabilityAccountId | int32 |
Nullable |
| defaultAccounts.employeeExpenseAccountId | int32 |
Nullable |
| defaultAccounts.employerLiabilityExpenseAccountId | int32 |
Nullable |
| defaultAccounts.employerLiabilityLiabilityAccountId | int32 |
Nullable |
| defaultAccounts.paymentAccountId | int32 |
Nullable |
| employeeExpenseCategories[] | array | |
| employeeExpenseCategories[].expenseAccountId | int32 |
Nullable |
| employeeExpenseCategories[].id | int32 | Int32 |
| employeeExpenseCategories[].name | string | String |
| employerLiabilityCategories[] | array | |
| employerLiabilityCategories[].expenseAccountId | int32 |
Nullable |
| employerLiabilityCategories[].id | int32 | Int32 |
| employerLiabilityCategories[].liabilityAccountId | int32 |
Nullable |
| employerLiabilityCategories[].name | string | String |
| employingEntityId | int32 | Int32 |
| payCategories[] | array | |
| payCategories[].expenseAccountId | int32 |
Nullable |
| payCategories[].id | int32 | Int32 |
| payCategories[].name | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK OK |
UkChartOfAccountsEmployingEntityGroupModel |
| 400 | Bad Request Bad Request |
ProblemDetails |
Powered by DapperDox