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

# IBatchItem

> IBatchItem wraps a batch, document, or page as a generic element in FlexiCapture scripts, with AsBatch, AsDocument, AsPage, and ChildItems accessors.

## What it does

Represents an element (a batch, document or page) as the type specified in the Type property.

<Note>
  This object is not available on the Web Verification Station for checking rules locally.
</Note>

## Properties

| **Name**   | **Type**                                                     | **Access** | **Name**                                          |
| ---------- | ------------------------------------------------------------ | ---------- | ------------------------------------------------- |
| AsBatch    | [IBatch](/flexi-capture/appendix/scripts/ibatch)             | Read-only  | Returns the element as a batch                    |
| AsDocument | [IDocument](/flexi-capture/appendix/scripts/idocument)       | Read-only  | Returns the element as a document                 |
| AsPage     | [IPage](/flexi-capture/appendix/scripts/ipage)               | Read-only  | Returns the element as a page                     |
| Batch      | [IBatch](/flexi-capture/appendix/scripts/ibatch)             | Read-only  | The batch that contains the element               |
| BatchName  | string                                                       | Read-only  | The name of the batch                             |
| ChildItems | [IBatchItems](/flexi-capture/appendix/scripts/i-batch-items) | Read-only  | A collection of child elements                    |
| Index      | int                                                          | Read-only  | The index number of the element in the collection |
| Parent     | IBatchItem                                                   | Read-only  | The parent element                                |
| Type       | TBatchItemType                                               | Read-only  | The type of the element                           |
