# EventEntityType enum


What an event happened to.

## Values

### SALES_ORDER

A sales order. Requires the `order.read` permission.

### RECEIPT

A stock receipt: goods into a warehouse. Requires the `receipt.read` permission.

### ISSUE

A stock issue: goods out of a warehouse, by hand or for a consignment. Requires the
`issue.read` permission.

### TRANSFER

A stock transfer between two warehouses, seen from either end. Requires the
`transfer.read` permission.

### FULFILMENT

A consignment: what one dispatch of an order sends. Requires the `fulfilment.read` and
`order.read` permissions.

### SHIPMENT

A carrier shipment, from the moment the carrier accepted it. Requires the `shipment.read`
permission.

Its events are `shipment.created`, then `shipment.changed` when its tracking status moves,
and `shipment.cancelled`.

### TRANSFER_ADVICE

A transfer advice, from the moment it is opened. Requires the `transferAdvice.read`
permission.

Its events are `transfer_advice.opened`, then `transfer_advice.changed` when a line is added,
changed or removed or its planned date moves, then `transfer_advice.closed` or
`transfer_advice.cancelled`. The work on the advice comes as the transfers' own events.

### RECEIPT_ADVICE

A receipt advice, from the moment it is opened. Requires the `advice.read` permission.

Its events are `receipt_advice.opened`, then `receipt_advice.changed` when a line is added,
changed (a settlement too) or removed, or when its expected date or supplier reference moves,
then `receipt_advice.closed` or `receipt_advice.cancelled`. The goods that arrive against it
come as its receipts' own events.

### DOCUMENT

A document attached to a sales order or to an invoice imported from the accounting system.

- Its events are `document.attached`, then `document.version_added` when a new version
  becomes current, and `document.removed`.
- The event names only the document. Read [`document`](/chameleoon-max/query/document) for its order or invoice and
  its versions.
- You see the event where you can see its order or invoice. An order's document requires the
  `order.read` permission, and an invoice's document requires the `invoice.read` permission.
- If your API key is limited to partners, you see an invoice's document only for those
  partners' invoices.
- Either permission opens the entity type.

### INVOICE

An invoice, advance invoice or credit note imported from the accounting system. Requires the
`invoice.read` permission.

Its events are `invoice.created`, then `invoice.changed`.

### STOCKTAKE

A stocktake handed over to the external system that manages its warehouse. Requires the
`inventory.read` permission.

Its only event is `stocktake.handed_over`.

## Used by

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