Creates a new recurring expense for the employee.
POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/employee/{employeeId}/expense
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required | |
employeeId | string | Required |
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"
}
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 |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
EmployeeRecurringExpenseModel |
Powered by DapperDox