Class: Aws::Textract::Types::ExpenseDocument

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb

Overview

The structure holding all the information returned by AnalyzeExpense

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expense_indexInteger

Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.

Returns:

  • (Integer)


612
613
614
615
616
617
618
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 612

class ExpenseDocument < Struct.new(
  :expense_index,
  :summary_fields,
  :line_item_groups)
  SENSITIVE = []
  include Aws::Structure
end

#line_item_groupsArray<Types::LineItemGroup>

Information detected on each table of a document, seperated into LineItems.

Returns:



612
613
614
615
616
617
618
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 612

class ExpenseDocument < Struct.new(
  :expense_index,
  :summary_fields,
  :line_item_groups)
  SENSITIVE = []
  include Aws::Structure
end

#summary_fieldsArray<Types::ExpenseField>

Any information found outside of a table by Amazon Textract.

Returns:



612
613
614
615
616
617
618
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 612

class ExpenseDocument < Struct.new(
  :expense_index,
  :summary_fields,
  :line_item_groups)
  SENSITIVE = []
  include Aws::Structure
end