PUT connector/api/expense/{expense}
PATCH connector/api/expense/{expense}
Parameter | Type | Status | Description |
---|---|---|---|
final_total |
float | optional | Expense amount |
transaction_date |
string | optional | transaction date format:Y-m-d H:i:s, |
tax_rate_id |
integer | optional | id of the tax rate applicable to the expense |
expense_for |
integer | optional | id of the user for which expense is created |
contact_id |
integer | optional | id of the contact(customer or supplier) for which expense is created |
additional_notes |
string | optional | |
is_recurring |
integer | optional | whether expense is recurring (0, 1) |
recur_interval |
integer | optional | value of the interval expense will be regenerated |
recur_interval_type |
string | optional | type of the recur interval ('days', 'months', 'years') |
subscription_repeat_on |
integer | optional | day of the month on which expense will be generated if recur interval type is months (1-30) |
subscription_no |
string | optional | subscription number |
recur_repetitions |
integer | optional | total number of expense to be generated |
payment |
array | optional | payment lines for the expense |