Skip to content

ExpenseField

Source code in docs_src/capo_textract/types/expense_field.py
class ExpenseField(TypedDict, closed=True):
    type: NotRequired["capo_textract.types.expense_type.ExpenseType"]
    """<p>The implied label of a detected element. Present alongside LabelDetection for explicit elements.</p>"""
    label_detection: NotRequired[
        "capo_textract.types.expense_detection.ExpenseDetection"
    ]
    """<p>The explicitly stated label of a detected element.</p>"""
    value_detection: NotRequired[
        "capo_textract.types.expense_detection.ExpenseDetection"
    ]
    """<p>The value of a detected element. Present in explicit and implicit elements.</p>"""
    page_number: NotRequired["capo_textract.types.u_integer.UInteger"]
    """<p>The page number the value was detected on.</p>"""
    currency: NotRequired["capo_textract.types.expense_currency.ExpenseCurrency"]
    """<p>Shows the kind of currency, both the code and confidence associated with any monatary value detected.</p>"""
    group_properties: NotRequired[
        "capo_textract.types.expense_group_property_list.ExpenseGroupPropertyList"
    ]
    """<p>Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.</p>"""

currency instance-attribute

currency: NotRequired[ExpenseCurrency]

Shows the kind of currency, both the code and confidence associated with any monatary value detected.

group_properties instance-attribute

group_properties: NotRequired[ExpenseGroupPropertyList]

Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.

label_detection instance-attribute

label_detection: NotRequired[ExpenseDetection]

The explicitly stated label of a detected element.

page_number instance-attribute

page_number: NotRequired[UInteger]

The page number the value was detected on.

type instance-attribute

type: NotRequired[ExpenseType]

The implied label of a detected element. Present alongside LabelDetection for explicit elements.

value_detection instance-attribute

value_detection: NotRequired[ExpenseDetection]

The value of a detected element. Present in explicit and implicit elements.