Add expense

The api end-point to add an expense nd an optional category id

Body Params
int32
required
Defaults to null
int32
required
Defaults to 0

For some integrations this is required not to be 0 which is the default category id

string
required

This is the title for the expense

float

this is the price of the expense, this is only required when using a total amount category

string
string

this is the day the expense has incurred on and is required when it is a total amount category

string

this is required when you want to add an expense with a total amount category

string

this is required when you want to add an expense with a total amount category

dates
array of strings

this is required when you want to add an expense with a kilometer or day allowance expense category, multiple dates are also possible (ex: ["24/05/2023", "26/05/2023"])

dates
int32
Defaults to 0

this is required when you want to update to a killometer allowance expense category. This is equal to the total amount of kilometers that has been done

string
enum
Defaults to single

this is the value if it's an outward or a round journey when using kilometer allowances, this defaults to single

Allowed:
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Choose an example:
application/json