analyzeExpense
inline suspend fun TextractClient.analyzeExpense(crossinline block: AnalyzeExpenseRequest.Builder.() -> Unit): AnalyzeExpenseResponse
AnalyzeExpense synchronously analyzes an input document for financially related relationships between text.
Information is returned as ExpenseDocuments and seperated as follows:
LineItemGroups- A data set containingLineItemswhich store information about the lines of text, such as an item purchased and its price on a receipt.SummaryFields- Contains all other information a receipt, such as header information or the vendors name.