Creates an employee expense category for the business.

Request

POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/employeeexpensecategory

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

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

{
    "description": "string",
    "externalId": "string",
    "externalReferenceId": "string",
    "externalTaxCodeId": "string",
    "generalLedgerMappingCode": "string",
    "id": "int32",
    "name": "string",
    "taxCode": "string",
    "taxRate": "double"
}

Properties

Name Type
description string
externalId string
externalReferenceId string
externalTaxCodeId string
generalLedgerMappingCode string
id int32
name string
taxCode string
taxRate double

Response

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

Status code Description Resource
200 OK

OK