> For the complete documentation index, see [llms.txt](https://astro-rpa.gitbook.io/astro-rpa-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://astro-rpa.gitbook.io/astro-rpa-user-guide/g_elements/el_basic/els_ocr/el_ocr_flexi/el_ocr_flexi_process.md).

# Process documents

Element that processes documents using FlexiCapture server

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-6fc438d686ebff6155b9b035146ca8ef5de99761%2Fimage%20\(223\).png?alt=media)

* Project\*: \[String] Project name
* Batch\*: \[String] Batch name
* Document: \[String] Path to document file
* Documents array: \[List] Array of paths to document files
* Delete batch: Delete batch on finish
* Time-out\*: \[Int32] Maximum waiting time for process completion (ms)
* Result: \[LTools.OCR.Model.FlexiCapture.RecognitionResults] Document processing result

LTools.OCR.Model.FlexiCapture.RecognitionResults - Properties:

* Items \[List: Processing results array

LTools.OCR.Model.FlexiCapture.RecognitionDocument - Properties:

* \[string (template name)] \[LTools.OCR.Model.FlexiCapture.RecognitionResult]: Template processing result
* Items \[List]: Processed templates array
* Xml \[string]: Raw server data

LTools.OCR.Model.FlexiCapture.RecognitionResult - Properties:

* \[string (field name)] \[string]: Field data
* \[int (index)] \[KeyValuePair?]: Field data (key - field name, value - field data)
* Fields \[Dictionary]: Fields array (key - field name, value - field data)
* Tables \[Dictionary>>]: Tables array (key - table name, value - tables array)
* TemplateName \[string]: Template name
* State \[string]: Processing result state
