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

# Sample 3. Step 1: Create the project and remove the Header and Footer elements

> Prepare the invoice sample project: create Sample3 in ABBYY FlexiLayout Studio, add test images, and configure the FlexiLayout pre-recognition settings.

Set up the invoice project before you describe any elements.

<Steps>
  <Step title="Create a project folder">
    Create a folder and name it **Invoices One-Page**.
  </Step>

  <Step title="Start FlexiLayout Studio">
    Start ABBYY FlexiLayout Studio.
  </Step>

  <Step title="Create the project">
    Create a new project and name it **Sample3**. For more information, see Sample 1, [Step 1](/flexi-capture/fls/tutorial/step1).
  </Step>

  <Step title="Add the test images">
    Add the test images to the batch. For more information, see Sample 1, [Step 2](/flexi-capture/fls/tutorial/step2).

    <Info>
      The Sample 3 test images are in `%public%\ABBYY\FlexiCapture\12.0\Samples\FLS\English\Invoice One-Page\Invoice One-PageBatch\<page number>\Images\bwPage.frdat`.
    </Info>
  </Step>

  <Step title="Set the FlexiLayout properties">
    For more information, see Sample 1, [Step 3](/flexi-capture/fls/tutorial/step3).

    * Under **Text type**, select **Typographic**.
    * In **Text languages**, select **English**. FlexiLayout Studio lets you specify more than one language.
    * Name the FlexiLayout **Invoice**.
    * Select the **Fast** pre-recognition mode, and set **Minimum number of pages** and **Maximum number of pages** to 1.

    <Frame>
      <img src="https://mintcdn.com/abbyy/r-nfa7jujx5b9gKX/images/flexi-capture/fls/tutorial3_1.png?fit=max&auto=format&n=r-nfa7jujx5b9gKX&q=85&s=92184af6d950cb63c9c2cab75f80773a" alt="Screenshot of the General tab of the Properties of Invoices FlexiLayout dialog box in ABBYY FlexiLayout Studio, showing the FlexiLayout named Invoices with English text language and minimum and maximum number of pages set to 1." width="433" height="456" data-path="images/flexi-capture/fls/tutorial3_1.png" />
    </Frame>
  </Step>
</Steps>

## Remove the Header and Footer elements

A FlexiLayout has predefined compound **Header** and **Footer** elements that mark the beginning and end of a document. When you match the FlexiLayout and it finds neither element, FlexiLayout Studio uses the maximum number of pages as the document's page count.

This document has one page, and its maximum number of pages is set to 1, so you do not need the **Header** and **Footer** elements. Remove them from the list of FlexiLayout elements.
