Updates the employee's recurring expense with the specified ID.

Request

PUT https://keypay.yourpayroll.com.au/api/v2/business/{businessId}/employee/{employeeId}/expense/{id}

Path parameters

Parameter name Value Description Additional
id int32 Required
businessId string Required
employeeId string Required

Request body

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

{
    "amount": "double",
    "employeeId": "int32",
    "expenseCategoryId": "int32",
    "expiryDate": "date-time",
    "fromDate": "date-time",
    "id": "int32",
    "isActive": "boolean",
    "locationId": "int32",
    "maximumAmountPaid": "double",
    "name": "string",
    "notes": "string",
    "taxCode": "string",
    "taxCodeDisplayName": "string",
    "taxRate": "double",
    "totalAmountPaid": "double"
}

Properties

Name Type Description
amount double Decimal
employeeId int32 Int32
expenseCategoryId int32 Int32
expiryDate date-time Nullable
fromDate date-time DateTime
id int32 Nullable
isActive boolean Boolean
locationId int32 Int32
maximumAmountPaid double Nullable
name string String
notes string String
taxCode string String
taxCodeDisplayName string String
taxRate double Nullable
totalAmountPaid double Decimal

Response

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

Status code Description Resource
200 OK

OK

EmployeeRecurringExpenseModel