# ReceiptAdviceState enum


Where a receipt advice stands: its status and what arrived, combined. MAX derives it and never
stores it.

## Values

### DRAFT

The advice is a draft (status `DRAFT`).

### AWAITING

Open, and nothing has arrived on an open or completed receipt. A warehouse worker may already
be scanning it into a draft receipt.

### PARTIALLY_RECEIVED

Open, something has arrived, and a line is short by more than the organisation's receipt
tolerance.

### RECEIVED

Open, and every line arrived within the tolerance, or over it. The advice stays open until a
user in MAX closes it.

### CLOSED

The advice is closed (status `CLOSED`), whatever arrived against it.

### CANCELLED

The advice is cancelled (status `CANCELLED`).

## Used by

- [`ReceiptAdvice`](/chameleoon-max/type/receipt-advice)
- [`ReceiptAdviceFilter`](/chameleoon-max/type/receipt-advice-filter)
