ExpenseDocument
import type { ExpenseDocument } from "https://aws-api.deno.dev/v0.4/services/textract.ts?docs=full";
The structure holding all the information returned by AnalyzeExpense
interface ExpenseDocument {
Blocks?: Block[] | null;
ExpenseIndex?: number | null;
LineItemGroups?: LineItemGroup[] | null;
SummaryFields?: ExpenseField[] | null;
}§Properties
§
ExpenseIndex?: number | null
[src]Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.
§
LineItemGroups?: LineItemGroup[] | null
[src]Information detected on each table of a document, seperated into LineItems
.
§
SummaryFields?: ExpenseField[] | null
[src]Any information found outside of a table by Amazon Textract.