Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ExpenseDocument

import type { ExpenseDocument } from "https://aws-api.deno.dev/v0.3/services/textract.ts?docs=full";

The structure holding all the information returned by AnalyzeExpense

interface ExpenseDocument {
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.