> ## Documentation Index
> Fetch the complete documentation index at: https://www.twicecommerce.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to create an order from scanned items

> Start a new order with the units in the Scanned items drawer already on its lines, on one line or a line each, and price it.

> [card] [Open in TWICE Admin](https://admin.twicecommerce.com/inventory/stock-items)
>
> inventory/stock-items

Start a new order with the scanned units already on it: scan them, then choose **Create order**. The order sells the units from now on, on sale lines that start at a price of zero. [Order Lifecycle](https://www.twicecommerce.com/docs/concepts/orders/order-lifecycle.md) explains the statuses the order moves through next.

## Prerequisites

> [!WARNING]
>
> **Required permissions:**
>
> * **Create and edit orders** (`orders:order:create`) to create the order and price its lines. Every built-in role holds it, Member included. See [Users & Roles](https://www.twicecommerce.com/docs/settings/users-roles.md).

> [!NOTE]
>
> **Have ready before you start:**
>
> * **The units**, with their codes on them, and a barcode scanner. Or tick their rows on **Inventory → Stock items** instead, which carries the same **More**.
> * **The location the order hands out from**, selected alone in the location selector in the top-left corner when your account has more than one.
> * **The price** of each unit, or of all of them together.

## The walkthrough

**1. Scan the units**

Scan the code on each unit that goes on the order, from any page except an order. The units collect in the **Scanned items** drawer at the bottom of the screen, every row ticked. Untick any unit that is not part of this order.

**2. Choose Create order**

Click **More** in the drawer's header and choose **Create order**. For more than one unit, a dialog opens titled, for example, **"Add 3 items to a new order"**. Skip the next step for a single unit.

**3. Choose the lines**

Keep **One line item** to put every unit on one line, priced together, or choose **Separate line items** for a line per unit, each priced on its own. Click **Create order** at the bottom of the dialog. When nothing is in the way, the order is created and opens.

**4. Answer what is in the way**

Skip this step unless a second dialog opens. If it reads, for example, **"1 item cannot go on a new order"**, it lists what holds each such item from now on: click **"Create order with the other 2"** to leave them out. If it reads **"Not all of these are at"** and your location, click **Create order**.

**5. Price the line**

With one line, the order opens with the **Edit line item** panel on the right. Enter the price in **Unit price** and click **Save** at the bottom of the panel. With separate lines, the order opens on its **Summary** tab: click each line's name to open its panel.

## How do I know it worked?

* **The new order opens**, its status chip in the top-right corner reading **Open**.
* **The units are on its lines.** With **One line item**, the line is named after the first stock item and the number of others, for example **Projector and 2 more**.
* **The units on the order leave the drawer.** Units left out stay in it.

Then put the customer on the order as in [Create an order](https://www.twicecommerce.com/docs/guides/orders/create-an-order.md), take payment with [Payments and deposits](https://www.twicecommerce.com/docs/guides/orders/take-payment), and hand the items over with [Start an order](https://www.twicecommerce.com/docs/guides/orders/start-an-order.md).

## Troubleshooting / common pitfalls

> [accordion] Create order is not in the More menu
>
> Ask an admin to change your role: it lacks **Create and edit orders**, or it hides creating orders. See [Users & Roles](https://www.twicecommerce.com/docs/settings/users-roles.md#what-a-role-hides).

> [accordion] A red notice says the order could not be created
>
> It reads, for example, **"The order could not be created: Not enough free units of Projector"**. You scanned more units of a stock item with identical units than are free from now on. Lower its count in the drawer's **Scanned / stock** column and try again. See [Scan stock items](https://www.twicecommerce.com/docs/guides/inventory/scan-stock-items.md).

> [accordion] The button to create the order is greyed out
>
> Another order or a reservation holds every unit you scanned at some point from now on, so nothing is left to put on the order. Pick other units, or free these with [Make scanned items available](https://www.twicecommerce.com/docs/guides/inventory/make-scanned-items-available.md).

## Related articles

> [card] [Order Lifecycle](https://www.twicecommerce.com/docs/concepts/orders/order-lifecycle.md)
>
> The statuses a new order moves through.

> [card] [Scanning and editing stock](https://www.twicecommerce.com/docs/guides/inventory/stock-codes-and-barcodes)
>
> Every walkthrough for scanning stock items and changing them in bulk.

> [card] [Scan stock items](https://www.twicecommerce.com/docs/guides/inventory/scan-stock-items.md)
>
> Collect the units by their codes first.

> [card] [Create an order](https://www.twicecommerce.com/docs/guides/orders/create-an-order.md)
>
> Put a customer and a priced line on an order.

> [card] [Start an order](https://www.twicecommerce.com/docs/guides/orders/start-an-order.md)
>
> Hand the items over when the customer collects.

> [card] [Payments and deposits](https://www.twicecommerce.com/docs/guides/orders/take-payment)
>
> Collect what the order owes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.