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

# Document

> Column reference for the Document table, which stores an ABBYY FlexiCapture document's batch, project, Document Definition, and tenant details.

## <a id="start" />Purpose

Contains information available for the document by the time when its processing completed.

[Diagram of relationships between Document state details](/flexi-capture/reporting-service/reporting-db-document-state)

[Diagram of relationships between Document editing details](/flexi-capture/reporting-service/reporting-db-document-editing)

## List of columns

<table width="100%"><tbody><tr><td><p><strong>Key</strong></p></td><td><p><strong>Name</strong></p></td><td><p><strong>Type</strong></p></td><td><p><strong>Required</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td rowspan="2"><p>PK</p></td><td><p>DocumentProcessedDate</p></td><td><p>date</p></td><td><p>yes</p></td><td><p>The date when the document's state changed to "Processed." Corresponds to the ProcessedDate field in this table, but without the time stamp.</p></td></tr><tr><td><p>ID</p></td><td><p>bigint</p></td><td><p>yes</p></td><td><p>Document identifier.</p></td></tr><tr><td rowspan="15"> </td><td><p>BatchId</p></td><td><p>int</p></td><td><p>yes</p></td><td><p>Batch identifier.</p></td></tr><tr><td><p>BatchDocumentID</p></td><td><p>smallint</p></td><td><p>yes</p></td><td><p>The identifier of the document inside the batch.</p></td></tr><tr><td><p>BatchName</p></td><td><p>nvarchar</p></td><td><p>yes</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>yes</p></td><td><p>Batch type identifier. Has the value "<strong>null</strong>" for "<strong>Default</strong>" batches.</p></td></tr><tr><td><p>BatchTypeName</p></td><td><p>nvarchar</p></td><td><p>yes</p></td><td><p>The name of the batch type.</p></td></tr><tr><td><p>CreateDate</p></td><td><p>datetime</p></td><td><p>yes</p></td><td><p>The date and time when the document was created.</p></td></tr><tr><td><p>DatabaseGuide</p></td><td><p>uniqueidentifier</p></td><td><p>yes</p></td><td><p>The identifier of the <a href="/flexi-capture/admin-guide/create-database">main ABBYY FlexiCapture database</a>.</p></td></tr><tr><td><p>ProcessedDate</p></td><td><p>datetime</p></td><td><p>yes</p></td><td><p>The date and time when the documents's state changed to "Processed."</p></td></tr><tr><td><p>ProjectId</p></td><td><p>int</p></td><td><p>yes</p></td><td><p>Project identifier.</p></td></tr><tr><td><p>ProjectName</p></td><td><p>nvarchar</p></td><td><p>yes</p></td><td><p>The name of the project</p></td></tr><tr><td><p><a id="templateid" />TemplateID</p></td><td><p>int</p></td><td><p>yes</p></td><td><p>The identifier of the Document Definition.</p></td></tr><tr><td><p><a id="templatename" />TemplateName</p></td><td><p>nvarchar</p></td><td><p>yes</p></td><td><p>The name of the Document Definition.</p></td></tr><tr><td><p><a id="templateversion" />TemplateVersion</p></td><td><p>int</p></td><td><p>yes</p></td><td><p>The version number of the Document Definition.</p></td></tr><tr><td><p>TenantID</p></td><td><p>int</p></td><td><p>yes</p></td><td><p>The identifier of the tenant.</p></td></tr><tr><td><p>TenantName</p></td><td><p>nvarchar</p></td><td><p>yes</p></td><td><p>The name of the tenant.</p></td></tr></tbody></table>
