---
title: "Event catalogue | Docs | ERP by R&D Copilot"
description: "Every event the API sends, the record it is about, when it is sent and the fields of its data."
canonical: "https://erp.rdcopilot.com/docs/events/event-catalogue/"
language: en
updated: 2026-11-22
---

# Event catalogue

Every event the API sends, the record it is about, when it is sent and the fields of its data.

Each operation that changes a record sends exactly one event, after the change is applied. The `type` is `com.rdcopilot.erp.<event>.v1`. The envelope is the same for every event, see [Event envelope](https://erp.rdcopilot.com/docs/events/event-envelope/); this page lists what differs: the `aggregateType` and the fields of `data`.

| Type | Aggregate | Sent when | Fields of \`data\` |
| --- | --- | --- | --- |
| `com.rdcopilot.erp.item.created.v1` | `item` | An item was created. | `` `code`, `name` `` |
| `com.rdcopilot.erp.partner.created.v1` | `partner` | A customer or supplier was created. | `` `name`, `roles` `` |
| `com.rdcopilot.erp.sales-order.created.v1` | `sales-order` | A sales order was entered as a draft. | `` `number`, `customerId`, `total` `` |
| `com.rdcopilot.erp.sales-order.confirmed.v1` | `sales-order` | A draft passed the credit check and was confirmed. | `` `number`, `status` `` |
| `com.rdcopilot.erp.sales-order.reserved.v1` | `sales-order` | Stock was set aside for an order. `status` is `reserved` when every line is covered and `confirmed` while lines are short. | `` `number`, `status`, `short` `` |
| `com.rdcopilot.erp.delivery.created.v1` | `delivery` | A delivery took the reserved units out of stock. | `` `number`, `salesOrderNumber` `` |
| `com.rdcopilot.erp.invoice.created.v1` | `invoice` | An invoice was issued for a delivered order. | `` `number`, `salesOrderNumber`, `total` `` |
| `com.rdcopilot.erp.invoice.payment-recorded.v1` | `invoice` | A payment was recorded against an invoice. | `` `number`, `amount`, `balance`, `status` `` |
| `com.rdcopilot.erp.purchase-order.created.v1` | `purchase-order` | A purchase order was placed. | `` `number`, `supplierId`, `total` `` |
| `com.rdcopilot.erp.receipt.recorded.v1` | `receipt` | Goods were received against a purchase order and added to stock. | `` `number`, `purchaseOrderNumber` `` |
| `com.rdcopilot.erp.supplier-bill.recorded.v1` | `supplier-bill` | A supplier bill was recorded as a draft. | `` `number`, `supplierNumber`, `purchaseOrderNumber`, `total` `` |
| `com.rdcopilot.erp.supplier-bill.corrected.v1` | `supplier-bill` | The lines of a draft bill were corrected. | `` `number`, `total` `` |
| `com.rdcopilot.erp.supplier-bill.submitted.v1` | `supplier-bill` | A bill was sent for approval. | `` `number`, `match` `` |
| `com.rdcopilot.erp.supplier-bill.approved.v1` | `supplier-bill` | One step of the approval chain approved the bill. `status` is `approved` after the last step. | `` `number`, `step`, `status` `` |
| `com.rdcopilot.erp.supplier-bill.rejected.v1` | `supplier-bill` | A bill went back to draft with a reason. | `` `number`, `reason` `` |
| `com.rdcopilot.erp.supplier-bill.held.v1` | `supplier-bill` | A bill was put on hold. | `` `number`, `reason` `` |
| `com.rdcopilot.erp.supplier-bill.released.v1` | `supplier-bill` | A bill on hold was released. | `` `number` `` |
| `com.rdcopilot.erp.supplier-bill.scheduled.v1` | `supplier-bill` | An approved bill was scheduled for payment. | `` `number`, `scheduledFor` `` |
| `com.rdcopilot.erp.supplier-bill.paid.v1` | `supplier-bill` | The payment of a scheduled bill was recorded. | `` `number` `` |
| `com.rdcopilot.erp.work-order.created.v1` | `work-order` | A work order was planned. | `` `number`, `itemCode`, `planned` `` |
| `com.rdcopilot.erp.work-order.started.v1` | `work-order` | A work order went into production. | `` `number` `` |
| `com.rdcopilot.erp.work-order.finished.v1` | `work-order` | A work order was finished: components were consumed and the made items added to stock. | `` `number`, `produced` `` |

## An event

The delivery of an order sends `delivery.created`. `aggregateId` is the delivery, and `aggregateRevision` is its revision after the change.

delivery.created

```json
{
  "specversion": "1.0",
  "id": "dff3fbc0-e5e9-4d5c-af95-9e2047b9a31e",
  "type": "com.rdcopilot.erp.delivery.created.v1",
  "source": "/erp/v1",
  "time": "2026-11-23T07:54:00Z",
  "customerOrgId": "e008e1af-fe83-441e-8dae-e518a9f6c52a",
  "legalCompanyId": "e532fe90-4649-4d42-8767-77a0f6dc1d54",
  "aggregateType": "delivery",
  "aggregateId": "484f788c-71dc-48c2-864a-187d82d44488",
  "aggregateRevision": 1,
  "correlationId": "43773434-1a1d-4d7b-8228-d019a068345f",
  "causationId": "a2c43bc6-4592-49bb-a0d4-ea72f62d73e7",
  "actor": {
    "clientId": "9cdf2ed6-aca2-4654-9334-b958d8053885"
  },
  "data": {
    "number": "LIV-2026-01844",
    "salesOrderNumber": "CV-1048"
  }
}
```

## Reading events

-   An event says that something happened and carries only the fields in the table. Read the record with its `aggregateId` for the rest.
-   A `sales-order.reserved` event with `status` `confirmed` means that lines are still short; `short` lists them with the units each one still wants.
-   `supplier-bill.approved` is sent once per step. The bill is fully approved when `status` is `approved`.
