Interface IInvoice

Hierarchy

Implemented by

Properties

Action

activities: any[]

Invoice Activity

add_credit: number

add credit

add_point: number

Add point

adult_pax: number

Number of Adult People

baby_pax: number

Number of Baby People

call_num: number

The number which will be printed on kitchen slip or receipt or display to call when order is ready

child_pax: number

Number of Child People

customer: ICustomer

Customer

customer_id: number

Customer ID

deleted_lines: IInvoiceLine[]

Deleted invoice lines

delivery_by: string

Online delivery driver

delivery_charge: number

Online delivery charge

delivery_id: number

Online delivery id

delivery_type: string

Online delivery type

discount_amount: number

Total discount amount

discountable_subtotal: number

Invoice subtotal applicable to discount

discounts: InvoiceDiscount[]

Discount List

employee_name: string

Employee Name

employee_uid: string

Receipt Print Override

etc: Record<string, any>

Etc

grand_total: number

Grand Total

humanized_created_at: string
humanized_paid_at: string

Human readable date

humanized_voided_at: string

Human readable date

is_duplicate: boolean

Is Duplicate

is_sales_exclusive: boolean

Is Sales Exclusive

kitchen_print_override: boolean

Kitchen Print Override

lines: IInvoiceLine[]

Invoice Lines

minus_credit: number

minus credit

minus_point: number

minus point

order_id: number

Order ID

otp: string

OTP

paid_at: Date

Payment Method

pax: number

Total number of people including adult, child and baby

payment_source_charge_ref: string

Payment Source Charge Reference

payment_source_last4: string

Payment Source Last4

payment_source_method: string

Payment Source Method

payments: IPayment[]

Payment

point_subtotal: number

Invoice point subtotal

receipt_print_job_uid: string

Receipt printer unique id

receipt_print_override: boolean
ref_id: string

Invoice reference number which is used for look-up

remark: string

Remark

rewarded_credit: number

Rewarded Credit

rewarded_credit_rate: number

rewarded credit rate

rewarded_point: number

Rewarded Point

rewarded_point_rate: number

rewarded point rate

rounding: number

Rounding

sales_user_uid: string

Sales User ID

service_charge: number

Invoice service charge

service_chargeable_subtotal: number

Invoice subtotal applicable to service charge

Status

subtotal: number

Invoice subtotal

table_name: string

Table name

table_switch_id: number

Table Switch ID

table_uid: string

Table unique id

tax: number

Tax

tip: number

Tip Amount

to_address: IAddress

To Address

Invoice type

use_customer_balance: boolean

if customer balance is used in this invoice

use_customer_point: boolean

If customer point is used in this invoice

voided_at: Date

Payment Method

Generated using TypeDoc