Updates the deduction category with the specified ID.

Request

PUT http://keypay.yourpayroll.local/api/v2/business/{businessId}/deductioncategory/{id}

Path parameters

Parameter name Value Description Additional
id int32 Required
businessId string Required

Request body

The request body takes a complete DeductionCategoryModel resource, containing the following writable properties:

{
    "expenseGeneralLedgerMappingCode": "string",
    "externalId": "string",
    "id": "int32",
    "liabilityGeneralLedgerMappingCode": "string",
    "name": "string",
    "paymentSummaryClassification": "string",
    "sgcCalculationImpact": "string",
    "source": "string",
    "taxExempt": "boolean"
}

Properties

Name Type Description
expenseGeneralLedgerMappingCode string String
externalId string String
id int32 Int32
liabilityGeneralLedgerMappingCode string String
name string String
paymentSummaryClassification string DeductionCategoryPaymentSummaryClassification

Possible values are:

  • Default
  • UnionOrProfessionalAssociationFees
  • WorkplaceGiving
sgcCalculationImpact string SGCCalculationImpactEnum

Possible values are:

  • None
  • ReducesOTE
  • ReducesOTEAndSGC
source string String
taxExempt boolean Boolean

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK