Skip to content
Docs
API 1.0.0 · 23 Nov 2026

Search the docs

    Română

    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

    TypeSent whenAggregateFields of `data`
    com.rdcopilot.documents.document.created.v1A document was created as a draft.documentnumber, class, owner
    com.rdcopilot.documents.document.imported.v1A document was imported straight into the archive.documentnumber, class, keepUntil
    com.rdcopilot.documents.document.updated.v1The properties of a draft were changed.documentnumber, fields
    com.rdcopilot.documents.document.revised.v1A draft got a new version.documentnumber, version
    com.rdcopilot.documents.document.submitted.v1A document was sent to its approvers.documentnumber, route
    com.rdcopilot.documents.document.approved.v1An approver approved a document. status is approved once the last approver has.documentnumber, approver, status
    com.rdcopilot.documents.document.rejected.v1An approver returned a document to its owner, with a reason.documentnumber, approver, reason
    com.rdcopilot.documents.document.signature_requested.v1A request for signature was sent.documentnumber, recipients
    com.rdcopilot.documents.document.signature_delivered.v1A recipient received the document to sign.documentnumber, recipient
    com.rdcopilot.documents.document.signature_signed.v1A recipient signed. status is signed once the last recipient has.documentnumber, recipient, status
    com.rdcopilot.documents.document.signature_declined.v1A recipient declined to sign, with a reason. The request ends.documentnumber, recipient, reason
    com.rdcopilot.documents.document.archived.v1A document was archived.documentnumber, keepUntil
    com.rdcopilot.documents.extraction.value_accepted.v1A person accepted an extracted value.extractionnumber, field, by
    com.rdcopilot.documents.extraction.value_corrected.v1A person corrected an extracted value.extractionnumber, 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.

    JSON

    {
      "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.