Values.ExpenseDocumentSourceThe structure holding all the information returned by AnalyzeExpense
type nonrec t = {expenseIndex : UInteger.t option;Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.
*)summaryFields : ExpenseFieldList.t option;Any information found outside of a table by Amazon Textract.
*)lineItemGroups : LineItemGroupList.t option;Information detected on each table of a document, seperated into LineItems.
*)blocks : BlockList.t option;This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Integer of UInteger.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Float of Percent.t
| `Integer of UInteger.t
| `List of
[> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of String_.t
| `Structure of
(string
* [> `Integer of UInteger.t
| `List of
[> `Structure of
(string
* [> `List of
[> `String of String_.t ] list
| `String of String_.t ])
list ]
list
| `Structure of
(string
* [> `Float of Percent.t
| `String of String_.t
| `Structure of
(string
* [> `Float of Angle.t
| `List of
[> `Structure of
(string
* [> `Float of Float_.t ])
list ]
list
| `Structure of
(string * [> `Float of Float_.t ])
list ])
list ])
list ])
list ]
list
| `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Float of Percent.t
| `List of
[> `String of QueryPage.t
| `Structure of
(string * [> `Float of Float_.t ]) list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Float of Angle.t
| `List of
[> `Structure of
(string * [> `Float of Float_.t ]) list ]
list
| `Structure of
(string * [> `Float of Float_.t ]) list ])
list ])
list ])
list ]
list ])
list ]