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

# サンプル 4. ステップ 3: Blocks

> サンプル 4 の請求書 FlexiLayout 用に、Text ブロックと Table ブロック（InvoiceNumber、InvoiceDate、DeliveryAddress、TotalAmount、Company、InvoiceTable）を作成します。

FlexiLayout で、次のブロックを確実に検出できるようにします (対象の画像上に存在する場合) 。

* **請求書番号**
* **請求日**
* **配送先住所**
* **合計金額**
* **請求書テーブル** (列: **Reference**、**Designation**、**Unit**、**Quantity**、**UnitPrice**、**Total**)
* **Company**

作業しやすいように、必要なブロックをすべてリスト化します。

1. **請求書番号** field には、型 Text のブロックを作成し、名前を **InvoiceNumber** にします。
2. **請求日** field には、型 Text のブロックを作成し、名前を **InvoiceDate** にします。
3. **配送先住所** field には、型 Text のブロックを作成し、名前を **DeliveryAddress** にします。
4. **合計金額** field には、型 Text のブロックを作成し、名前を **TotalAmount** にします。
5. **Company** field には、型 Text のブロックを作成し、名前を **Company** にします。
6. **請求書テーブル** field には、型 Table のブロックを作成し、名前を **InvoiceTable** にします。
   ブロックの **Properties** ダイアログで \[Columns] タブをクリックし、次の順序で列名を追加します: **Reference**、**Designation**、**Unit**、**Quantity**、**UnitPrice**、**Total**。

<Note>
  指定した列名とその順序は、FlexiCapture の Document Definition でこのブロックに対応します。
</Note>

<Note>
  Table ブロックの作成について詳しくは、[Sample 3. Step 3](/ja/flexi-capture/fls/tutorial3/3step3) を参照してください。
</Note>

これで FlexiLayout のプロパティを指定できたので、必要な要素を作成できます。
