> ## 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.

# Multi-Page Invoice

> Sample 4 introduces a multi-page invoice and shows how FlexiLayout Studio detects document boundaries and tables that stretch across several pages.

<Warning>
  A multi-page document is used in this sample.
</Warning>

The sample document described in this section is a typical multi-page invoice. Unlike the sample documents described in the earlier sections, it has more than one page and contains a table that stretches over several pages.

<Note>
  ABBYY FlexiLayout Studio allows you to create FlexiLayouts for multi-page documents. Multi-page documents are treated as whole units, and the search for elements is not limited to individual pages. For more information, see [Multi-page FlexiLayout](/flexi-capture/fls/template/multipage).
</Note>

The Invoice sample document will be used to illustrate some non-standard approaches to locating elements. You will learn how to detect image objects that correspond to the beginning and the end of a multi-page document and how to detect multi-page elements (in this case, a multi-page table). For more information, see [Header and Footer](/flexi-capture/fls/template/elements-header-footer).

A FlexiLayout for the Invoice sample document should reliably detect the following fields on all the test images:

* **Invoice Number**
* **Invoice Date**
* **Delivery Address**
* **Total Amount**
* **Invoice Table** (**Reference**, **Designation**, **Unit**, **Quantity**, **Unit Price**, and **Total** columns)
* **Company**
