Updates the deduction category with the specified ID.

Request

PUT https://api.yourpayroll.com.au/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
expenseGeneralLedgerMappingCode string
externalId string
id int32
liabilityGeneralLedgerMappingCode string
name string
paymentSummaryClassification string
sgcCalculationImpact string
source string
taxExempt boolean

Response

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

Status code Description Resource
200 OK

OK