Creates an employer liability category for the business.

Request

POST https://api.nzpayroll.co.nz/api/v2/business/{businessId}/employerliabilitycategory

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

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

{
    "canBeDeleted": "boolean",
    "externalReferenceId": "string",
    "hideFromPaySlips": "boolean",
    "id": "int32",
    "includeInShiftCosts": "boolean",
    "isSuperannuationFund": "boolean",
    "name": "string",
    "showTotalPayments": "boolean"
}

Properties

Name Type Description
canBeDeleted boolean Boolean
externalReferenceId string String
hideFromPaySlips boolean Boolean
id int32 Int32
includeInShiftCosts boolean Boolean
isSuperannuationFund boolean Boolean
name string String
showTotalPayments boolean Boolean

Response

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

Status code Description Resource
200 OK

OK