> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.robaws.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Order execution

The **order execution** is a collection point for work orders and incoming invoices. You find it via the **'Execution' tab on the order**. From there you invoice all the lines of the linked work orders and incoming invoices in one go. Order execution is mainly used for managing and invoicing **time & materials work**.

## Activating order execution

To use order execution, you activate the function via **settings > orders > Use 'execution based invoicing'**. As soon as this is switched on, an extra **'Execution'** tab appears on every order.

| In the order execution you can set a period to determine which lines are visible. You do this with the 'from' and 'up to and including' fields.

## Invoicing from a single order

To invoice from the order execution you go through the following steps:

1. **Link** the work orders and incoming invoices to the order (by linking the order on the work order or incoming invoice). They then appear in the order execution.
2. Set the lines you want to invoice to the status **'To be invoiced'**.
3. Click **'Make invoice'**.
4. Choose the **invoice strategy** and the **diary** for which you want to draw up the invoice.

Once the invoice has been created, the order and the invoiced documents get the status **'Invoiced'**.

||| In the order execution you can adjust margin, price, discount and VAT. These adjustments are also applied to the linked work order or incoming invoice.

## Invoicing several orders at once

Besides invoicing from a single order, you can also **invoice several orders at once via the order execution, directly from the order overview**. That way you charge the work actually carried out on several orders in one movement.

### Setting the invoice strategy

You determine how invoicing is done via **settings > orders**, with three options:

| Option | What it does |
| ---- |
| **Invoice order items** (standard) | Invoicing is based on the order items. |
| **Invoice order execution** | Invoicing is based on the order execution (the work actually carried out). |
| **Ask** | When invoicing, you get to choose between 'Invoice order items' and 'Invoice order execution' yourself. |

![Invoice strategy in the order settings](https://storage.crisp.chat/users/helpdesk/website/-/e/a/d/f/eadf6dec760ec000/orderuitvoeringnl1_1ioqro2.png =800x199)

### Selecting and invoicing orders

In the **order overview**, select one or more orders and click the **€ action button** to invoice:

* Do all the selected orders belong to the **same customer**? Then one invoice is created containing all the selected orders.
* Do the orders belong to **several customers**? Then you get a message and choose from a dropdown which customer you are invoicing. The orders of the other customers are not invoiced along with them; repeat the action for the next customer.

|| Several orders for the same customer always end up together on one invoice, never one invoice per order.

### The check screen

Before the invoice is actually created, a **check screen** appears with all the lines to be invoiced from the selected order executions, merged together (items, working hours, work order items, incoming invoice items, and so on). Here you can:

* still **adjust** the line details;
* set a **period** ('from' and 'up to and including') so that only the execution lines within that period are invoiced.

Click **'Make invoice'** to create the invoice(s).