AWSTextractExpenseDocument
Objective-C
@interface AWSTextractExpenseDocument
Swift
class AWSTextractExpenseDocument
The structure holding all the information returned by AnalyzeExpense
-
This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSTextractBlock *> *_Nullable blocks;
Swift
var blocks: [AWSTextractBlock]? { get set }
-
Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable expenseIndex;
Swift
var expenseIndex: NSNumber? { get set }
-
Information detected on each table of a document, seperated into
LineItems
.Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSTextractLineItemGroup *> *_Nullable lineItemGroups;
Swift
var lineItemGroups: [AWSTextractLineItemGroup]? { get set }
-
Any information found outside of a table by Amazon Textract.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSTextractExpenseField *> *_Nullable summaryFields;
Swift
var summaryFields: [AWSTextractExpenseField]? { get set }