interface GetExpenseAnalysisResponse {
    AnalyzeExpenseModelVersion?: string;
    DocumentMetadata?: DocumentMetadata;
    ExpenseDocuments?: ExpenseDocument[];
    JobStatus?: JobStatus;
    NextToken?: string;
    StatusMessage?: string;
    Warnings?: Warning[];
}

Hierarchy (view full)

Properties

AnalyzeExpenseModelVersion?: string

The current model version of AnalyzeExpense.

DocumentMetadata?: DocumentMetadata

Information about a document that Amazon Textract processed. DocumentMetadata is returned in every page of paginated responses from an Amazon Textract operation.

ExpenseDocuments?: ExpenseDocument[]

The expenses detected by Amazon Textract.

JobStatus?: JobStatus

The current status of the text detection job.

NextToken?: string

If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text-detection results.

StatusMessage?: string

Returns if the detection job could not be completed. Contains explanation for what error occured.

Warnings?: Warning[]

A list of warnings that occurred during the text-detection operation for the document.