Update Expense
update_expenseUpdate an existing expense by providing the ID and any fields to modify. Only specified values are changed.
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 | |
| date | No | Date (YYYY-MM-DD) / Fecha | |
| amount | No | Amount in EUR / Importe | |
| vendor | No | Vendor / Proveedor | |
| category | No | Category / Categoria | |
| description | No | Description / Descripcion | |
| taxDeductible | No | Tax deductible / Deducible |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| date | No | ||
| amount | Yes | ||
| vendor | No | ||
| category | No | ||
| createdAt | No | ||
| updatedAt | No | ||
| description | Yes | ||
| taxDeductible | No |