2020-03-04 20:05:54 +03:00
|
|
|
export interface IItem {
|
|
|
|
cost?: number;
|
|
|
|
notes?: string;
|
|
|
|
product_key?: string;
|
|
|
|
qty?: number;
|
2023-02-02 15:26:56 +03:00
|
|
|
quantity?: number;
|
2020-03-04 20:05:54 +03:00
|
|
|
tax_rate1?: number;
|
|
|
|
tax_rate2?: number;
|
|
|
|
tax_name1?: string;
|
|
|
|
tax_name2?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IQuote {
|
|
|
|
auto_bill?: boolean;
|
|
|
|
client_id?: number;
|
|
|
|
custom_value1?: number;
|
|
|
|
custom_value2?: number;
|
|
|
|
email_invoice?: boolean;
|
|
|
|
discount?: number;
|
|
|
|
due_date?: string;
|
|
|
|
email?: string;
|
|
|
|
invoice_date?: string;
|
|
|
|
invoice_items?: IItem[];
|
2023-02-02 15:26:56 +03:00
|
|
|
line_items?: IItem[];
|
2020-03-04 20:05:54 +03:00
|
|
|
invoice_number?: string;
|
|
|
|
invoice_status_id?: number;
|
|
|
|
is_amount_discount?: boolean;
|
|
|
|
is_quote?: boolean;
|
|
|
|
paid?: number;
|
|
|
|
partial?: number;
|
|
|
|
partial_due_date?: string;
|
|
|
|
po_number?: string;
|
|
|
|
private_notes?: string;
|
|
|
|
public_notes?: string;
|
|
|
|
tax_name1?: string;
|
|
|
|
tax_name2?: string;
|
|
|
|
tax_rate1?: number;
|
|
|
|
tax_rate2?: number;
|
|
|
|
}
|