# EventOrigin type


Where a receipt, issue, transfer or shipment came from.

## Fields

### kind

[`EventOriginKind!`](/chameleoon-max/type/event-origin-kind)

The kind of record it came from.

### id

[`UUID`](/chameleoon-max/type/uuid)

The MAX id of the stocktake, the consignment (for a shipment too) or the advice it came
from. Null for `MANUAL`.

### salesOrderId

[`UUID`](/chameleoon-max/type/uuid)

The sales order of the consignment. Set only when `kind` is `FULFILMENT`, on an issue or a
shipment. Null on events published before this field existed.

## Used by

- [`Event`](/chameleoon-max/type/event)
