# Order state transitions

The following order states are supported:

| Code   | Description        |
| ------ | ------------------ |
| `0`    | New                |
| `1`    | Partially filled   |
| `2`    | Filled             |
| `4`    | Canceled           |
| `5`    | Replaced           |
| `6`    | Pending cancel     |
| `8`    | Rejected           |
| `A`    | Pending new        |

The diagram below shows possible transitions and execution types that are reported with [**`8` (Execution Report)**](/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-8-execution-report) messages for each transition:

![Order state transition diagram](/img/exchange-fix-api/order-state-transitions.svg)

See also [Appendix D: Order State Change Matrices](https://www.onixs.biz/fix-dictionary/4.4/app_d.html) in the FIX documentation.