# Order states

Within the DFC Standard is it necessary to indicate what the status of an Order is. This status can be broken down into 3 categories:

1. The overall state of the Order (Order State)
2. The status of any/all payments related to the Order (Payment State)
3. How far the Order is through processing (Fulfilment State)

## Order States

| DFC Class         | DFC State                                                                                                                                                    | Description                                                                                                                                                                          |                Socleo Equivalent                |                                                       OFN Equivalent                                                       |                                                    Shopify Equivalent                                                    |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :---------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------: |
| Order States      | Draft                                                                                                                                                        | Order is in a draft state - generally before it is ready for completion - customer can still amend the order. Stock is not reserved.                                                 |                      draft                      |                          <p>cart<br>address<br>delivery<br>confirmation<br>payment<br>resumed</p>                          |                                                        Order/Open                                                        |
|                   | Held                                                                                                                                                         | Order is held - no activity should be carried out, but order cannot be amended by the customer. Could be due to a variety of conditions (e.g. payment rejected, out of stock errors) |                     invoiced                    |                                                                                                                            |                                                        Order/Open                                                        |
|                   | Complete                                                                                                                                                     | Order is finalized and will be ready for fulfilment (although that may not be yet, see Fulfilment States)                                                                            | <p>validated<br>closed<br>awaiting\_payment</p> |                                                          complete                                                          |                                                      Order/Archived                                                      |
|                   | Cancelled                                                                                                                                                    | Order has been cancelled - no further activity should be carried out on the order                                                                                                    |     <p>canceled<br>retracted<br>refused</p>     |                                                          canceled                                                          |                                                      Order/Cancelled                                                     |
| Fulfilment States | Held                                                                                                                                                         | Order is Complete, but cannot be fulfilled at this time (e.g. order is a scheduled future order)                                                                                     |                                                 |                                                      shipment/pending                                                      |                                     <p>Fulfilment/On Hold<br>Fulfilment/Scheduled</p>                                    |
|                   | Unfulfilled                                                                                                                                                  | Order is ready for fulfilment/shipment                                                                                                                                               |        <p>In preparation<br>prepared</p>        |                                                       shipment/ready                                                       |                                                  Fulfilment/Unfilfillled                                                 |
|                   | Fulfillled                                                                                                                                                   | Order has been fulfilled/shipped                                                                                                                                                     |           <p>Shipped<br>Delivered</p>           |                                                      shipment/shipped                                                      |                                                   Fulfilment/Fulfilled                                                   |
|                   | Cancelled                                                                                                                                                    | Order is cancelled, no further fulfilment activity should be carried out                                                                                                             |                                                 |                                                     shipment/cancelled                                                     |                                                    shipment/cancelled                                                    |
| Payment States    | Unpaid                                                                                                                                                       | Full or partial payment is still required on the order                                                                                                                               |                                                 | <p>payment/checkout<br>payment/balance\_due<br>payment/processing<br>payment/requires\_authorization<br>payment/failed</p> | <p>Payment/Unpaid (including:<br>Payment/Pending<br>Payment/Overdue<br>Payment/Authorised<br>Payment/PartiallyPaid )</p> |
|                   | Paid                                                                                                                                                         | Full payment has been successfully received on the order                                                                                                                             |                                                 |                                      <p>payment/credit\_owed<br>payment/completed</p>                                      |                                                       Payment/Paid                                                       |
|                   | Cancelled Payment has been cancelled, Order State should be Held or Cancelled & no further activity should be carried out until Payment issues are resolved. |                                                                                                                                                                                      |                   payment/void                  |                                                       Payment/Voided                                                       |                                                                                                                          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dfc-standard.org/dfc-standard-documentation/technical-specifications/order-states.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
