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

import typing

import typing_extensions


class InvoiceDeletedEventDataParams(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.
    """

    deleted: typing_extensions.NotRequired[typing.Optional[bool]]
    """
    Indicates that the invoice was deleted.
    """
