Skip to content

ExpenseDocument

Source code in docs_src/capo_textract/types/expense_document.py
class ExpenseDocument(TypedDict, closed=True):
    expense_index: NotRequired["capo_textract.types.u_integer.UInteger"]
    """<p>Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.</p>"""
    summary_fields: NotRequired[
        "capo_textract.types.expense_field_list.ExpenseFieldList"
    ]
    """<p>Any information found outside of a table by Amazon Textract.</p>"""
    line_item_groups: NotRequired[
        "capo_textract.types.line_item_group_list.LineItemGroupList"
    ]
    """<p>Information detected on each table of a document, seperated into <code>LineItems</code>.</p>"""
    blocks: NotRequired["capo_textract.types.block_list.BlockList"]
    """<p>This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.</p>"""

blocks instance-attribute

blocks: NotRequired[BlockList]

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

expense_index instance-attribute

expense_index: NotRequired[UInteger]

Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.

line_item_groups instance-attribute

line_item_groups: NotRequired[LineItemGroupList]

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

summary_fields instance-attribute

summary_fields: NotRequired[ExpenseFieldList]

Any information found outside of a table by Amazon Textract.