Payroll | Deduction
Service to manage entities of type 'Deduction'.
Overview
| URL | api/{tenantKey}/{orgKey}/payrollCore/deductions |
| Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
-
PUT:
- PUT Set IsActive Deduction
- PUT Set DeductionKey Deduction
- PUT Set Name Deduction
- PUT Set IsMandatory Deduction
- PUT Set ContrTaxBracket Deduction
- PUT Set IsEditableContrTaxBracket Deduction
- PUT Set Entity Deduction
- PUT Set Policy Deduction
- PUT Set TagView Deduction
- PUT Set DeductionAccountType Deduction
- PUT Set PaymentMethod Deduction
- PUT Set PaymentTerm Deduction
- PUT Set StartPeriod PeriodDeduction
- PUT Set EndPeriod PeriodDeduction
- PUT Set DeductionValueKind PeriodDeduction
- PUT Set AppliesEmployee PeriodDeduction
- PUT Set EmployeeValue PeriodDeduction
- PUT Set EmployeePercentage PeriodDeduction
- PUT Set EmployeeFormulaValue PeriodDeduction
- PUT Set EmployeeMinValue PeriodDeduction
- PUT Set EmployeeMaxValue PeriodDeduction
- PUT Set AppliesCompany PeriodDeduction
- PUT Set CompanyValue PeriodDeduction
- PUT Set CompanyPercentage PeriodDeduction
- PUT Set CompanyFormulaValue PeriodDeduction
- PUT Set CompanyMinValue PeriodDeduction
- PUT Set CompanyMaxValue PeriodDeduction
- PUT Set Currency PeriodDeduction
- PUT Set EmployeeFormulaPercentage PeriodDeduction
- PUT Set CompanyFormulaPercentage PeriodDeduction
- PUT Set Tag DeductionTag
- DELETE:
All Resources
This service uses the following resources:
- ApiDeductionPeriodDeductionsResource
- ApiDeductionResource
- ApiDeductionTagsResource
- DeductionResource
- DeductionTagResource
- MoneyResource
- PeriodDeductionResource
All Enumerations
This service uses the following enumerations:
GET Deductions
Returns the list of all the entity records available.
Response:
| When successful, the response body contains the list of records available. See DeductionResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET Deductions (paged)
Returns a page of the list of all the entity records available.
The following elements are optional:
| page | (int) The index of the page of the list that should be returned. This is a query string parameter. |
| pageSize | (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter. |
Response:
| When successful, the response body contains the list of records available. See DeductionResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET Deduction by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
| id | (string) The record identifier. |
Response:
| When successful, the response body contains the entity record. See DeductionResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET Deduction by key
Returns the entity record that matches the specified key.
The following elements are required:
| deductionKey | (string) Deduction. |
Response:
| When successful, the response body contains the entity record. See DeductionResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET Print Deduction by identifier
Prints the specified entity record.
The following elements are required:
| id | (string) The record identifier. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Print Deduction by key
Prints the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET Original Print DeductionOriginal by identifier
Prints the specified entity record.
The following elements are required:
| id | (string) The record identifier. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Original Print Deduction by key
Prints the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET Get Mandatory Deductions
Custom operation 'GetMandatoryDeductions'.
Response:
| When successful, the response body contains a list of resources of type 'DeductionResource'. See DeductionResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET Get Deductions By Entity
Custom operation 'GetDeductionsByEntity'.
The following elements are required:
| entityKey | (IEnumerable |
Response:
| When successful, the response body contains a list of unique identifiers. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Deductions
Creates a new entity record.
The following elements are required:
| deductionResource | (ApiDeductionResource) The request body should contain the entity record that should be created. See ApiDeductionResource. |
Response:
| When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiDeductionResource. |
Response status codes:
| 201 | Created. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Deduction
Inserts a new 'Period Deduction' in the 'Deduction'.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (ApiDeductionPeriodDeductionsResource) The ApiDeductionPeriodDeductionsResource instance. See ApiDeductionPeriodDeductionsResource. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Deduction
Inserts a new 'Deduction Tag' in the 'Deduction'.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (ApiDeductionTagsResource) The ApiDeductionTagsResource instance. See ApiDeductionTagsResource. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AppliesCompany PeriodDeduction
Updates the value of attribute 'AppliesCompany' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AppliesEmployee PeriodDeduction
Updates the value of attribute 'AppliesEmployee' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CompanyFormulaPercentage PeriodDeduction
Updates the value of attribute 'CompanyFormulaPercentage' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CompanyFormulaValue PeriodDeduction
Updates the value of attribute 'CompanyFormulaValue' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CompanyMaxValue PeriodDeduction
Updates the value of attribute 'CompanyMaxValue' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CompanyMinValue PeriodDeduction
Updates the value of attribute 'CompanyMinValue' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CompanyPercentage PeriodDeduction
Updates the value of attribute 'CompanyPercentage' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CompanyValue PeriodDeduction
Updates the value of attribute 'CompanyValue' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ContrTaxBracket Deduction
Updates the value of attribute 'ContrTaxBracket' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency PeriodDeduction
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DeductionAccountType Deduction
Updates the value of attribute 'DeductionAccountType' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DeductionKey Deduction
Updates the value of attribute 'DeductionKey' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DeductionValueKind PeriodDeduction
Updates the value of attribute 'DeductionValueKind' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (enum DeductionValueKind) The request body should contain the new value for the attribute. See DeductionValueKind. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set EmployeeFormulaPercentage PeriodDeduction
Updates the value of attribute 'EmployeeFormulaPercentage' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set EmployeeFormulaValue PeriodDeduction
Updates the value of attribute 'EmployeeFormulaValue' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set EmployeeMaxValue PeriodDeduction
Updates the value of attribute 'EmployeeMaxValue' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set EmployeeMinValue PeriodDeduction
Updates the value of attribute 'EmployeeMinValue' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set EmployeePercentage PeriodDeduction
Updates the value of attribute 'EmployeePercentage' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set EmployeeValue PeriodDeduction
Updates the value of attribute 'EmployeeValue' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set EndPeriod PeriodDeduction
Updates the value of attribute 'EndPeriod' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Entity Deduction
Updates the value of attribute 'Entity' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive Deduction
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set IsEditableContrTaxBracket Deduction
Updates the value of attribute 'IsEditableContrTaxBracket' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsMandatory Deduction
Updates the value of attribute 'IsMandatory' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Name Deduction
Updates the value of attribute 'Name' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set PaymentMethod Deduction
Updates the value of attribute 'PaymentMethod' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set PaymentTerm Deduction
Updates the value of attribute 'PaymentTerm' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Policy Deduction
Updates the value of attribute 'Policy' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set StartPeriod PeriodDeduction
Updates the value of attribute 'StartPeriod' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Tag DeductionTag
Updates the value of attribute 'Tag' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The detail identifier. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TagView Deduction
Updates the value of attribute 'TagView' in the specified entity record.
The following elements are required:
| deductionKey | (string) Deduction. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
DELETE Period Deduction by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The line identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE Deduction Tag by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| deductionKey | (string) Deduction. |
| lineId | (string) The line identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE Deduction by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| id | (string) The record identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | Deleted. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE Deduction by key
Deletes the entity record that matches the specified key.
The following elements are required:
| deductionKey | (string) Deduction. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | Deleted. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiDeductionPeriodDeductionsResource
The following elements are required:
| startPeriod | (DateTime) Start Period. |
| deductionValueKind | (enum DeductionValueKind) Value Kind.
See DeductionValueKind. |
| appliesEmployee | (bool) Applies. |
| employeeValue | (MoneyResource) Employee Value.
See MoneyResource . |
| employeePercentage | (decimal) Employee Percentage. |
| employeeMinValue | (MoneyResource) Minimum Value.
See MoneyResource . |
| employeeMaxValue | (MoneyResource) Maximum Value.
See MoneyResource . |
| appliesCompany | (bool) Applies. |
| companyValue | (MoneyResource) Company Value.
See MoneyResource . |
| companyPercentage | (decimal) Company Percentage. |
| companyMinValue | (MoneyResource) Minimum Value.
See MoneyResource . |
| companyMaxValue | (MoneyResource) Maximum Value.
See MoneyResource . |
| currency | (string) Currency. |
The following elements are optional:
| endPeriod | (DateTime) End Period. |
| employeeFormulaValue | (string) Employee Formula Value. |
| companyFormulaValue | (string) Company Formula Value. |
| employeeFormulaPercentage | (string) Employee Formula Percentage. |
| companyFormulaPercentage | (string) Company Formula Percentage. |
ApiDeductionResource
The following elements are required:
| deductionKey | (string) Deduction. |
| name | (string) Name. |
| isMandatory | (bool) Is Mandatory. |
| contrTaxBracket | (bool) Calculation by Bracket. |
| isEditableContrTaxBracket | (bool) Is Editable. |
| deductionAccountType | (string) Deduction Account Type. |
| paymentMethod | (string) Payment Method. |
| paymentTerm | (string) Payment Term. |
| contractKind | (enum ContractKind) Applicable to contracts of.
See ContractKind. |
The following elements are optional:
| periodDeductions | (List of ApiDeductionPeriodDeductionsResource) Period Deductions.
See ApiDeductionPeriodDeductionsResource. |
| earningDeductionGroup | (enum EarningDeductionGroup) Earning Deduction Group.
See EarningDeductionGroup. |
| rounding | (enum RoundingKind) Rounding.
See RoundingKind. |
| entity | (string) Entity. |
| policy | (string) Policy. |
| tags | (List of ApiDeductionTagsResource) Tags.
See ApiDeductionTagsResource. |
| tagView | (string) Tag View. |
ApiDeductionTagsResource
The following elements are required:
| tag | (string) Tag. |
DeductionResource
The following elements are required:
| deductionKey | (string) Deduction. |
| name | (string) Name. |
| isMandatory | (bool) Is Mandatory. |
| contrTaxBracket | (bool) Calculation by Bracket. |
| isEditableContrTaxBracket | (bool) Is Editable. |
| deductionAccountType | (string) Deduction Account Type. |
| paymentMethod | (string) Payment Method. |
| paymentTerm | (string) Payment Term. |
| contractKind | (enum ContractKind) Applicable to contracts of.
See ContractKind. |
The following elements are optional:
| periodDeductions | (List of PeriodDeductionResource) Period Deductions.
See PeriodDeductionResource. |
| earningDeductionGroup | (enum EarningDeductionGroup) Earning Deduction Group.
See EarningDeductionGroup. |
| rounding | (enum RoundingKind) Rounding.
See RoundingKind. |
| entity | (string) Entity. |
| policy | (string) Policy. |
| tags | (List of DeductionTagResource) Tags.
See DeductionTagResource. |
| tagView | (string) Tag View. |
DeductionTagResource
The following elements are required:
| tag | (string) Tag. |
MoneyResource
The following elements are required:
| amount | (decimal) The amount. |
The following elements are optional:
| baseAmount | (decimal) The base amount. |
| reportingAmount | (decimal) The reporting amount. |
| fractionDigits | (int) The fraction digits. |
| symbol | (string) The symbol. |
Notes: For the POST operation it is not necessary to send the fields: BaseAmount, ReportingAmount, FractionDigits and Symbol. Will be ignored.
PeriodDeductionResource
The following elements are required:
| startPeriod | (DateTime) Start Period. |
| deductionValueKind | (enum DeductionValueKind) Value Kind.
See DeductionValueKind. |
| appliesEmployee | (bool) Applies. |
| employeeValue | (MoneyResource) Employee Value.
See MoneyResource . |
| employeePercentage | (decimal) Employee Percentage. |
| employeeMinValue | (MoneyResource) Minimum Value.
See MoneyResource . |
| employeeMaxValue | (MoneyResource) Maximum Value.
See MoneyResource . |
| appliesCompany | (bool) Applies. |
| companyValue | (MoneyResource) Company Value.
See MoneyResource . |
| companyPercentage | (decimal) Company Percentage. |
| companyMinValue | (MoneyResource) Minimum Value.
See MoneyResource . |
| companyMaxValue | (MoneyResource) Maximum Value.
See MoneyResource . |
| currency | (string) Currency. |
The following elements are optional:
| endPeriod | (DateTime) End Period. |
| employeeFormulaValue | (string) Employee Formula Value. |
| companyFormulaValue | (string) Company Formula Value. |
| employeeValuesInfo | (string) Employee. |
| companyValuesInfo | (string) Company. |
| employeeFormulaPercentage | (string) Employee Formula Percentage. |
| companyFormulaPercentage | (string) Company Formula Percentage. |