Adds PAYE adjustments to the specified pay run.
POST https://api.nzpayroll.co.nz/api/v2/business/{businessId}/payrun/{payRunId}/payeadjustments
Parameter name | Value | Description | Additional |
---|---|---|---|
payRunId | int32 | Required | |
businessId | string | Required |
The request body takes a complete SubmitPayRunPayeAdjustmentRequest resource, containing the following writable properties:
{
"employeeIdType": "string",
"payRunId": "int32",
"payeAdjustments": {
"<key>": "array"
},
"replaceExisting": "boolean",
"suppressCalculations": "boolean"
}
Name | Type | Description |
---|---|---|
employeeIdType | string |
IdType
Possible values are:
|
payRunId | int32 | Int32 |
payeAdjustments | object |
Dictionary |
payeAdjustments.<key> | map of array |
List |
payeAdjustments.<key>.amount | double | Decimal |
payeAdjustments.<key>.employeeExternalId | string | String |
payeAdjustments.<key>.employeeId | string | String |
payeAdjustments.<key>.employeeName | string | String |
payeAdjustments.<key>.externalId | string | String |
payeAdjustments.<key>.id | int32 | Int32 |
payeAdjustments.<key>.locationId | string | String |
payeAdjustments.<key>.locationName | string | String |
payeAdjustments.<key>.notes | string | String |
replaceExisting | boolean | Boolean |
suppressCalculations | boolean | Boolean |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox