Add employer liabilities to the specified pay run.

Request

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

Path parameters

Parameter name Value Description Additional
payRunId int32 Required
businessId string Required

Request body

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"
}

Properties

Name Type
employeeIdType string
employerLiabilities object
employerLiabilities.<key> map of array
employerLiabilities.<key>.amount double
employerLiabilities.<key>.employeeId string
employerLiabilities.<key>.employeeName string
employerLiabilities.<key>.employerLiabilityCategoryId string
employerLiabilities.<key>.employerLiabilityCategoryName string
employerLiabilities.<key>.externalId string
employerLiabilities.<key>.locationId string
employerLiabilities.<key>.locationName string
employerLiabilities.<key>.notes string
employerLiabilityCategoryIdType string
payRunId int32
replaceExisting boolean
suppressCalculations boolean

Response

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

Status code Description Resource
200 OK

OK