create_expense
Create a project expense entry with category, cost, date, and optional billable status and receipt attachment.
Instructions
Create a new expense entry for a project with category and cost details. Supports receipt attachment and billable status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | The user ID who incurred the expense | |
| project_id | Yes | The project ID to associate the expense with (required) | |
| expense_category_id | Yes | The expense category ID (required) | |
| spent_date | Yes | Date the expense was incurred (YYYY-MM-DD) (required) | |
| notes | No | Notes or description for the expense | |
| total_cost | Yes | Total cost of the expense (required) | |
| units | No | Number of units for unit-based expenses | |
| billable | No | Whether the expense is billable to the client |