> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/sales/invoice/invoice-and-packing-slip-batch-centre/creating-an-invoice-batch.md).

# Creating an Invoice Batch

### Overview

The Invoice Batch functionality allows users to group multiple invoices into a single batch for streamlined processing, tracking, and financial management. The grouping of invoices is controlled through the **Invoice Batch Creation Criteria** app configuration, ensuring that only compatible invoices are consolidated into the same batch.

***

### App Configuration Requirement

Before creating an Invoice Batch, ensure that the following configuration is set:

1. **Invoice Batch Creation Criteria**

**Location:** Menu → App Config → **General** → **Invoice Batch Creation Criteria**

**Functionality:**

* This configuration determines how invoices are grouped into batches.
* Multiple options can be selected, and the system will group Invoices into the same batch only when all selected criteria match.

**Available Options:**

* Tracking Number
* BOL Number
* Currency
* Customer

By default, all parameters are selected in the app configuration.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2F8YAl7vvBiZ3qtBdgKeSt%2Fimage.png?alt=media&amp;token=b1599912-f05e-4ec8-b0d5-fcef0f533d24" alt=""><figcaption></figcaption></figure>

***

### Workflow

### Workflow

**Step 1:** Navigate to **Menu → App Config → General → Invoice Batch Creation Criteria** and select the parameters (e.g., Tracking Number, BOL Number, Currency, Customer) that should be used to group invoices.

**Step 2:** Go to the **Invoice Centre**, which displays all existing invoices, and select the invoices that you want to include in the batch.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FeeLBHs9goj2fBoY0NXs2%2Fimage.png?alt=media&amp;token=5177a5ab-b568-4488-840e-31bbe4eb0b22" alt=""><figcaption></figcaption></figure>

**Step 3:** Click on the **Options** dropdown menu and select the **Generate Invoice Batch** option.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FSBpA1u6efc3P9TPUTFPM%2Fimage.png?alt=media&amp;token=e667af87-851b-43ac-a0f3-ec9e9bbabc7a" alt=""><figcaption></figcaption></figure>

**Step 4:** A dialog box will appear displaying the **Consolidation Identifier** dropdown with the following options:

* Nothing Selected
* Tracking Number
* BOL Number

Select the appropriate option and click **Generate**.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2F35nSwdy5AJtTiX1Pa0PN%2Fimage.png?alt=media&amp;token=9415caa4-5f94-43c2-83f4-7f22e57cf721" alt=""><figcaption></figcaption></figure>

**Step 5:** The system evaluates the selected invoices based on the configured **Invoice Batch Creation Criteria** and the selected **Consolidation Identifier**.

* If the criteria match, a single batch is created and becomes visible in the **Invoice & Packing Slip Batch Centre**.
* If the criteria do not match, separate batches are created based on grouping conditions.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FqxHGnmpXM0wv1f1pCeIB%2Fimage.png?alt=media&amp;token=f3bc858a-390b-4a19-85d6-796ae9126ac0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FyHiXVbcYBvPopfwdmMj4%2Fimage.png?alt=media&amp;token=b95b14dc-b5c8-4af6-9029-da745bed3480" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FpT33xBSUzrd4EZfmK27l%2Fimage.png?alt=media&amp;token=505391d4-7147-48b2-b17a-a5941342a5b6" alt=""><figcaption></figcaption></figure>

* If no criteria are selected in the app configuration, the system creates a single batch containing all selected invoices.

***

### Validation Rules

1. You will be unable to generate a batch for invoices that already exist in a batch.
2. Invoices missing required grouping parameters (e.g., Tracking Number or BOL Number) will not be included in the batch.
3. If a batch contains multiple customers, the **Customer Name, Customer Full Name, and Customer Account#** fields will display comma-separated values.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.xorosoft.com/xoroerp-1/sales/invoice/invoice-and-packing-slip-batch-centre/creating-an-invoice-batch.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
