API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · compensation_component_templates

Compensation Component Template Schema

Schema ID
compensation_component_template
Collection
compensation_component_templates
Permissions
  • Readcompensation_component_template_view
  • Createcompensation_component_template_create
  • Editcompensation_component_template_edit
  • Deletecompensation_component_template_delete

Fields

Compensation Component Template Schema

compensation_component_templates4 permissions

Reusable defaults for contractual compensation components or recurring payout records (ADR 0114).

appliesTostringrequired

CONTRACTUAL = template is offered in the employment-contract drawer. RECORD = template is offered when creating a compensation_record.

CONTRACTUALRECORD
kindstringrequired

Either a ContractualComponentKind (when appliesTo=CONTRACTUAL) or a CompensationRecordKind (when appliesTo=RECORD). Validated server-side against the matching enum based on appliesTo.

max 60 characters
defaultLabelstringrequired

Display label shown in the picker, e.g. „Urlaubsgeld 50% / Mai" or „Quartalsbonus Sales Q4".

max 200 characters
descriptionstringoptional

Optional admin-facing notes explaining when to use this template.

max 1000 charactersnullable
defaultValuesobjectoptional

Default values that the consumer copies into the new component/record. Shape depends on `appliesTo`: contractual templates carry calculation/recurrence/percentage/payoutMonth/taxable; record templates carry kind-specific hints (e.g. periodMonths for recurring commissions).

isActivebooleanoptional

Soft-disable without deletion — inactive templates stay searchable for history.

Default: true
sortOrderintegeroptional

Optional manual ordering inside the picker. Lower = higher in the list.

0 – 9999nullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/compensation_component_templates — List, paginated + filterable
  • GET /api/v1/compensation_component_templates/<id> — Single entity
  • POST /api/v1/compensation_component_templates — Create
  • PATCH /api/v1/compensation_component_templates/<id> — Partial update
  • DELETE /api/v1/compensation_component_templates/<id> — Soft delete
  • GET /api/v1/compensation_component_templates/<id>/timeline — Audit + activities

Search