API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Expenses

All operations for Expenses.

Data model

The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:

Entity Schema ID Fields Sequence Permissions
Expense expense 21 — expense_*

Endpoints

Method Path Operation Description
POST /v1/expenses Create expense Create a new expense in the active tenant.
DELETE /v1/expenses/{id} Delete expense Soft delete entity.
GET /v1/expenses/{id} Get expense by id Fetch a single expense.
GET /v1/expenses/{id}/linked Get linked entities CodeMeta OS API endpoint.
GET /v1/expenses/{id}/timeline Get timeline CodeMeta OS API endpoint.
GET /v1/expenses/{id}/transitions List transitions CodeMeta OS API endpoint.
GET /v1/expenses List expenses List expenses for the active tenant.
PATCH /v1/expenses/{id} Patch expense JSON Merge Patch update.
POST /v1/expenses/bulk Bulk operation CodeMeta OS API endpoint.
POST /v1/expenses/{id}/transition POST /v1/expenses/{id}/transition CodeMeta OS API endpoint.
POST /v1/expenses/{id}/transitions/{transitionKey} Execute transition CodeMeta OS API endpoint.
PUT /v1/expenses/{id} Replace expense Full replace with optimistic locking.

Search