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

# BatchItem Object (IBatchItem Interface)

This object corresponds to a batch item. A batch item can represent a page or a document.

The **BatchItem** object should be used in addition to the usual functionality in scenarios when an item of a batch can be a [document set](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md#documents) as well as a single document. Marking a document as a **BatchItem** allows you to include more child documents into it.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **AsDocument** | [**Document**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/document.md), read-only | Returns a **Document** object, if the batch item is a document. Otherwise this property is NULL. |
| **AsPage** | [**Page**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/page.md), read-only | Returns a **Page** object, if the batch item is a page. Otherwise this property is NULL. |
| **ChildItems** | [**BatchItems**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batchitems.md), read-only | Returns a collection of child items of the batch item. |
| **Id** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores an identifier of the batch item. |
| **Type** | [**BatchItemTypeEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batchitemtypeenum.md), read-only | Stores the type of the batch item. |

## Related objects

![](https://mintcdn.com/abbyy/89WLEbAVqQ-ysQEU/images/flexi-capture/sdk/BatchItem.gif?s=bc17c4b280bfa835bd193be50641372b)

## See also

[**BatchItems**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batchitems.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
