Create expense
create_expenseLogs an expense on a project: what was spent, the amount, the day, a category (travel, software, hardware, services, meals, other), the vendor, whether it can be billed to the client, and optionally a task. It records a cost; nothing is paid. Only the project owner can set a markup (a percentage added when billing it). Needs the editor role on the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | The day it was spent. Default today, YYYY-MM-DD. | |
| amount | Yes | What it cost. An amount in the currency's main unit, e.g. 85 or "85.50" (not cents). | |
| cardId | No | A task of the same project. | |
| vendor | No | ||
| boardId | Yes | The project. | |
| billable | No | Whether it can be billed to the client. Default: the project's own setting (true when it has none). | |
| category | No | ||
| description | Yes | What it was, up to 200 characters. | |
| markupPercent | No | Percentage added when billing it, e.g. 10. Project owner only. |