> ## 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 4. Step 5: Document header and InvoiceHeader group

> Build the InvoiceHeader group in FlexiLayout Studio with Static Text, Character String, Date, and Paragraph elements to identify the invoice's first page.

In the InvoiceHeader group, describe the elements that identify the first page of the document. First, find the keywords in the field names with [Static Text](/flexi-capture/fls/template/static-text) elements, and then find the field values to the right of and below each name.

The InvoiceHeader group includes these elements:

| Element               | Type                                                            | Detects                                                                       | Described in                                      |
| :-------------------- | :-------------------------------------------------------------- | :---------------------------------------------------------------------------- | :------------------------------------------------ |
| **kwInvoiceNumber**   | [Static Text](/flexi-capture/fls/template/static-text)          | Name of the **Invoice Number** field                                          | [Step 5.1](/flexi-capture/fls/tutorial4/4step5-1) |
| **kwDeliveryAddress** | [Static Text](/flexi-capture/fls/template/static-text)          | Name of the **Delivery Address** field                                        | [Step 5.2](/flexi-capture/fls/tutorial4/4step5-2) |
| **kwInvoiceDate**     | [Static Text](/flexi-capture/fls/template/static-text)          | Name of the **Invoice Date** field                                            | [Step 5.3](/flexi-capture/fls/tutorial4/4step5-3) |
| **InvoiceNumber**     | [Character String](/flexi-capture/fls/template/character-chain) | **Invoice Number** field value                                                | [Step 5.4](/flexi-capture/fls/tutorial4/4step5-4) |
| **grDate**            | [Group](/flexi-capture/fls/template/elements-compound)          | **Invoice Date** field value (**InvoiceDate** and **InvoiceDateAsString**)    | [Step 5.5](/flexi-capture/fls/tutorial4/4step5-5) |
| **grAddress**         | [Group](/flexi-capture/fls/template/elements-compound)          | **Delivery Address** field value (**wgAddressAbove** and **DeliveryAddress**) | [Step 5.6](/flexi-capture/fls/tutorial4/4step5-6) |

The **Invoice Date** field uses a [Date](/flexi-capture/fls/template/date) element for good-quality images and an **InvoiceDateAsString** [Character String](/flexi-capture/fls/template/character-chain) element as a fallback. The **Delivery Address** field has multiple lines, so a [Paragraph](/flexi-capture/fls/template/text-chain) element captures it and a **wgAddressAbove** [White Gap](/flexi-capture/fls/template/white-gap) element restricts the search area from below.

For more information about searching for dates on poor-quality images, see [Tips and Tricks](/flexi-capture/fls/tips-tricks/general).
