Adds PAYG adjustments to the specified pay run.

Request

POST https://keypay.yourpayroll.com.au/api/v2/business/{businessId}/payrun/{payRunId}/paygadjustments

Path parameters

Parameter name Value Description Additional
payRunId int32 Required
businessId string Required

Request body

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

{
    "employeeIdType": "string",
    "payRunId": "int32",
    "paygAdjustments": {
        "<key>": "array"
    },
    "replaceExisting": "boolean",
    "suppressCalculations": "boolean"
}

Properties

Name Type Description
employeeIdType string IdType

Possible values are:

  • Standard
  • External
payRunId int32 Int32
paygAdjustments object Dictionary
paygAdjustments.<key> map of array List
paygAdjustments.<key>.amount double Decimal
paygAdjustments.<key>.employeeExternalId string String
paygAdjustments.<key>.employeeId string String
paygAdjustments.<key>.employeeName string String
paygAdjustments.<key>.externalId string String
paygAdjustments.<key>.id int32 Int32
paygAdjustments.<key>.locationId string String
paygAdjustments.<key>.locationName string String
paygAdjustments.<key>.notes string String
replaceExisting boolean Boolean
suppressCalculations boolean Boolean

Response

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

Status code Description Resource
200 OK

OK