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

# DocumentEx

> ABBYY FlexiCapture Web Services API の DocumentEx データ型：ページ、処理ステータス、エラー、優先度などの拡張文書情報。

**DocumentEx** データ型には、文書に関する詳細情報が格納されます。以前の Web Services API の [Document](/ja/flexi-capture/api/structures/document) データ型に代わるものです。

<div id="fields">
  ## Fields
</div>

| 名前                    | 型                                                                                  | 説明                                                                                                         |
| --------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `Id`                  | `int`                                                                              | 文書の ID。Application Server によって自動的に設定されます。                                                                  |
| `Pages`               | [Page](/ja/flexi-capture/api/structures/page)`[]`                                  | 文書内のページのセット。                                                                                               |
| `PageCount`           | `int`                                                                              | 文書内のページ数。                                                                                                  |
| `IsProcessed`         | `bool`                                                                             | 文書が処理済みかどうかを示すフラグ。処理済みの場合は `True`、未処理の場合は `False`。Application Server によって自動的に設定されます。                       |
| `HasProcessingErrors` | `bool`                                                                             | 処理エラーが発生したかどうかを示すフラグ。処理エラーが発生した場合は `True`、発生していない場合は `False`。Application Server によって自動的に設定されます。            |
| `HasDocumentErrors`   | `bool`                                                                             | 形式、ルール、アセンブリ エラーなどの文書エラーがあるかどうかを示すフラグ。文書にエラーがある場合は `True`、ない場合は `False`。Application Server によって自動的に設定されます。 |
| `ErrorText`           | `string`                                                                           | 文書処理エラーの説明。Application Server によって自動的に設定されます。                                                              |
| `ExternalId`          | `string`                                                                           | 文書の外部 ID。空のままにすると、Application Server によって自動的に設定され、`Id` と同じ値になります。                                          |
| `FileVersion`         | `int`                                                                              | サーバー上の文書ファイルのバージョン。Application Server によって自動的に設定されます。                                                      |
| `OwnerId`             | `int`                                                                              | 文書が割り当てられているユーザーの ID。                                                                                      |
| `Properties`          | [RegistrationProperty](/ja/flexi-capture/api/structures/registration-property)`[]` | 文書の登録パラメーターのセット。                                                                                           |
| `PropertiesCount`     | `int`                                                                              | 文書の登録パラメーター数。                                                                                              |
| `Priority`            | `int`                                                                              | 文書の優先度。指定可能な値については、[ProcessingPriority](/ja/flexi-capture/api/structures/t-priority) を参照してください。            |
