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

# Create the data transform for a single-document processing case

> Configure the jsonToInvoiceWithVerificationFields data transform that maps ABBYY FlexiCapture invoice fields and line items to a single-document Pega case.

A single-document processing case needs one data transform. It maps the invoice fields and the line items that ABBYY FlexiCapture returns to the case properties.

For the general procedure, see [Create a set of data transforms in Pega](/flexi-capture/connectors/pega/pega-data-transform-2).

## jsonToInvoiceWithVerificationFields

| Action   | Clipboard        | Relation | JSON            |
| -------- | ---------------- | -------- | --------------- |
| Set      | `.InvoiceNumber` | equal to | `InvoiceNumber` |
| Set      | `.InvoiceDate`   | equal to | `InvoiceDate`   |
| Set      | `.City`          | equal to | `City`          |
| Set      | `.Country`       | equal to | `Country`       |
| Set      | `.Currency`      | equal to | `Currency`      |
| Set      | `.Total`         | equal to | `Total`         |
| Auto-map | `.LineItems`     | To       | `LineItems`     |

<Frame>
  <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega174.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=a40b3e6caea76a5450eb3080cf352e2e" alt="Screenshot of the jsonToInvoiceWithVerificationFields data transform Definition tab in Pega Dev Studio mapping the .InvoiceNumber, .InvoiceDate, .City, .Country, .Currency, and .Total clipboard properties to JSON and auto-mapping .LineItems." width="1204" height="616" data-path="images/flexi-capture/connectors/Pega174.png" />
</Frame>
