Event catalogue
Every event DMS sends, when it is sent and what its data holds.
On this page
Every event has the envelope described in 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.documents.document.created.v1 | A document was created as a draft. | document | number, class, owner |
com.rdcopilot.documents.document.imported.v1 | A document was imported straight into the archive. | document | number, class, keepUntil |
com.rdcopilot.documents.document.updated.v1 | The properties of a draft were changed. | document | number, fields |
com.rdcopilot.documents.document.revised.v1 | A draft got a new version. | document | number, version |
com.rdcopilot.documents.document.submitted.v1 | A document was sent to its approvers. | document | number, route |
com.rdcopilot.documents.document.approved.v1 | An approver approved a document. status is approved once the last approver has. | document | number, approver, status |
com.rdcopilot.documents.document.rejected.v1 | An approver returned a document to its owner, with a reason. | document | number, approver, reason |
com.rdcopilot.documents.document.signature_requested.v1 | A request for signature was sent. | document | number, recipients |
com.rdcopilot.documents.document.signature_delivered.v1 | A recipient received the document to sign. | document | number, recipient |
com.rdcopilot.documents.document.signature_signed.v1 | A recipient signed. status is signed once the last recipient has. | document | number, recipient, status |
com.rdcopilot.documents.document.signature_declined.v1 | A recipient declined to sign, with a reason. The request ends. | document | number, recipient, reason |
com.rdcopilot.documents.document.archived.v1 | A document was archived. | document | number, keepUntil |
com.rdcopilot.documents.extraction.value_accepted.v1 | A person accepted an extracted value. | extraction | number, field, by |
com.rdcopilot.documents.extraction.value_corrected.v1 | A person corrected an extracted value. | extraction | number, field, value, by |
A value of an extraction belongs to the extraction of the document, so extraction.* events carry the revision of the extraction. Submitting an invoice that was read sends document.submitted once, after the values were settled.
An event in full
This is com.rdcopilot.documents.document.approved.v1, sent when an approver approves a document.
{
"specversion": "1.0",
"id": "5e2b9c47-8d13-4a6f-b0e5-71c4a2d93f68",
"type": "com.rdcopilot.documents.document.approved.v1",
"source": "/documents/v1",
"time": "2026-11-23T09:41:07Z",
"customerOrgId": "a3f1d7c2-64be-4b09-9d58-2c0e7f1a8b34",
"legalCompanyId": "c8b25e90-1d47-4f3a-a6d2-93e0b51f7c68",
"aggregateType": "document",
"aggregateId": "af784fd4-dcdb-4ac4-9e0a-3f59571d40c9",
"aggregateRevision": 3,
"correlationId": "f06a3b8d-9e21-47c5-8b14-d5a7e2c10963",
"causationId": "4939c1de-58ca-4732-ab10-4df248268504",
"actor": {
"serviceId": "documents-api"
},
"data": {
"number": "DOC-2026-0401",
"approver": "ioana-marin",
"status": "approved"
}
} 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.