bexio Expenses
bexio_expensesManage business expenses by listing, creating, updating, and deleting expense records with support for filtering, pagination, and status transitions.
Instructions
Manage expenses (bexio 4.0 API). Expense ids are UUID strings. Actions: "list" (paginated via limit/page/order/sort; filters: vendor, gross_min/max, net_min/max, paid_on_start/end, created_at_start/end, title, currency_code, document_no, supplier_id, project_id), "get" (expense by id), "create" (payload required: paid_on, currency_code, amount, attachment_ids; optional supplier, bank/booking account, tax and address fields), "update" (id + full payload; same required fields as create), "delete" (id; permanently deletes the expense — cannot be undone), "execute_action" (id + expense_action "DUPLICATE": copies the expense into a new draft), "update_status" (id + status: "DONE" completes the expense, "DRAFT" reverts it to draft), "validate_document_number" (document_no; reports whether it is available and the next free number).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Expense id (UUID; required for get/update/delete/execute_action/update_status) | |
| page | No | Page number for "list" | |
| sort | No | Field to sort by for "list" | |
| limit | No | Results per page for "list" (max 500) | |
| order | No | Sorting order for "list" | |
| action | Yes | Operation to perform | |
| status | No | Target status for "update_status" | |
| filters | No | Optional filters for "list" | |
| payload | No | Expense fields. Required on create and update: paid_on, currency_code, amount, attachment_ids. Update sends the full expense (fields left out are cleared). | |
| document_no | No | Document number to check for "validate_document_number" | |
| expense_action | No | Action to execute for "execute_action" |