Skip to content

Budgets

Budgets per period, optionally per cost center and category.

Module: Finance (finance).

  • GET /api/v1/budgets - List with filters, sorting and pagination (scope finance:read)
  • GET /api/v1/budgets/{id} - A record by id (scope finance:read)
  • POST /api/v1/budgets - Create a record (scope finance:write)
  • PATCH /api/v1/budgets/{id} - Modify the submitted fields (scope finance:write)
  • DELETE /api/v1/budgets/{id} - Delete or deactivate (scope finance:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • cost_center_id (string, uuid; write): Cost center
  • name (string; write, required): Name
  • amount (number; write, required): Budget (RON)
  • currency (string; read): Currency (ISO code, e.g. RON).
  • period_start (string, date; write, required): Start
  • period_end (string, date; write, required): End
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • category (string; write): Expense category
  • is_active (boolean; read): Whether the record is active.
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • custom_fields (object; read): Custom fields (key-value object). Definitions are created in the ERP; see the guide on docs.rivil.app.
  • budgets.created
  • budgets.updated
  • budgets.deleted

Accepts custom fields in custom_fields. docs.rivil.app documents the capability; the list for your company is in the ERP, under Settings, API.