Add employer liabilities to the specified pay run.
POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/payrun/{payRunId}/employerliabilities
Parameter name | Value | Description | Additional |
---|---|---|---|
payRunId | int32 | Required | |
businessId | string | Required |
The request body takes a complete SubmitPayRunEmployerLiabilityRequest resource, containing the following writable properties:
{
"employeeIdType": "string",
"employerLiabilities": {
"<key>": "array"
},
"employerLiabilityCategoryIdType": "string",
"payRunId": "int32",
"replaceExisting": "boolean",
"suppressCalculations": "boolean"
}
Name | Type | Description |
---|---|---|
employeeIdType | string |
IdType
Possible values are:
|
employerLiabilities | object |
Dictionary |
employerLiabilities.<key> | map of array |
List |
employerLiabilities.<key>.amount | double | Decimal |
employerLiabilities.<key>.employeeExternalId | string | String |
employerLiabilities.<key>.employeeId | string | String |
employerLiabilities.<key>.employeeName | string | String |
employerLiabilities.<key>.employerLiabilityCategoryId | string | String |
employerLiabilities.<key>.employerLiabilityCategoryName | string | String |
employerLiabilities.<key>.externalId | string | String |
employerLiabilities.<key>.id | int32 | Int32 |
employerLiabilities.<key>.locationId | string | String |
employerLiabilities.<key>.locationName | string | String |
employerLiabilities.<key>.notes | string | String |
employerLiabilityCategoryIdType | string |
IdType
Possible values are:
|
payRunId | int32 | Int32 |
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