# This file was auto-generated by Fern from our API Definition.

import typing_extensions
import typing_extensions
import typing
from .invoice_canceled_event_object import InvoiceCanceledEventObjectParams


class InvoiceCanceledEventDataParams(typing_extensions.TypedDict):
    type: typing_extensions.NotRequired[typing.Optional[str]]
    """
    Name of the affected object’s type, `"invoice"`.
    """

    id: typing_extensions.NotRequired[str]
    """
    ID of the affected invoice.
    """

    object: typing_extensions.NotRequired[InvoiceCanceledEventObjectParams]
    """
    An object containing the canceled invoice.
    """
