# Sales Invoice ⛭

See [Ref #](/setup/configuration/ref.md)

See [Documents and Templates](/setup/configuration/document-templates.md)[ ⛭](/setup/configuration/document-templates.md)

### Invoicing Per Warehouse/Site

If you ship from multiple Warehouses or Sites, you can create Invoices (or Cash Sales) per location.&#x20;

{% hint style="info" %}
This functionality only works if the Sales Invoice (or Cash Sale) is raised from the Sales Order List, not from the document.&#x20;
{% endhint %}

<mark style="color:orange;">Setup > Configuration > Sales Invoice</mark>

To enable this functionality, check 'Create Invoice Per Warehouse' and Save.&#x20;

When this functionality is enabled, individual Sales Invoices will be created for each Warehouse/Site on the Sales Order.&#x20;

The first invoice is created fro the first found Site/Warehouse on the line item table.&#x20;

Non-Stock Items will be included in the first invoice.&#x20;

While Kit Items can contain Non-Stock Items, these will not be divided on Sales Invoices and Cash Sales.&#x20;

#### Restrictions

The following items are not compatible with this functionality:&#x20;

* Percentage
* Subtotal
* Group Items

### Invoicing and insufficient stock levels

| Setting                           | Notes |
| --------------------------------- | ----- |
| Over allocate stock               |       |
| Do not allow document to be saved |       |


---

# 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://helpwith.salesorder.com/setup/configuration/sales-invoice.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.
