Create expense
create_expenseRecords an expense (receipt, purchase, fee) with amount, date, vendor and project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD. Default: today. | |
| name | Yes | What was bought or paid. | |
| type | No | material | |
| amount | Yes | In the account currency. | |
| reason | No | ||
| billable | No | Bill it on to the customer. | |
| vendor_id | No | The vendor's contact_id (list_contacts type vendor). | |
| project_id | Yes | The project the cost belongs to (list_projects). The app refuses an expense without one. |