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

# Creating a set of transforms for a multi-document processing case

> Set up the jsonToInvoice, jsonToBanking, jsonToContract, jsonToLetter, and jsonToPrice data transforms that map FlexiCapture data to a multi-document Pega case.

## <a id="jsontoinvoice" />jsonToInvoice

For more information about creating data transforms, see [Creating a set of data transforms in Pega](/flexi-capture/connectors/pega/pega-data-transform-2).

| **Action** | **Clipboard**    | **Relation** | **JSON**        |
| ---------- | ---------------- | ------------ | --------------- |
| Set        | .InvoiceNumber   | equal to     | InvoiceNumber   |
| Set        | .InvoiceDate     | equal to     | InvoiceDate     |
| Set        | .Total           | equal to     | Total           |
| Set        | .DeliveryAddress | equal to     | DeliveryAddress |
| Set        | .InvoiceCompany  | equal to     | InvoiceCompany  |
| Auto-map   | .InvoiceTable    | To           | InvoiceTable    |

<Frame>
  <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega175.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=fc5060a753f1cf3907e67af1c45334df" alt="Screenshot of the jsonToInvoice data transform Definition tab in Pega Dev Studio mapping the .InvoiceNumber, .InvoiceDate, .Total, .DeliveryAddress, and .InvoiceCompany clipboard properties to JSON and auto-mapping .InvoiceTable." width="896" height="441" data-path="images/flexi-capture/connectors/Pega175.png" />
</Frame>

## <a id="jsontobanking" />jsonToBanking

| **Action** | **Clipboard** | **Relation** | **JSON**     |
| ---------- | ------------- | ------------ | ------------ |
| Set        | .SSN          | equal to     | SSN          |
| Set        | .LastName     | equal to     | LastName     |
| Set        | .FirstName    | equal to     | FirstName    |
| Set        | .Initial      | equal to     | Initial      |
| Set        | .City         | equal to     | City         |
| Set        | .BirthDate    | equal to     | BirthDate    |
| Set        | .HomePhone    | equal to     | HomePhone    |
| Set        | .WorkPhone    | equal to     | WorkPhone    |
| Set        | .EmployerName | equal to     | EmployerName |
| Auto-map   | .Address      | To           | Address      |

<Frame>
  <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega176.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=7a1dd3b88562981bca0d8cfcc2ad15f1" alt="Screenshot of the jsonToBanking data transform Definition tab in Pega Dev Studio mapping the .SSN, .LastName, .FirstName, .Initial, .City, .BirthDate, .HomePhone, .WorkPhone, and .EmployerName clipboard properties to JSON and auto-mapping .Address." width="1181" height="736" data-path="images/flexi-capture/connectors/Pega176.png" />
</Frame>

## <a id="jsontocontract" />jsonToContract

| **Action** | **Clipboard**   | **Relation** | **JSON**       |
| ---------- | --------------- | ------------ | -------------- |
| Set        | .ContractNumber | equal to     | ContractNumber |
| Set        | .ContractDate   | equal to     | ContractDate   |

<Frame>
  <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega177.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=63b9926678493fee66c5f4ee3a46b2e0" alt="Screenshot of the jsonToContract data transform Definition tab in Pega Dev Studio mapping the .ContractNumber and .ContractDate clipboard properties to the matching JSON properties." width="952" height="310" data-path="images/flexi-capture/connectors/Pega177.png" />
</Frame>

## <a id="jsontoletter" />jsonToLetter

| **Action** | **Clipboard** | **Relation** | **JSON**   |
| ---------- | ------------- | ------------ | ---------- |
| Set        | .LetterDate   | equal to     | LetterDate |
| Set        | .LetterFrom   | equal to     | LetterFrom |
| Set        | .LetterTo     | equal to     | LetterTo   |

<Frame>
  <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega178.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=5b0639aeb0adf85eba3573476ac35eac" alt="Screenshot of the jsonToLetter data transform Definition tab in Pega Dev Studio mapping the .LetterDate, .LetterFrom, and .LetterTo clipboard properties to the matching JSON properties." width="1208" height="455" data-path="images/flexi-capture/connectors/Pega178.png" />
</Frame>

## <a id="jsontoprice" />jsonToPrice

| **Action** | **Clipboard** | **Relation** | **JSON**   |
| ---------- | ------------- | ------------ | ---------- |
| Set        | .PriceCompany | equal to     | Company    |
| Auto-map   | .PriceTable   | To           | PriceTable |

<Frame>
  <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega179.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=1abf1a606ab55c9773033779950c2ea7" alt="Screenshot of the jsonToPrice data transform Definition tab in Pega Dev Studio mapping the .PriceCompany clipboard property to the Company JSON property and auto-mapping .PriceTable." width="1208" height="395" data-path="images/flexi-capture/connectors/Pega179.png" />
</Frame>
