---
title: "Event catalogue | Docs | HR by R&D Copilot"
description: "Every event HR sends, when it is sent and what its data holds."
canonical: "https://hr.rdcopilot.com/docs/events/event-catalogue/"
language: en
updated: 2026-11-22
---

# Event catalogue

Every event HR sends, when it is sent and what its `data` holds.

Every event has the envelope described in [Event envelope](https://hr.rdcopilot.com/docs/events/event-envelope/). The table gives the `type`, when the event is sent, the `aggregateType` of the record it is about and the fields of `data`. A change sends its event once the change is applied, and the `aggregateRevision` of the event is the revision of the record after it.

## Events

| Type | Sent when | Aggregate | Fields of \`data\` |
| --- | --- | --- | --- |
| `com.rdcopilot.hr.employee.hired.v1` | A person was hired. Their onboarding checklist exists from this moment. | `employee` | `id, number, name, startDate` |
| `com.rdcopilot.hr.employee.employment_changed.v1` | A dated change of job, department, manager, workplace, contract or salary was recorded. | `employee` | `id, effectiveFrom, fields` |
| `com.rdcopilot.hr.employee.offboarding_started.v1` | A last day of work was set. | `employee` | `id, lastDay` |
| `com.rdcopilot.hr.leave.requested.v1` | A leave request was made. | `leave_request` | `number, employeeId, kind, from, to, days` |
| `com.rdcopilot.hr.leave.approved.v1` | A leave request was approved. | `leave_request` | `number, employeeId, kind, from, to, days, approvedById` |
| `com.rdcopilot.hr.leave.rejected.v1` | A leave request was rejected, with its reason. | `leave_request` | `number, employeeId, reason, rejectedById` |
| `com.rdcopilot.hr.leave.cancelled.v1` | A leave request was cancelled. | `leave_request` | `number, employeeId, cancelledById` |
| `com.rdcopilot.hr.onboarding.step_completed.v1` | A step of an onboarding checklist was done. | `employee` | `employeeId, step, doneById` |
| `com.rdcopilot.hr.onboarding.step_reopened.v1` | A step of an onboarding checklist was opened again. | `employee` | `employeeId, step, reopenedById` |
| `com.rdcopilot.hr.document.issued.v1` | A certificate was issued and listed in the record of the person. | `document` | `number, employeeId, kind` |

A step of an onboarding checklist and a certificate are part of the person, so their events are about the person and carry the revision of the person. A leave request has its own revision, which starts at 1.

## An event in full

This is `com.rdcopilot.hr.leave.approved.v1`, sent when a leave request is approved.

JSON

```json
{
  "specversion": "1.0",
  "id": "5e2b9c47-8d13-4a6f-b0e5-71c4a2d93f68",
  "type": "com.rdcopilot.hr.leave.approved.v1",
  "source": "/hr/v1",
  "time": "2026-11-23T09:41:07Z",
  "customerOrgId": "a3f1d7c2-64be-4b09-9d58-2c0e7f1a8b34",
  "legalCompanyId": "c8b25e90-1d47-4f3a-a6d2-93e0b51f7c68",
  "aggregateType": "leave_request",
  "aggregateId": "bd9ccb68-cdef-4ec9-b852-dfa82203a948",
  "aggregateRevision": 2,
  "correlationId": "f06a3b8d-9e21-47c5-8b14-d5a7e2c10963",
  "causationId": "b45282b0-0827-4191-ba70-a0d39dc182c6",
  "actor": {
    "serviceId": "hr-api"
  },
  "data": {
    "number": "LR-2026-1044",
    "employeeId": "5f6223ec-cd16-4dcc-bf30-2409b9672912",
    "kind": "annual",
    "from": "2026-11-30",
    "to": "2026-12-04",
    "days": 3,
    "approvedById": "21bd8239-2794-4320-adba-9128b6a6219b"
  }
}
```

## Choose what you receive

A subscription names the types it wants in `eventTypes`. An event of another type is not sent to it. See [Subscriptions](https://hr.rdcopilot.com/docs/events/subscriptions/).
