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

# Invoice Document Splitter Skill

> Split files containing multiple invoices into separate documents, and optionally separate invoices from packing lists, certificates of analysis, or annexes.

The **Invoice Document Splitter** skill splits files containing multiple invoices into separate documents for further processing. It can also separate invoices from packing lists, certificates of analysis, and other supporting documents (annexes), classifying invoices as **invoice** and the rest as **non\_invoice**.

## Use Cases

* **Processing only invoices**: In this scenario, the Invoice Document Splitter skill splits a file with multiple invoices into separate documents.
* **Processing both invoices and documents of other types**: In this scenario, the Invoice Document Splitter skill separates invoices from non-invoice documents using two skills—one for processing invoices, and another for processing documents of other types. Invoices are assigned the **invoice** class, while documents of all other types are classified as **non\_invoice**.

## Skill Components

This skill consists of the following activities:

* A Classify activity, which includes two classes: **invoice** and **non\_invoice** (the **non\_invoice** class covers annexes, email and fax headers, packing lists, waybills, and other types of documents contained within the same file)
* An Extraction Rules for extracting invoice numbers and separating documents based on reliable markers of the first page (for example, "Page 1 of 10")

## Document Splitting Criteria

A file will be split into separate documents whenever:

* A document class is identified.
* A reliable marker of the first page is extracted.
* A new invoice number is extracted.

## Setup Instructions

To use the Invoice Document Splitter skill, follow these steps:

1. Create a new Process skill.
2. Add and set up an Input activity.
3. Add an Assemble activity. For this activity, in the **Actions** pane, select the **By Document Splitter Skill** option, and then select **Invoice Document Splitter skill** from the list.
4. Add an Extract activity. For this activity:

   a. In the **Actions** pane, click the **Add Skill** button and select the desired Document skill from the list.

   b. While still in the **Actions** pane, click the configuration icon next to the name of this Document skill. In the dialog box that opens, select **invoice** in the **Class** field.

   c. If your document includes annexes, click the **Add Skill** button once again and select the appropriate Document skill for the annex. Then click the configuration icon next to name of this Document skill and select **non\_invoice** in the **Class** field.

   You can also associate the "invoice" and "non\_invoice" classes with their skills by clicking the **Edit Mapping** button at the bottom of the **Actions** pane. In the dialog box that opens, select the desired invoice skill for the "invoice" class. If you expect your documents to also include pages of other types, select an appropriate skill for the "non\_invoice" class as well.
5. Optionally, add and set up a **Manual Review** activity to verify extracted data and make any necessary adjustments to assembled documents (for example, you will be able to move pages around).
6. Add and set up an Output activity.
7. Click the **Publish Skill** button.

Once you have completed the above steps, you can use the Invoice Document Splitter skill in Vantage.
