Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ExpenseDocument = ExpenseDocument' {}
- newExpenseDocument :: ExpenseDocument
- expenseDocument_lineItemGroups :: Lens' ExpenseDocument (Maybe [LineItemGroup])
- expenseDocument_summaryFields :: Lens' ExpenseDocument (Maybe [ExpenseField])
- expenseDocument_expenseIndex :: Lens' ExpenseDocument (Maybe Natural)
Documentation
data ExpenseDocument Source #
The structure holding all the information returned by AnalyzeExpense
See: newExpenseDocument
smart constructor.
ExpenseDocument' | |
|
Instances
newExpenseDocument :: ExpenseDocument Source #
Create a value of ExpenseDocument
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lineItemGroups:ExpenseDocument'
, expenseDocument_lineItemGroups
- Information detected on each table of a document, seperated into
LineItems
.
$sel:summaryFields:ExpenseDocument'
, expenseDocument_summaryFields
- Any information found outside of a table by Amazon Textract.
$sel:expenseIndex:ExpenseDocument'
, expenseDocument_expenseIndex
- Denotes which invoice or receipt in the document the information is
coming from. First document will be 1, the second 2, and so on.
expenseDocument_lineItemGroups :: Lens' ExpenseDocument (Maybe [LineItemGroup]) Source #
Information detected on each table of a document, seperated into
LineItems
.
expenseDocument_summaryFields :: Lens' ExpenseDocument (Maybe [ExpenseField]) Source #
Any information found outside of a table by Amazon Textract.
expenseDocument_expenseIndex :: Lens' ExpenseDocument (Maybe Natural) Source #
Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.