Type alias LineItem

LineItem: {
    description?: string;
    id: string;
    price: number;
    quantity: number;
    sortOrder?: number;
    taxId?: string;
    type: LineItem.type;
    unit?: string;
}

Type declaration

  • Optional description?: string

    Description of the invoiceable item

  • id: string

    ID of the invoiceable item

  • price: number

    Price of the invoiceable item

  • quantity: number

    Quantity of the invoiceable item

  • Optional sortOrder?: number

    Sort order of the item in the invoice

  • Optional taxId?: string

    Tax ID for this line item

  • type: LineItem.type

    The type of entity being invoiced

  • Optional unit?: string

    Unit of measurement