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

import typing

import typing_extensions


class TransferOrderGoodsReceiptLineItemParams(typing_extensions.TypedDict):
    """
    A simplified line item for goods receipts in transfer orders
    """

    transfer_order_line_uid: str
    """
    The unique identifier of the Transfer Order line being received
    """

    quantity_received: typing_extensions.NotRequired[typing.Optional[str]]
    """
    The quantity received for this line item as a decimal string (e.g. "10.5").
    These items will be added to the destination [Location](entity:Location)'s inventory with [InventoryState](entity:InventoryState) of IN_STOCK.
    """

    quantity_damaged: typing_extensions.NotRequired[typing.Optional[str]]
    """
    The quantity that was damaged during shipping/handling as a decimal string (e.g. "1.5").
    These items will be added to the destination [Location](entity:Location)'s inventory with [InventoryState](entity:InventoryState) of WASTE.
    """

    quantity_canceled: typing_extensions.NotRequired[typing.Optional[str]]
    """
    The quantity that was canceled during shipping/handling as a decimal string (e.g. "1.5"). These will be immediately added to inventory in the source location.
    """
