Skip to content

Cost centers

The cost centers expenses are allocated to.

Module: Finance (finance).

  • GET /api/v1/cost_centers - List with filters, sorting and pagination (scope finance:read)
  • GET /api/v1/cost_centers/{id} - A record by id (scope finance:read)
  • POST /api/v1/cost_centers - Create a record (scope finance:write)
  • PATCH /api/v1/cost_centers/{id} - Modify the submitted fields (scope finance:write)
  • DELETE /api/v1/cost_centers/{id} - Delete or deactivate (scope finance:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • name (string; write, required): Name
  • location_id (string, uuid; write): Location
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • code (string; write): Code
  • 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.
  • cost_centers.created
  • cost_centers.updated
  • cost_centers.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.