Update Expense
update_expenseModify existing expenses by updating only specified fields such as amount, category, or date without affecting other data.
Instructions
Update an existing expense using PATCH semantics. Only the provided fields will be changed. Example: id='abc123', amount=75.00, category='travel' / Actualiza un gasto existente. Solo se modifican los campos proporcionados.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Expense ID / ID del gasto | |
| description | No | Description / Descripcion | |
| amount | No | Amount in EUR / Importe | |
| category | No | Category / Categoria | |
| date | No | Date (YYYY-MM-DD) / Fecha | |
| vendor | No | Vendor / Proveedor | |
| taxDeductible | No | Tax deductible / Deducible |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| description | Yes | ||
| amount | Yes | ||
| category | No | ||
| date | No | ||
| vendor | No | ||
| taxDeductible | No | ||
| createdAt | No | ||
| updatedAt | No |