libZSservicesZSamazonka-textractZSamazonka-textract
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Textract.Types.ExpenseDocument

Description

 
Synopsis

Documentation

data ExpenseDocument Source #

The structure holding all the information returned by AnalyzeExpense

See: newExpenseDocument smart constructor.

Constructors

ExpenseDocument' 

Fields

Instances

Instances details
Eq ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

Read ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

Show ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

Generic ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

Associated Types

type Rep ExpenseDocument :: Type -> Type #

NFData ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

Methods

rnf :: ExpenseDocument -> () #

Hashable ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

FromJSON ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

type Rep ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

type Rep ExpenseDocument = D1 ('MetaData "ExpenseDocument" "Amazonka.Textract.Types.ExpenseDocument" "libZSservicesZSamazonka-textractZSamazonka-textract" 'False) (C1 ('MetaCons "ExpenseDocument'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lineItemGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LineItemGroup])) :*: (S1 ('MetaSel ('Just "summaryFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExpenseField])) :*: S1 ('MetaSel ('Just "expenseIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

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.