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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

#blocksArray<Types::Block>

This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.

Returns:



1181
1182
1183
1184
1185
1186
1187
1188
# File 'lib/aws-sdk-textract/types.rb', line 1181

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

#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)


1181
1182
1183
1184
1185
1186
1187
1188
# File 'lib/aws-sdk-textract/types.rb', line 1181

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

#line_item_groupsArray<Types::LineItemGroup>

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

Returns:



1181
1182
1183
1184
1185
1186
1187
1188
# File 'lib/aws-sdk-textract/types.rb', line 1181

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

#summary_fieldsArray<Types::ExpenseField>

Any information found outside of a table by Amazon Textract.

Returns:



1181
1182
1183
1184
1185
1186
1187
1188
# File 'lib/aws-sdk-textract/types.rb', line 1181

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