Interface IInvoiceLine

Represents a line item on an invoice.

Hierarchy

Implemented by

Properties

discount_amount: number

The amount of discount applied to the line item.

discount_calc_type: CalcType

Line discount calculation type

discount_percent: number

The percentage of discount applied to the line item.

duplicated_from_uid: string

The line item that this line item is duplicated from.

invoice_uid: string

Invoice Line unique id

is_duplicate: boolean

Whether the line item is a duplicate.

is_take_out: boolean

Whether the line item is for take-out. If so, the service charge is not counted.

item: IItem

The item being sold on the line item.

item_uid: string

Item unique id

modifiers: IInvoiceCoreLine[]

Any modifiers applied to the line item.

point: number

The point value of the item.

point_subtotal: number

The subtotal for the line item in points.

price: number

The unit price of the item.

quantity: number

The quantity of the item being sold on the line item.

remark: string

Any additional remarks for the line item.

sent: number

Whether it is sent to server

subtotal: number

The subtotal for the line item.

subtotal_before_discount: number

The subtotal for the line item before any discounts were applied.

unit_of_measure: UomType

The unit of measurement for the item.

up_size: boolean

Whether the item size is up-sized.

Generated using TypeDoc