Event envelope
Every e‑Transport Gateway event has the same envelope; only data changes with the type of the event.
On this page
The type has the form com.rdcopilot.etransport.<event>.v1. The last part is the version of data.
Fields
| Field | Meaning |
|---|---|
specversion | Version of the envelope format. |
id | Identifier of this event. A repeated delivery of the same event has the same id. |
type | What happened, in the form above. |
source | The product that sent the event. |
time | When the event happened, as a date and time with a time zone. |
customerOrgId | Your organisation. |
legalCompanyId | The legal company that the event belongs to, test or live. |
aggregateType | The kind of record that changed. |
aggregateId | The record that changed. |
aggregateRevision | The revision of the record after the change. |
correlationId | Ties together everything that came from one request or one flow. |
causationId | The document or operation that caused this event. |
actor | Who or what made the change. |
data | The content of the event. Its shape depends on type. |
Example
{
"specversion": "1.0",
"id": "5e2c293e-79b8-40c0-b63b-06786623e659",
"type": "com.rdcopilot.etransport.declaration.accepted.v1",
"source": "/etransport/v1",
"time": "2026-11-23T07:05:41Z",
"customerOrgId": "861fd0e5-b274-4116-b470-16c69e2e8ac5",
"legalCompanyId": "9a893b65-2286-477f-8eab-61c12f7d6b3e",
"aggregateType": "declaration",
"aggregateId": "4533692d-469c-4b70-acdb-d1a9a4a0f54f",
"aggregateRevision": 7,
"correlationId": "9afbc7f7-143e-49a8-9a7d-81d90f4de866",
"causationId": "43b609d4-780b-4285-bd03-7ff2c466e469",
"actor": {
"serviceId": "etransport-gateway"
},
"data": {
"reference": "LIV-2026-01842",
"status": "accepted",
"uit": "4F7K2Q9M8X1D6383",
"uploadIndex": "1000128"
}
} Deliveries can repeat. Use id to skip an event you already handled. Delivery and retries says when an event is sent again.
The full rule: Developer guide