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

# Batch

> Batch data type in the ABBYY FlexiCapture Web Services API: holds batch details like ID, name, type, priority, document counts, and processing statistics.

## What it does

The **Batch** data type stores information about a batch.

## Fields

<table width="100%"><tbody><tr><td><p><strong>Name</strong></p></td><td><p><strong>Type</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td><p>Id</p></td><td><p>int</p></td><td><p>The ID of the batch</p></td></tr><tr><td><p>Name</p></td><td><p>string</p></td><td><p>The name of the batch</p></td></tr><tr><td><p>BatchTypeId</p></td><td><p>int</p></td><td><p>The ID of the batch type. 0 corresponds to the "Default" batch type</p></td></tr><tr><td><p>Priority</p></td><td><p>int</p></td><td><p>Batch priority. Possible values: see <a href="/flexi-capture/api/structures/t-priority">Priority</a>.</p></td></tr><tr><td><p>Description</p></td><td><p>string</p></td><td><p>A description of the batch</p></td></tr><tr><td><p>ElapsedProcessingSeconds</p></td><td><p>int</p></td><td><p>The time remaining until the deadline for processing the batch, in seconds</p></td></tr><tr><td><p>HasAttachments</p></td><td><p>bool</p></td><td><p>A flag that shows whether the batch has attachments</p></td></tr><tr><td><p>Properties</p></td><td><p><a href="/flexi-capture/api/structures/registration-property">RegistrationProperty</a>\[]</p></td><td><p>The set of registration parameters for the batch</p></td></tr><tr><td><p>StageExternalId</p></td><td><p>int</p></td><td><p>The ID of the processing stage in which the task is created</p></td></tr><tr><td><p>CreationDate</p></td><td><p>long</p></td><td><p>The date and time when the batch was created. Completed when the batch is being created. Cannot be modified later. To convert values, use the following methods (C#):</p><pre><code>DateTime dtTime;
long lTime;
...
// conversion from DateTime to long
dTime = DateTime.FromFileTime(lTime);
...
// conversionfrom long to DateTime
lTime = dTime.ToFileTime();</code></pre></td></tr><tr><td><p>SLAExpirationDate</p></td><td><p>datetime</p></td><td><p>Processing deadline of the batch</p></td></tr><tr><td><p>SLAStartDate</p></td><td><p>long</p></td><td><p>Batch processing start time and date. Completed when the batch is being created. Cannot be modified later. To convert values, use the following methods (C#):</p><pre><code>DateTime dtTime;
long lTime;
...
// conversion from DateTime to long
dTime = DateTime.FromFileTime(lTime);
...
// conversionfrom long to DateTime
lTime = dTime.ToFileTime();</code></pre></td></tr><tr><td><p>DocumentsCount</p></td><td><p>int</p></td><td><p>The number of documents in the batch</p></td></tr><tr><td><p>RecognizedDocumentsCount</p></td><td><p>int</p></td><td><p>The number of recognized documents</p></td></tr><tr><td><p>AssembledDocumentsCount</p></td><td><p>int</p></td><td><p>The number of assembled documents</p></td></tr><tr><td><p>VerifiedDocumentsCount</p></td><td><p>int</p></td><td><p>The number of verified documents</p></td></tr><tr><td><p>ExportedDocumentsCount</p></td><td><p>int</p></td><td><p>The number of exported documents</p></td></tr><tr><td><p>PagesCount</p></td><td><p>int</p></td><td><p>The number of pages in the batch</p></td></tr><tr><td><p>ProjectId</p></td><td><p>int</p></td><td><p>Identifier of the project the batch belongs to. Corresponds to the entry identifier in the <a href="/flexi-capture/reports/database/project-reports-database">Project</a> table</p></td></tr><tr><td><p>RecognizedSymbolsCount</p></td><td><p>int</p></td><td><p>The number of recognized characters</p></td></tr><tr><td><p>UncertainSymbolsCount</p></td><td><p>int</p></td><td><p>The number of uncertain characters</p></td></tr><tr><td><p>VerificationSymbolsCount</p></td><td><p>int</p></td><td><p>The number of verified characters</p></td></tr><tr><td><p>ErrorText</p></td><td><p>string</p></td><td><p>A description of the batch processing errors. Completed automatically by the Application Server.</p></td></tr><tr><td><p>OwnerId</p></td><td><p>int</p></td><td><p>The ID of the user or group who owns the project</p></td></tr><tr><td><p>CreatorId</p></td><td><p>int</p></td><td><p>The ID of the user who created the batch (completed when the batch is being created; cannot be modified later)</p></td></tr></tbody></table>
