---
title: "Event catalogue | Docs | Inventory by R&D Copilot"
description: "The one event Inventory sends, once per movement, and what its fields hold."
canonical: "https://inventory.rdcopilot.com/docs/events/event-catalogue/"
language: en
updated: 2026-11-22
---

# Event catalogue

The one event Inventory sends, once per movement, and what its fields hold.

Inventory sends one event for every movement it records, whatever its kind. A command with three lines records three movements and sends three events; a transfer line sends two. Every event has the [same envelope](https://inventory.rdcopilot.com/docs/events/event-envelope/) and reaches the endpoint of your [subscription](https://inventory.rdcopilot.com/docs/events/subscriptions/), signed.

| Type | Sent when |
| --- | --- |
| `com.rdcopilot.inventory.movement.v1` | A movement is recorded: receipt, reservation, sale, return, transfer, count or reversal. |

## The envelope for a movement

| Field | Holds |
| --- | --- |
| `datacontenttype` | Always `application/json`. |
| `time` | The `occurredAt` of the command. |
| `aggregateType` | `inventory-balance`: the record that changed is the balance of one item at one location. |
| `aggregateId` | The identifier of that balance. It is the same for every movement of the item at the location. |
| `aggregateRevision` | The revision of the balance after the movement: `resultingRevision` of the movement. |
| `correlationId` | The `operationId` of the command. |
| `causationId` | The `documentId` of the `source` of the command: the order, the receipt, the delivery. |
| `actor` | The `actor` of the command. |

## The data of the event

| Field | Meaning |
| --- | --- |
| `movementId` | The movement. Read it from the stock card for the rest of its fields. |
| `productId` | The item. |
| `locationId` | The location. |
| `onHandDelta` | The change of the quantity on hand, as a decimal string. |
| `reservedDelta` | The change of the quantity reserved, as a decimal string. |

The event does not say what kind of movement it is. Read the movement for its `kind`, its `source` and its links.

## A reservation

JSON

```json
{
  "specversion": "1.0",
  "id": "517ef9ce-9831-449c-bd68-d37290ecd357",
  "type": "com.rdcopilot.inventory.movement.v1",
  "source": "urn:rdcopilot:service:inventory-runtime",
  "time": "2026-11-23T07:12:00.000Z",
  "datacontenttype": "application/json",
  "customerOrgId": "690fa0e3-547f-4f93-96b7-824475cc3d7c",
  "legalCompanyId": "d84ba982-ca9a-4e91-9566-21bd23f7227b",
  "aggregateType": "inventory-balance",
  "aggregateId": "c2c684e0-3700-5969-a967-1f8b830a2012",
  "aggregateRevision": 6,
  "correlationId": "90aebca5-208b-47dd-9e6d-c9159d4aab06",
  "causationId": "46091949-3c11-414b-9157-994f3048e568",
  "actor": {
    "serviceId": "brumar-erp",
    "userId": "4e2f591e-3df0-4f36-8741-3e49134249b0"
  },
  "data": {
    "movementId": "771d53db-5d2c-4a12-b9a6-bb3c86e5eeea",
    "productId": "6cbfcba3-55fd-4cf0-9709-6e75c9717bb3",
    "locationId": "b006344d-2fae-4970-bb6f-c32877084b4f",
    "onHandDelta": "0",
    "reservedDelta": "24"
  }
}
```

## A sale from the reservation

Both quantities fall: the goods left and the reservation was used up.

JSON

```json
{
  "specversion": "1.0",
  "id": "36f7271e-e92a-4bbb-b631-d289f80e177e",
  "type": "com.rdcopilot.inventory.movement.v1",
  "source": "urn:rdcopilot:service:inventory-runtime",
  "time": "2026-11-23T07:19:00.000Z",
  "datacontenttype": "application/json",
  "customerOrgId": "690fa0e3-547f-4f93-96b7-824475cc3d7c",
  "legalCompanyId": "d84ba982-ca9a-4e91-9566-21bd23f7227b",
  "aggregateType": "inventory-balance",
  "aggregateId": "c2c684e0-3700-5969-a967-1f8b830a2012",
  "aggregateRevision": 7,
  "correlationId": "87e846f9-6aaa-4b7c-b145-f59827ed2ae6",
  "causationId": "1e341639-829d-43ef-a1c9-10edb27894b4",
  "actor": {
    "serviceId": "brumar-erp",
    "userId": "376a64f7-268a-4f79-808e-0d89162055ac"
  },
  "data": {
    "movementId": "e3b706f6-4600-4e18-9e43-1e9469adc3be",
    "productId": "6cbfcba3-55fd-4cf0-9709-6e75c9717bb3",
    "locationId": "b006344d-2fae-4970-bb6f-c32877084b4f",
    "onHandDelta": "-24",
    "reservedDelta": "-24"
  }
}
```

An event is sent only after its movement is recorded, and a movement is recorded together with its event. You never get an event for a change that was refused.
