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

# PageEx

> PageEx data type in the ABBYY FlexiCapture Web Services API: extended page information including source file, source page number, and error text.

## What it does

The **PageEx** data type stores extended information about a document page. It replaces the [Page](/flexi-capture/api/structures/page) data type from the previous version of the Web Services API.

## Fields

| Name               | Type     | Description                                                                                                                                                             |
| ------------------ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Id`               | `int`    | The ID of the page. Completed automatically by the Application Server.                                                                                                  |
| `SourceFileName`   | `string` | The name of the source image file.                                                                                                                                      |
| `SourcePageNumber` | `string` | The number of the image in the source file.                                                                                                                             |
| `ErrorText`        | `string` | A description of the page processing errors. Completed automatically by the Application Server.                                                                         |
| `ExternalId`       | `string` | The external ID of the page. If left empty, the parameter is completed automatically by the Application Server and is the same as `Id`.                                 |
| `SourceDetails`    | `string` | A description of the source of the page image.                                                                                                                          |
| `PreviousPageId`   | `int`    | The ID of the document page after which a new page must be added. Use `0` to add a page at the start of the document, or `-1` to add a page at the end of the document. |
