erpnext-queue-client 2.2.3 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/erpnext/doctypes/consolidatedCustomsInvoice.d.ts +497 -0
  2. package/dist/erpnext/doctypes/consolidatedCustomsInvoice.js +42 -0
  3. package/dist/erpnext/doctypes/deliveryNote.d.ts +468 -468
  4. package/dist/erpnext/doctypes/item.d.ts +31 -31
  5. package/dist/erpnext/doctypes/paymentEntry.d.ts +4 -4
  6. package/dist/erpnext/doctypes/productBundle.d.ts +3 -3
  7. package/dist/erpnext/doctypes/purchaseInvoice.d.ts +407 -407
  8. package/dist/erpnext/doctypes/purchaseReceipt.d.ts +184 -184
  9. package/dist/erpnext/doctypes/salesInvoice.d.ts +476 -476
  10. package/dist/erpnext/doctypes/shipment.d.ts +10 -10
  11. package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +70 -64
  12. package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +8 -6
  13. package/dist/erpnext/model/DeliveryNote.d.ts +145 -145
  14. package/dist/erpnext/model/DispatchRun.d.ts +2 -2
  15. package/dist/erpnext/model/DocTypeHelpers.d.ts +19 -1
  16. package/dist/erpnext/model/DocTypeHelpers.js +8 -3
  17. package/dist/erpnext/model/Item.d.ts +16 -16
  18. package/dist/erpnext/model/PaymentEntry.d.ts +2 -2
  19. package/dist/erpnext/model/ProductBundle.d.ts +6 -6
  20. package/dist/erpnext/model/PurchaseInvoice.d.ts +214 -214
  21. package/dist/erpnext/model/PurchaseOrder.d.ts +84 -84
  22. package/dist/erpnext/model/Receipt.d.ts +64 -64
  23. package/dist/erpnext/model/ReceiptDraft.d.ts +62 -62
  24. package/dist/erpnext/model/SalesInvoice.d.ts +274 -274
  25. package/dist/erpnext/model/SalesOrder.d.ts +123 -123
  26. package/dist/erpnext/model/SalesTaxesAndCharges.d.ts +4 -4
  27. package/dist/erpnext/model/Shipment.d.ts +12 -12
  28. package/dist/erpnext/model/ShippingLabel.d.ts +5 -5
  29. package/dist/erpnext/model/Stock.d.ts +6 -6
  30. package/dist/erpnext/model/StockEntry.d.ts +2 -2
  31. package/dist/erpnext/model/StockReconciliation.d.ts +1 -1
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index.js +3 -3
  34. package/package.json +1 -1
@@ -6,7 +6,7 @@ export declare class ERPNextSalesInvoice {
6
6
  protected temporalClient: TemporalClient;
7
7
  protected baseRequest: ERPNextDoctypeSubmittableResourceRequest<typeof SalesInvoice>;
8
8
  protected methodRequest: ERPNextMethodRequest;
9
- getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
9
+ getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "currency" | "conversion_rate" | "is_return" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "posting_time" | "company_tax_id" | "total_qty" | "total_net_weight" | "base_total" | "base_net_total" | "total" | "net_total" | "dispatch_address_name" | "dispatch_address" | "tax_id" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
10
10
  fields?: TSelectedFields;
11
11
  filters?: (string | string[])[][];
12
12
  skip?: number;
@@ -30,9 +30,9 @@ export declare class ERPNextSalesInvoice {
30
30
  customer: string;
31
31
  posting_date: string;
32
32
  set_posting_time: 0 | 1;
33
- is_return: 0 | 1;
34
33
  currency: string;
35
34
  conversion_rate: number;
35
+ is_return: 0 | 1;
36
36
  selling_price_list: string;
37
37
  plc_conversion_rate: number;
38
38
  ignore_pricing_rule: 0 | 1;
@@ -65,26 +65,33 @@ export declare class ERPNextSalesInvoice {
65
65
  _user_tags?: string | null | undefined;
66
66
  tax_category?: string | null | undefined;
67
67
  language?: string | null | undefined;
68
+ posting_time?: string | null | undefined;
69
+ company_tax_id?: string | null | undefined;
70
+ total_qty?: number | null | undefined;
71
+ total_net_weight?: number | null | undefined;
72
+ base_total?: number | null | undefined;
73
+ base_net_total?: number | null | undefined;
74
+ total?: number | null | undefined;
75
+ net_total?: number | null | undefined;
76
+ dispatch_address_name?: string | null | undefined;
77
+ dispatch_address?: string | null | undefined;
78
+ tax_id?: string | null | undefined;
68
79
  discount_amount?: number | null | undefined;
69
80
  pricing_rules?: any[] | null | undefined;
70
81
  cost_center?: string | null | undefined;
71
82
  project?: string | null | undefined;
72
83
  title?: string | null | undefined;
73
84
  customer_name?: string | null | undefined;
74
- posting_time?: string | null | undefined;
75
85
  return_against?: string | null | undefined;
76
86
  po_no?: string | null | undefined;
77
87
  po_date?: string | null | undefined;
78
88
  shipping_address_name?: string | null | undefined;
79
89
  shipping_address?: string | null | undefined;
80
- dispatch_address_name?: string | null | undefined;
81
- dispatch_address?: string | null | undefined;
82
90
  contact_person?: string | null | undefined;
83
91
  contact_display?: string | null | undefined;
84
92
  contact_mobile?: string | null | undefined;
85
93
  contact_email?: string | null | undefined;
86
94
  customer_address?: string | null | undefined;
87
- tax_id?: string | null | undefined;
88
95
  address_display?: string | null | undefined;
89
96
  company_address?: string | null | undefined;
90
97
  company_address_display?: string | null | undefined;
@@ -92,12 +99,6 @@ export declare class ERPNextSalesInvoice {
92
99
  set_warehouse?: string | null | undefined;
93
100
  set_target_warehouse?: string | null | undefined;
94
101
  scan_barcode?: string | null | undefined;
95
- total_qty?: number | null | undefined;
96
- base_total?: number | null | undefined;
97
- base_net_total?: number | null | undefined;
98
- total_net_weight?: number | null | undefined;
99
- total?: number | null | undefined;
100
- net_total?: number | null | undefined;
101
102
  shipping_rule?: string | null | undefined;
102
103
  incoterm?: string | null | undefined;
103
104
  custom_shipping_cost?: number | null | undefined;
@@ -137,10 +138,10 @@ export declare class ERPNextSalesInvoice {
137
138
  description?: string | undefined;
138
139
  account_currency?: string | undefined;
139
140
  rate?: number | undefined;
140
- cost_center?: string | undefined;
141
- project?: string | undefined;
142
141
  base_total?: number | undefined;
143
142
  total?: number | undefined;
143
+ cost_center?: string | undefined;
144
+ project?: string | undefined;
144
145
  tax_amount?: number | undefined;
145
146
  tax_amount_after_discount_amount?: number | undefined;
146
147
  base_tax_amount?: number | undefined;
@@ -166,7 +167,6 @@ export declare class ERPNextSalesInvoice {
166
167
  reference_row?: string | null | undefined;
167
168
  }[] | null | undefined;
168
169
  payment_schedule?: any[] | null | undefined;
169
- company_tax_id?: string | null | undefined;
170
170
  pos_profile?: string | null | undefined;
171
171
  named_place?: string | null | undefined;
172
172
  coupon_code?: string | null | undefined;
@@ -200,7 +200,7 @@ export declare class ERPNextSalesInvoice {
200
200
  to_date?: string | null | undefined;
201
201
  update_auto_repeat_reference?: string | null | undefined;
202
202
  inter_company_invoice_reference?: string | null | undefined;
203
- }[] : TSelectedFields extends TFieldOptions[] ? { [K_1 in TSelectedFields[number] as K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1]: (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1) extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference") ? {
203
+ }[] : TSelectedFields extends TFieldOptions[] ? { [K_1 in TSelectedFields[number] as K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1]: (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1) extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "currency" | "conversion_rate" | "is_return" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "posting_time" | "company_tax_id" | "total_qty" | "total_net_weight" | "base_total" | "base_net_total" | "total" | "net_total" | "dispatch_address_name" | "dispatch_address" | "tax_id" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference") ? {
204
204
  status: "Internal Transfer" | "Draft" | "Return" | "Credit Note Issued" | "Submitted" | "Paid" | "Partly Paid" | "Unpaid" | "Unpaid and Discounted" | "Partly Paid and Discounted" | "Overdue and Discounted" | "Overdue" | "Cancelled";
205
205
  docstatus: number;
206
206
  name: string;
@@ -214,9 +214,9 @@ export declare class ERPNextSalesInvoice {
214
214
  customer: string;
215
215
  posting_date: string;
216
216
  set_posting_time: 0 | 1;
217
- is_return: 0 | 1;
218
217
  currency: string;
219
218
  conversion_rate: number;
219
+ is_return: 0 | 1;
220
220
  selling_price_list: string;
221
221
  plc_conversion_rate: number;
222
222
  ignore_pricing_rule: 0 | 1;
@@ -249,26 +249,33 @@ export declare class ERPNextSalesInvoice {
249
249
  _user_tags?: string | null | undefined;
250
250
  tax_category?: string | null | undefined;
251
251
  language?: string | null | undefined;
252
+ posting_time?: string | null | undefined;
253
+ company_tax_id?: string | null | undefined;
254
+ total_qty?: number | null | undefined;
255
+ total_net_weight?: number | null | undefined;
256
+ base_total?: number | null | undefined;
257
+ base_net_total?: number | null | undefined;
258
+ total?: number | null | undefined;
259
+ net_total?: number | null | undefined;
260
+ dispatch_address_name?: string | null | undefined;
261
+ dispatch_address?: string | null | undefined;
262
+ tax_id?: string | null | undefined;
252
263
  discount_amount?: number | null | undefined;
253
264
  pricing_rules?: any[] | null | undefined;
254
265
  cost_center?: string | null | undefined;
255
266
  project?: string | null | undefined;
256
267
  title?: string | null | undefined;
257
268
  customer_name?: string | null | undefined;
258
- posting_time?: string | null | undefined;
259
269
  return_against?: string | null | undefined;
260
270
  po_no?: string | null | undefined;
261
271
  po_date?: string | null | undefined;
262
272
  shipping_address_name?: string | null | undefined;
263
273
  shipping_address?: string | null | undefined;
264
- dispatch_address_name?: string | null | undefined;
265
- dispatch_address?: string | null | undefined;
266
274
  contact_person?: string | null | undefined;
267
275
  contact_display?: string | null | undefined;
268
276
  contact_mobile?: string | null | undefined;
269
277
  contact_email?: string | null | undefined;
270
278
  customer_address?: string | null | undefined;
271
- tax_id?: string | null | undefined;
272
279
  address_display?: string | null | undefined;
273
280
  company_address?: string | null | undefined;
274
281
  company_address_display?: string | null | undefined;
@@ -276,12 +283,6 @@ export declare class ERPNextSalesInvoice {
276
283
  set_warehouse?: string | null | undefined;
277
284
  set_target_warehouse?: string | null | undefined;
278
285
  scan_barcode?: string | null | undefined;
279
- total_qty?: number | null | undefined;
280
- base_total?: number | null | undefined;
281
- base_net_total?: number | null | undefined;
282
- total_net_weight?: number | null | undefined;
283
- total?: number | null | undefined;
284
- net_total?: number | null | undefined;
285
286
  shipping_rule?: string | null | undefined;
286
287
  incoterm?: string | null | undefined;
287
288
  custom_shipping_cost?: number | null | undefined;
@@ -321,10 +322,10 @@ export declare class ERPNextSalesInvoice {
321
322
  description?: string | undefined;
322
323
  account_currency?: string | undefined;
323
324
  rate?: number | undefined;
324
- cost_center?: string | undefined;
325
- project?: string | undefined;
326
325
  base_total?: number | undefined;
327
326
  total?: number | undefined;
327
+ cost_center?: string | undefined;
328
+ project?: string | undefined;
328
329
  tax_amount?: number | undefined;
329
330
  tax_amount_after_discount_amount?: number | undefined;
330
331
  base_tax_amount?: number | undefined;
@@ -350,7 +351,6 @@ export declare class ERPNextSalesInvoice {
350
351
  reference_row?: string | null | undefined;
351
352
  }[] | null | undefined;
352
353
  payment_schedule?: any[] | null | undefined;
353
- company_tax_id?: string | null | undefined;
354
354
  pos_profile?: string | null | undefined;
355
355
  named_place?: string | null | undefined;
356
356
  coupon_code?: string | null | undefined;
@@ -384,7 +384,7 @@ export declare class ERPNextSalesInvoice {
384
384
  to_date?: string | null | undefined;
385
385
  update_auto_repeat_reference?: string | null | undefined;
386
386
  inter_company_invoice_reference?: string | null | undefined;
387
- }[(("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
387
+ }[(("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "currency" | "conversion_rate" | "is_return" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "posting_time" | "company_tax_id" | "total_qty" | "total_net_weight" | "base_total" | "base_net_total" | "total" | "net_total" | "dispatch_address_name" | "dispatch_address" | "tax_id" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
388
388
  getById: ({ resourceId, priority, }: {
389
389
  resourceId: string;
390
390
  priority?: number;
@@ -403,17 +403,8 @@ export declare class ERPNextSalesInvoice {
403
403
  customer: string;
404
404
  posting_date: string;
405
405
  set_posting_time: 0 | 1;
406
- is_return: 0 | 1;
407
406
  currency: string;
408
407
  conversion_rate: number;
409
- selling_price_list: string;
410
- plc_conversion_rate: number;
411
- ignore_pricing_rule: 0 | 1;
412
- custom_tax_included_in_shipping_cost: 0 | 1;
413
- apply_discount_on: "" | "Grand Total" | "Net Total";
414
- disable_rounded_total: 0 | 1;
415
- is_internal_customer: 0 | 1;
416
- group_same_items: 0 | 1;
417
408
  items: {
418
409
  docstatus: number;
419
410
  name: string;
@@ -426,16 +417,16 @@ export declare class ERPNextSalesInvoice {
426
417
  parenttype: string;
427
418
  parentfield: string;
428
419
  item_code: string;
429
- item_name: string;
430
420
  qty: number;
431
- uom: string;
432
421
  rate: number;
422
+ delivered_by_supplier: 0 | 1;
423
+ item_name: string;
424
+ uom: string;
433
425
  is_free_item: 0 | 1;
434
426
  grant_commission: 0 | 1;
435
427
  allow_zero_valuation_rate: 0 | 1;
436
428
  page_break: 0 | 1;
437
429
  is_fixed_asset: 0 | 1;
438
- delivered_by_supplier: 0 | 1;
439
430
  enable_deferred_revenue: 0 | 1;
440
431
  has_item_scanned: 0 | 1;
441
432
  income_account: string;
@@ -444,6 +435,22 @@ export declare class ERPNextSalesInvoice {
444
435
  brand?: string | null | undefined;
445
436
  _user_tags?: string | null | undefined;
446
437
  image?: string | null | undefined;
438
+ item_tax_template?: string | null | undefined;
439
+ amount?: number | null | undefined;
440
+ base_rate?: number | null | undefined;
441
+ base_amount?: number | null | undefined;
442
+ net_rate?: number | null | undefined;
443
+ net_amount?: number | null | undefined;
444
+ base_net_rate?: number | null | undefined;
445
+ base_net_amount?: number | null | undefined;
446
+ weight_per_unit?: number | null | undefined;
447
+ total_weight?: number | null | undefined;
448
+ weight_uom?: string | null | undefined;
449
+ sales_order?: string | null | undefined;
450
+ so_detail?: string | null | undefined;
451
+ sales_invoice_item?: string | null | undefined;
452
+ delivery_note?: string | null | undefined;
453
+ dn_detail?: string | null | undefined;
447
454
  barcode?: string | null | undefined;
448
455
  customer_item_code?: string | null | undefined;
449
456
  item_group?: string | null | undefined;
@@ -458,25 +465,12 @@ export declare class ERPNextSalesInvoice {
458
465
  discount_percentage?: number | null | undefined;
459
466
  discount_amount?: number | null | undefined;
460
467
  base_rate_with_margin?: number | null | undefined;
461
- amount?: number | null | undefined;
462
- base_rate?: number | null | undefined;
463
- base_amount?: number | null | undefined;
464
468
  pricing_rules?: string | null | undefined;
465
469
  stock_uom_rate?: number | null | undefined;
466
- net_rate?: number | null | undefined;
467
- net_amount?: number | null | undefined;
468
- item_tax_template?: string | null | undefined;
469
- base_net_rate?: number | null | undefined;
470
- base_net_amount?: number | null | undefined;
471
470
  incoming_rate?: number | null | undefined;
472
- weight_per_unit?: number | null | undefined;
473
- total_weight?: number | null | undefined;
474
- weight_uom?: string | null | undefined;
475
471
  warehouse?: string | null | undefined;
476
472
  target_warehouse?: string | null | undefined;
477
473
  quality_inspection?: string | null | undefined;
478
- so_detail?: string | null | undefined;
479
- dn_detail?: string | null | undefined;
480
474
  batch_no?: string | null | undefined;
481
475
  serial_no?: string | null | undefined;
482
476
  actual_batch_qty?: number | null | undefined;
@@ -487,10 +481,7 @@ export declare class ERPNextSalesInvoice {
487
481
  project?: string | null | undefined;
488
482
  purchase_order?: string | null | undefined;
489
483
  purchase_order_item?: string | null | undefined;
490
- sales_order?: string | null | undefined;
491
- delivery_note?: string | null | undefined;
492
484
  delivered_qty?: number | null | undefined;
493
- sales_invoice_item?: string | null | undefined;
494
485
  discount_account?: string | null | undefined;
495
486
  deferred_revenue_account?: string | null | undefined;
496
487
  service_start_date?: string | null | undefined;
@@ -500,6 +491,15 @@ export declare class ERPNextSalesInvoice {
500
491
  finance_book?: string | null | undefined;
501
492
  serial_and_batch_bundle?: string | null | undefined;
502
493
  }[];
494
+ is_return: 0 | 1;
495
+ selling_price_list: string;
496
+ plc_conversion_rate: number;
497
+ ignore_pricing_rule: 0 | 1;
498
+ custom_tax_included_in_shipping_cost: 0 | 1;
499
+ apply_discount_on: "" | "Grand Total" | "Net Total";
500
+ disable_rounded_total: 0 | 1;
501
+ is_internal_customer: 0 | 1;
502
+ group_same_items: 0 | 1;
503
503
  update_stock: 0 | 1;
504
504
  allocate_advances_automatically: 0 | 1;
505
505
  ignore_default_payment_terms_template: 0 | 1;
@@ -524,26 +524,33 @@ export declare class ERPNextSalesInvoice {
524
524
  _user_tags?: string | null | undefined;
525
525
  tax_category?: string | null | undefined;
526
526
  language?: string | null | undefined;
527
+ posting_time?: string | null | undefined;
528
+ company_tax_id?: string | null | undefined;
529
+ total_qty?: number | null | undefined;
530
+ total_net_weight?: number | null | undefined;
531
+ base_total?: number | null | undefined;
532
+ base_net_total?: number | null | undefined;
533
+ total?: number | null | undefined;
534
+ net_total?: number | null | undefined;
535
+ dispatch_address_name?: string | null | undefined;
536
+ dispatch_address?: string | null | undefined;
537
+ tax_id?: string | null | undefined;
527
538
  discount_amount?: number | null | undefined;
528
539
  pricing_rules?: any[] | null | undefined;
529
540
  cost_center?: string | null | undefined;
530
541
  project?: string | null | undefined;
531
542
  title?: string | null | undefined;
532
543
  customer_name?: string | null | undefined;
533
- posting_time?: string | null | undefined;
534
544
  return_against?: string | null | undefined;
535
545
  po_no?: string | null | undefined;
536
546
  po_date?: string | null | undefined;
537
547
  shipping_address_name?: string | null | undefined;
538
548
  shipping_address?: string | null | undefined;
539
- dispatch_address_name?: string | null | undefined;
540
- dispatch_address?: string | null | undefined;
541
549
  contact_person?: string | null | undefined;
542
550
  contact_display?: string | null | undefined;
543
551
  contact_mobile?: string | null | undefined;
544
552
  contact_email?: string | null | undefined;
545
553
  customer_address?: string | null | undefined;
546
- tax_id?: string | null | undefined;
547
554
  address_display?: string | null | undefined;
548
555
  company_address?: string | null | undefined;
549
556
  company_address_display?: string | null | undefined;
@@ -551,12 +558,6 @@ export declare class ERPNextSalesInvoice {
551
558
  set_warehouse?: string | null | undefined;
552
559
  set_target_warehouse?: string | null | undefined;
553
560
  scan_barcode?: string | null | undefined;
554
- total_qty?: number | null | undefined;
555
- base_total?: number | null | undefined;
556
- base_net_total?: number | null | undefined;
557
- total_net_weight?: number | null | undefined;
558
- total?: number | null | undefined;
559
- net_total?: number | null | undefined;
560
561
  shipping_rule?: string | null | undefined;
561
562
  incoterm?: string | null | undefined;
562
563
  custom_shipping_cost?: number | null | undefined;
@@ -596,10 +597,10 @@ export declare class ERPNextSalesInvoice {
596
597
  description?: string | undefined;
597
598
  account_currency?: string | undefined;
598
599
  rate?: number | undefined;
599
- cost_center?: string | undefined;
600
- project?: string | undefined;
601
600
  base_total?: number | undefined;
602
601
  total?: number | undefined;
602
+ cost_center?: string | undefined;
603
+ project?: string | undefined;
603
604
  tax_amount?: number | undefined;
604
605
  tax_amount_after_discount_amount?: number | undefined;
605
606
  base_tax_amount?: number | undefined;
@@ -625,7 +626,6 @@ export declare class ERPNextSalesInvoice {
625
626
  reference_row?: string | null | undefined;
626
627
  }[] | null | undefined;
627
628
  payment_schedule?: any[] | null | undefined;
628
- company_tax_id?: string | null | undefined;
629
629
  pos_profile?: string | null | undefined;
630
630
  named_place?: string | null | undefined;
631
631
  coupon_code?: string | null | undefined;
@@ -665,15 +665,31 @@ export declare class ERPNextSalesInvoice {
665
665
  customer: string;
666
666
  posting_date: string;
667
667
  currency: string;
668
- selling_price_list: string;
669
668
  items: {
670
669
  item_code: string;
671
670
  qty: number;
672
- uom: string;
673
671
  rate: number;
672
+ uom: string;
674
673
  description?: string | null | undefined;
675
674
  brand?: string | null | undefined;
676
675
  image?: string | null | undefined;
676
+ item_tax_template?: string | null | undefined;
677
+ amount?: number | null | undefined;
678
+ base_rate?: number | null | undefined;
679
+ base_amount?: number | null | undefined;
680
+ net_rate?: number | null | undefined;
681
+ net_amount?: number | null | undefined;
682
+ base_net_rate?: number | null | undefined;
683
+ base_net_amount?: number | null | undefined;
684
+ delivered_by_supplier?: 0 | 1 | undefined;
685
+ weight_per_unit?: number | null | undefined;
686
+ total_weight?: number | null | undefined;
687
+ weight_uom?: string | null | undefined;
688
+ sales_order?: string | null | undefined;
689
+ so_detail?: string | null | undefined;
690
+ sales_invoice_item?: string | null | undefined;
691
+ delivery_note?: string | null | undefined;
692
+ dn_detail?: string | null | undefined;
677
693
  barcode?: string | null | undefined;
678
694
  item_name?: string | undefined;
679
695
  customer_item_code?: string | null | undefined;
@@ -689,27 +705,14 @@ export declare class ERPNextSalesInvoice {
689
705
  discount_percentage?: number | null | undefined;
690
706
  discount_amount?: number | null | undefined;
691
707
  base_rate_with_margin?: number | null | undefined;
692
- amount?: number | null | undefined;
693
- base_rate?: number | null | undefined;
694
- base_amount?: number | null | undefined;
695
708
  pricing_rules?: string | null | undefined;
696
709
  stock_uom_rate?: number | null | undefined;
697
710
  is_free_item?: 0 | 1 | undefined;
698
711
  grant_commission?: 0 | 1 | undefined;
699
- net_rate?: number | null | undefined;
700
- net_amount?: number | null | undefined;
701
- item_tax_template?: string | null | undefined;
702
- base_net_rate?: number | null | undefined;
703
- base_net_amount?: number | null | undefined;
704
712
  incoming_rate?: number | null | undefined;
705
- weight_per_unit?: number | null | undefined;
706
- total_weight?: number | null | undefined;
707
- weight_uom?: string | null | undefined;
708
713
  warehouse?: string | null | undefined;
709
714
  target_warehouse?: string | null | undefined;
710
715
  quality_inspection?: string | null | undefined;
711
- so_detail?: string | null | undefined;
712
- dn_detail?: string | null | undefined;
713
716
  batch_no?: string | null | undefined;
714
717
  serial_no?: string | null | undefined;
715
718
  actual_batch_qty?: number | null | undefined;
@@ -721,15 +724,11 @@ export declare class ERPNextSalesInvoice {
721
724
  project?: string | null | undefined;
722
725
  page_break?: 0 | 1 | undefined;
723
726
  is_fixed_asset?: 0 | 1 | undefined;
724
- delivered_by_supplier?: 0 | 1 | undefined;
725
727
  enable_deferred_revenue?: 0 | 1 | undefined;
726
728
  purchase_order?: string | null | undefined;
727
729
  purchase_order_item?: string | null | undefined;
728
730
  has_item_scanned?: 0 | 1 | undefined;
729
- sales_order?: string | null | undefined;
730
- delivery_note?: string | null | undefined;
731
731
  delivered_qty?: number | null | undefined;
732
- sales_invoice_item?: string | null | undefined;
733
732
  income_account?: string | undefined;
734
733
  discount_account?: string | null | undefined;
735
734
  deferred_revenue_account?: string | null | undefined;
@@ -741,6 +740,7 @@ export declare class ERPNextSalesInvoice {
741
740
  use_serial_batch_fields?: 0 | 1 | undefined;
742
741
  serial_and_batch_bundle?: string | null | undefined;
743
742
  }[];
743
+ selling_price_list: string;
744
744
  custom_invoice_no: string;
745
745
  debit_to: string;
746
746
  status?: "Internal Transfer" | "Draft" | "Return" | "Credit Note Issued" | "Submitted" | "Paid" | "Partly Paid" | "Unpaid" | "Unpaid and Discounted" | "Partly Paid and Discounted" | "Overdue and Discounted" | "Overdue" | "Cancelled" | undefined;
@@ -749,44 +749,45 @@ export declare class ERPNextSalesInvoice {
749
749
  tax_category?: string | null | undefined;
750
750
  naming_series?: "INV-.#" | "INV-.#-GS" | undefined;
751
751
  language?: string | null | undefined;
752
+ posting_time?: string | null | undefined;
753
+ set_posting_time?: 0 | 1 | undefined;
754
+ company_tax_id?: string | null | undefined;
755
+ conversion_rate?: number | undefined;
756
+ total_qty?: number | null | undefined;
757
+ total_net_weight?: number | null | undefined;
758
+ base_total?: number | null | undefined;
759
+ base_net_total?: number | null | undefined;
760
+ total?: number | null | undefined;
761
+ net_total?: number | null | undefined;
762
+ dispatch_address_name?: string | null | undefined;
763
+ dispatch_address?: string | null | undefined;
764
+ tax_id?: string | null | undefined;
752
765
  discount_amount?: number | null | undefined;
753
766
  pricing_rules?: any[] | null | undefined;
754
767
  cost_center?: string | null | undefined;
755
768
  project?: string | null | undefined;
756
769
  title?: string | null | undefined;
757
770
  customer_name?: string | null | undefined;
758
- posting_time?: string | null | undefined;
759
- set_posting_time?: 0 | 1 | undefined;
760
771
  is_return?: 0 | 1 | undefined;
761
772
  return_against?: string | null | undefined;
762
773
  po_no?: string | null | undefined;
763
774
  po_date?: string | null | undefined;
764
775
  shipping_address_name?: string | null | undefined;
765
776
  shipping_address?: string | null | undefined;
766
- dispatch_address_name?: string | null | undefined;
767
- dispatch_address?: string | null | undefined;
768
777
  contact_person?: string | null | undefined;
769
778
  contact_display?: string | null | undefined;
770
779
  contact_mobile?: string | null | undefined;
771
780
  contact_email?: string | null | undefined;
772
781
  customer_address?: string | null | undefined;
773
- tax_id?: string | null | undefined;
774
782
  address_display?: string | null | undefined;
775
783
  company_address?: string | null | undefined;
776
784
  company_address_display?: string | null | undefined;
777
- conversion_rate?: number | undefined;
778
785
  price_list_currency?: string | null | undefined;
779
786
  plc_conversion_rate?: number | undefined;
780
787
  ignore_pricing_rule?: 0 | 1 | undefined;
781
788
  set_warehouse?: string | null | undefined;
782
789
  set_target_warehouse?: string | null | undefined;
783
790
  scan_barcode?: string | null | undefined;
784
- total_qty?: number | null | undefined;
785
- base_total?: number | null | undefined;
786
- base_net_total?: number | null | undefined;
787
- total_net_weight?: number | null | undefined;
788
- total?: number | null | undefined;
789
- net_total?: number | null | undefined;
790
791
  shipping_rule?: string | null | undefined;
791
792
  incoterm?: string | null | undefined;
792
793
  custom_shipping_cost?: number | null | undefined;
@@ -831,10 +832,10 @@ export declare class ERPNextSalesInvoice {
831
832
  description?: string | undefined;
832
833
  account_currency?: string | undefined;
833
834
  rate?: number | undefined;
834
- cost_center?: string | undefined;
835
- project?: string | undefined;
836
835
  base_total?: number | undefined;
837
836
  total?: number | undefined;
837
+ cost_center?: string | undefined;
838
+ project?: string | undefined;
838
839
  tax_amount?: number | undefined;
839
840
  tax_amount_after_discount_amount?: number | undefined;
840
841
  base_tax_amount?: number | undefined;
@@ -864,7 +865,6 @@ export declare class ERPNextSalesInvoice {
864
865
  reference_row?: string | null | undefined;
865
866
  }[] | null | undefined;
866
867
  payment_schedule?: any[] | null | undefined;
867
- company_tax_id?: string | null | undefined;
868
868
  is_pos?: 0 | 1 | undefined;
869
869
  pos_profile?: string | null | undefined;
870
870
  is_debit_note?: 0 | 1 | undefined;
@@ -932,17 +932,8 @@ export declare class ERPNextSalesInvoice {
932
932
  customer: string;
933
933
  posting_date: string;
934
934
  set_posting_time: 0 | 1;
935
- is_return: 0 | 1;
936
935
  currency: string;
937
936
  conversion_rate: number;
938
- selling_price_list: string;
939
- plc_conversion_rate: number;
940
- ignore_pricing_rule: 0 | 1;
941
- custom_tax_included_in_shipping_cost: 0 | 1;
942
- apply_discount_on: "" | "Grand Total" | "Net Total";
943
- disable_rounded_total: 0 | 1;
944
- is_internal_customer: 0 | 1;
945
- group_same_items: 0 | 1;
946
937
  items: {
947
938
  docstatus: number;
948
939
  name: string;
@@ -955,16 +946,16 @@ export declare class ERPNextSalesInvoice {
955
946
  parenttype: string;
956
947
  parentfield: string;
957
948
  item_code: string;
958
- item_name: string;
959
949
  qty: number;
960
- uom: string;
961
950
  rate: number;
951
+ delivered_by_supplier: 0 | 1;
952
+ item_name: string;
953
+ uom: string;
962
954
  is_free_item: 0 | 1;
963
955
  grant_commission: 0 | 1;
964
956
  allow_zero_valuation_rate: 0 | 1;
965
957
  page_break: 0 | 1;
966
958
  is_fixed_asset: 0 | 1;
967
- delivered_by_supplier: 0 | 1;
968
959
  enable_deferred_revenue: 0 | 1;
969
960
  has_item_scanned: 0 | 1;
970
961
  income_account: string;
@@ -973,6 +964,22 @@ export declare class ERPNextSalesInvoice {
973
964
  brand?: string | null | undefined;
974
965
  _user_tags?: string | null | undefined;
975
966
  image?: string | null | undefined;
967
+ item_tax_template?: string | null | undefined;
968
+ amount?: number | null | undefined;
969
+ base_rate?: number | null | undefined;
970
+ base_amount?: number | null | undefined;
971
+ net_rate?: number | null | undefined;
972
+ net_amount?: number | null | undefined;
973
+ base_net_rate?: number | null | undefined;
974
+ base_net_amount?: number | null | undefined;
975
+ weight_per_unit?: number | null | undefined;
976
+ total_weight?: number | null | undefined;
977
+ weight_uom?: string | null | undefined;
978
+ sales_order?: string | null | undefined;
979
+ so_detail?: string | null | undefined;
980
+ sales_invoice_item?: string | null | undefined;
981
+ delivery_note?: string | null | undefined;
982
+ dn_detail?: string | null | undefined;
976
983
  barcode?: string | null | undefined;
977
984
  customer_item_code?: string | null | undefined;
978
985
  item_group?: string | null | undefined;
@@ -987,25 +994,12 @@ export declare class ERPNextSalesInvoice {
987
994
  discount_percentage?: number | null | undefined;
988
995
  discount_amount?: number | null | undefined;
989
996
  base_rate_with_margin?: number | null | undefined;
990
- amount?: number | null | undefined;
991
- base_rate?: number | null | undefined;
992
- base_amount?: number | null | undefined;
993
997
  pricing_rules?: string | null | undefined;
994
998
  stock_uom_rate?: number | null | undefined;
995
- net_rate?: number | null | undefined;
996
- net_amount?: number | null | undefined;
997
- item_tax_template?: string | null | undefined;
998
- base_net_rate?: number | null | undefined;
999
- base_net_amount?: number | null | undefined;
1000
999
  incoming_rate?: number | null | undefined;
1001
- weight_per_unit?: number | null | undefined;
1002
- total_weight?: number | null | undefined;
1003
- weight_uom?: string | null | undefined;
1004
1000
  warehouse?: string | null | undefined;
1005
1001
  target_warehouse?: string | null | undefined;
1006
1002
  quality_inspection?: string | null | undefined;
1007
- so_detail?: string | null | undefined;
1008
- dn_detail?: string | null | undefined;
1009
1003
  batch_no?: string | null | undefined;
1010
1004
  serial_no?: string | null | undefined;
1011
1005
  actual_batch_qty?: number | null | undefined;
@@ -1016,10 +1010,7 @@ export declare class ERPNextSalesInvoice {
1016
1010
  project?: string | null | undefined;
1017
1011
  purchase_order?: string | null | undefined;
1018
1012
  purchase_order_item?: string | null | undefined;
1019
- sales_order?: string | null | undefined;
1020
- delivery_note?: string | null | undefined;
1021
1013
  delivered_qty?: number | null | undefined;
1022
- sales_invoice_item?: string | null | undefined;
1023
1014
  discount_account?: string | null | undefined;
1024
1015
  deferred_revenue_account?: string | null | undefined;
1025
1016
  service_start_date?: string | null | undefined;
@@ -1029,9 +1020,18 @@ export declare class ERPNextSalesInvoice {
1029
1020
  finance_book?: string | null | undefined;
1030
1021
  serial_and_batch_bundle?: string | null | undefined;
1031
1022
  }[];
1032
- update_stock: 0 | 1;
1033
- allocate_advances_automatically: 0 | 1;
1034
- ignore_default_payment_terms_template: 0 | 1;
1023
+ is_return: 0 | 1;
1024
+ selling_price_list: string;
1025
+ plc_conversion_rate: number;
1026
+ ignore_pricing_rule: 0 | 1;
1027
+ custom_tax_included_in_shipping_cost: 0 | 1;
1028
+ apply_discount_on: "" | "Grand Total" | "Net Total";
1029
+ disable_rounded_total: 0 | 1;
1030
+ is_internal_customer: 0 | 1;
1031
+ group_same_items: 0 | 1;
1032
+ update_stock: 0 | 1;
1033
+ allocate_advances_automatically: 0 | 1;
1034
+ ignore_default_payment_terms_template: 0 | 1;
1035
1035
  is_opening: "No" | "Yes";
1036
1036
  custom_invoice_no: string;
1037
1037
  is_pos: 0 | 1;
@@ -1053,26 +1053,33 @@ export declare class ERPNextSalesInvoice {
1053
1053
  _user_tags?: string | null | undefined;
1054
1054
  tax_category?: string | null | undefined;
1055
1055
  language?: string | null | undefined;
1056
+ posting_time?: string | null | undefined;
1057
+ company_tax_id?: string | null | undefined;
1058
+ total_qty?: number | null | undefined;
1059
+ total_net_weight?: number | null | undefined;
1060
+ base_total?: number | null | undefined;
1061
+ base_net_total?: number | null | undefined;
1062
+ total?: number | null | undefined;
1063
+ net_total?: number | null | undefined;
1064
+ dispatch_address_name?: string | null | undefined;
1065
+ dispatch_address?: string | null | undefined;
1066
+ tax_id?: string | null | undefined;
1056
1067
  discount_amount?: number | null | undefined;
1057
1068
  pricing_rules?: any[] | null | undefined;
1058
1069
  cost_center?: string | null | undefined;
1059
1070
  project?: string | null | undefined;
1060
1071
  title?: string | null | undefined;
1061
1072
  customer_name?: string | null | undefined;
1062
- posting_time?: string | null | undefined;
1063
1073
  return_against?: string | null | undefined;
1064
1074
  po_no?: string | null | undefined;
1065
1075
  po_date?: string | null | undefined;
1066
1076
  shipping_address_name?: string | null | undefined;
1067
1077
  shipping_address?: string | null | undefined;
1068
- dispatch_address_name?: string | null | undefined;
1069
- dispatch_address?: string | null | undefined;
1070
1078
  contact_person?: string | null | undefined;
1071
1079
  contact_display?: string | null | undefined;
1072
1080
  contact_mobile?: string | null | undefined;
1073
1081
  contact_email?: string | null | undefined;
1074
1082
  customer_address?: string | null | undefined;
1075
- tax_id?: string | null | undefined;
1076
1083
  address_display?: string | null | undefined;
1077
1084
  company_address?: string | null | undefined;
1078
1085
  company_address_display?: string | null | undefined;
@@ -1080,12 +1087,6 @@ export declare class ERPNextSalesInvoice {
1080
1087
  set_warehouse?: string | null | undefined;
1081
1088
  set_target_warehouse?: string | null | undefined;
1082
1089
  scan_barcode?: string | null | undefined;
1083
- total_qty?: number | null | undefined;
1084
- base_total?: number | null | undefined;
1085
- base_net_total?: number | null | undefined;
1086
- total_net_weight?: number | null | undefined;
1087
- total?: number | null | undefined;
1088
- net_total?: number | null | undefined;
1089
1090
  shipping_rule?: string | null | undefined;
1090
1091
  incoterm?: string | null | undefined;
1091
1092
  custom_shipping_cost?: number | null | undefined;
@@ -1125,10 +1126,10 @@ export declare class ERPNextSalesInvoice {
1125
1126
  description?: string | undefined;
1126
1127
  account_currency?: string | undefined;
1127
1128
  rate?: number | undefined;
1128
- cost_center?: string | undefined;
1129
- project?: string | undefined;
1130
1129
  base_total?: number | undefined;
1131
1130
  total?: number | undefined;
1131
+ cost_center?: string | undefined;
1132
+ project?: string | undefined;
1132
1133
  tax_amount?: number | undefined;
1133
1134
  tax_amount_after_discount_amount?: number | undefined;
1134
1135
  base_tax_amount?: number | undefined;
@@ -1154,7 +1155,6 @@ export declare class ERPNextSalesInvoice {
1154
1155
  reference_row?: string | null | undefined;
1155
1156
  }[] | null | undefined;
1156
1157
  payment_schedule?: any[] | null | undefined;
1157
- company_tax_id?: string | null | undefined;
1158
1158
  pos_profile?: string | null | undefined;
1159
1159
  named_place?: string | null | undefined;
1160
1160
  coupon_code?: string | null | undefined;
@@ -1194,15 +1194,31 @@ export declare class ERPNextSalesInvoice {
1194
1194
  customer: string;
1195
1195
  posting_date: string;
1196
1196
  currency: string;
1197
- selling_price_list: string;
1198
1197
  items: {
1199
1198
  item_code: string;
1200
1199
  qty: number;
1201
- uom: string;
1202
1200
  rate: number;
1201
+ uom: string;
1203
1202
  description?: string | null | undefined;
1204
1203
  brand?: string | null | undefined;
1205
1204
  image?: string | null | undefined;
1205
+ item_tax_template?: string | null | undefined;
1206
+ amount?: number | null | undefined;
1207
+ base_rate?: number | null | undefined;
1208
+ base_amount?: number | null | undefined;
1209
+ net_rate?: number | null | undefined;
1210
+ net_amount?: number | null | undefined;
1211
+ base_net_rate?: number | null | undefined;
1212
+ base_net_amount?: number | null | undefined;
1213
+ delivered_by_supplier?: 0 | 1 | undefined;
1214
+ weight_per_unit?: number | null | undefined;
1215
+ total_weight?: number | null | undefined;
1216
+ weight_uom?: string | null | undefined;
1217
+ sales_order?: string | null | undefined;
1218
+ so_detail?: string | null | undefined;
1219
+ sales_invoice_item?: string | null | undefined;
1220
+ delivery_note?: string | null | undefined;
1221
+ dn_detail?: string | null | undefined;
1206
1222
  barcode?: string | null | undefined;
1207
1223
  item_name?: string | undefined;
1208
1224
  customer_item_code?: string | null | undefined;
@@ -1218,27 +1234,14 @@ export declare class ERPNextSalesInvoice {
1218
1234
  discount_percentage?: number | null | undefined;
1219
1235
  discount_amount?: number | null | undefined;
1220
1236
  base_rate_with_margin?: number | null | undefined;
1221
- amount?: number | null | undefined;
1222
- base_rate?: number | null | undefined;
1223
- base_amount?: number | null | undefined;
1224
1237
  pricing_rules?: string | null | undefined;
1225
1238
  stock_uom_rate?: number | null | undefined;
1226
1239
  is_free_item?: 0 | 1 | undefined;
1227
1240
  grant_commission?: 0 | 1 | undefined;
1228
- net_rate?: number | null | undefined;
1229
- net_amount?: number | null | undefined;
1230
- item_tax_template?: string | null | undefined;
1231
- base_net_rate?: number | null | undefined;
1232
- base_net_amount?: number | null | undefined;
1233
1241
  incoming_rate?: number | null | undefined;
1234
- weight_per_unit?: number | null | undefined;
1235
- total_weight?: number | null | undefined;
1236
- weight_uom?: string | null | undefined;
1237
1242
  warehouse?: string | null | undefined;
1238
1243
  target_warehouse?: string | null | undefined;
1239
1244
  quality_inspection?: string | null | undefined;
1240
- so_detail?: string | null | undefined;
1241
- dn_detail?: string | null | undefined;
1242
1245
  batch_no?: string | null | undefined;
1243
1246
  serial_no?: string | null | undefined;
1244
1247
  actual_batch_qty?: number | null | undefined;
@@ -1250,15 +1253,11 @@ export declare class ERPNextSalesInvoice {
1250
1253
  project?: string | null | undefined;
1251
1254
  page_break?: 0 | 1 | undefined;
1252
1255
  is_fixed_asset?: 0 | 1 | undefined;
1253
- delivered_by_supplier?: 0 | 1 | undefined;
1254
1256
  enable_deferred_revenue?: 0 | 1 | undefined;
1255
1257
  purchase_order?: string | null | undefined;
1256
1258
  purchase_order_item?: string | null | undefined;
1257
1259
  has_item_scanned?: 0 | 1 | undefined;
1258
- sales_order?: string | null | undefined;
1259
- delivery_note?: string | null | undefined;
1260
1260
  delivered_qty?: number | null | undefined;
1261
- sales_invoice_item?: string | null | undefined;
1262
1261
  income_account?: string | undefined;
1263
1262
  discount_account?: string | null | undefined;
1264
1263
  deferred_revenue_account?: string | null | undefined;
@@ -1270,6 +1269,7 @@ export declare class ERPNextSalesInvoice {
1270
1269
  use_serial_batch_fields?: 0 | 1 | undefined;
1271
1270
  serial_and_batch_bundle?: string | null | undefined;
1272
1271
  }[];
1272
+ selling_price_list: string;
1273
1273
  custom_invoice_no: string;
1274
1274
  debit_to: string;
1275
1275
  status?: "Internal Transfer" | "Draft" | "Return" | "Credit Note Issued" | "Submitted" | "Paid" | "Partly Paid" | "Unpaid" | "Unpaid and Discounted" | "Partly Paid and Discounted" | "Overdue and Discounted" | "Overdue" | "Cancelled" | undefined;
@@ -1278,44 +1278,45 @@ export declare class ERPNextSalesInvoice {
1278
1278
  tax_category?: string | null | undefined;
1279
1279
  naming_series?: "INV-.#" | "INV-.#-GS" | undefined;
1280
1280
  language?: string | null | undefined;
1281
+ posting_time?: string | null | undefined;
1282
+ set_posting_time?: 0 | 1 | undefined;
1283
+ company_tax_id?: string | null | undefined;
1284
+ conversion_rate?: number | undefined;
1285
+ total_qty?: number | null | undefined;
1286
+ total_net_weight?: number | null | undefined;
1287
+ base_total?: number | null | undefined;
1288
+ base_net_total?: number | null | undefined;
1289
+ total?: number | null | undefined;
1290
+ net_total?: number | null | undefined;
1291
+ dispatch_address_name?: string | null | undefined;
1292
+ dispatch_address?: string | null | undefined;
1293
+ tax_id?: string | null | undefined;
1281
1294
  discount_amount?: number | null | undefined;
1282
1295
  pricing_rules?: any[] | null | undefined;
1283
1296
  cost_center?: string | null | undefined;
1284
1297
  project?: string | null | undefined;
1285
1298
  title?: string | null | undefined;
1286
1299
  customer_name?: string | null | undefined;
1287
- posting_time?: string | null | undefined;
1288
- set_posting_time?: 0 | 1 | undefined;
1289
1300
  is_return?: 0 | 1 | undefined;
1290
1301
  return_against?: string | null | undefined;
1291
1302
  po_no?: string | null | undefined;
1292
1303
  po_date?: string | null | undefined;
1293
1304
  shipping_address_name?: string | null | undefined;
1294
1305
  shipping_address?: string | null | undefined;
1295
- dispatch_address_name?: string | null | undefined;
1296
- dispatch_address?: string | null | undefined;
1297
1306
  contact_person?: string | null | undefined;
1298
1307
  contact_display?: string | null | undefined;
1299
1308
  contact_mobile?: string | null | undefined;
1300
1309
  contact_email?: string | null | undefined;
1301
1310
  customer_address?: string | null | undefined;
1302
- tax_id?: string | null | undefined;
1303
1311
  address_display?: string | null | undefined;
1304
1312
  company_address?: string | null | undefined;
1305
1313
  company_address_display?: string | null | undefined;
1306
- conversion_rate?: number | undefined;
1307
1314
  price_list_currency?: string | null | undefined;
1308
1315
  plc_conversion_rate?: number | undefined;
1309
1316
  ignore_pricing_rule?: 0 | 1 | undefined;
1310
1317
  set_warehouse?: string | null | undefined;
1311
1318
  set_target_warehouse?: string | null | undefined;
1312
1319
  scan_barcode?: string | null | undefined;
1313
- total_qty?: number | null | undefined;
1314
- base_total?: number | null | undefined;
1315
- base_net_total?: number | null | undefined;
1316
- total_net_weight?: number | null | undefined;
1317
- total?: number | null | undefined;
1318
- net_total?: number | null | undefined;
1319
1320
  shipping_rule?: string | null | undefined;
1320
1321
  incoterm?: string | null | undefined;
1321
1322
  custom_shipping_cost?: number | null | undefined;
@@ -1360,10 +1361,10 @@ export declare class ERPNextSalesInvoice {
1360
1361
  description?: string | undefined;
1361
1362
  account_currency?: string | undefined;
1362
1363
  rate?: number | undefined;
1363
- cost_center?: string | undefined;
1364
- project?: string | undefined;
1365
1364
  base_total?: number | undefined;
1366
1365
  total?: number | undefined;
1366
+ cost_center?: string | undefined;
1367
+ project?: string | undefined;
1367
1368
  tax_amount?: number | undefined;
1368
1369
  tax_amount_after_discount_amount?: number | undefined;
1369
1370
  base_tax_amount?: number | undefined;
@@ -1393,7 +1394,6 @@ export declare class ERPNextSalesInvoice {
1393
1394
  reference_row?: string | null | undefined;
1394
1395
  }[] | null | undefined;
1395
1396
  payment_schedule?: any[] | null | undefined;
1396
- company_tax_id?: string | null | undefined;
1397
1397
  is_pos?: 0 | 1 | undefined;
1398
1398
  pos_profile?: string | null | undefined;
1399
1399
  is_debit_note?: 0 | 1 | undefined;
@@ -1461,17 +1461,8 @@ export declare class ERPNextSalesInvoice {
1461
1461
  customer: string;
1462
1462
  posting_date: string;
1463
1463
  set_posting_time: 0 | 1;
1464
- is_return: 0 | 1;
1465
1464
  currency: string;
1466
1465
  conversion_rate: number;
1467
- selling_price_list: string;
1468
- plc_conversion_rate: number;
1469
- ignore_pricing_rule: 0 | 1;
1470
- custom_tax_included_in_shipping_cost: 0 | 1;
1471
- apply_discount_on: "" | "Grand Total" | "Net Total";
1472
- disable_rounded_total: 0 | 1;
1473
- is_internal_customer: 0 | 1;
1474
- group_same_items: 0 | 1;
1475
1466
  items: {
1476
1467
  docstatus: number;
1477
1468
  name: string;
@@ -1484,16 +1475,16 @@ export declare class ERPNextSalesInvoice {
1484
1475
  parenttype: string;
1485
1476
  parentfield: string;
1486
1477
  item_code: string;
1487
- item_name: string;
1488
1478
  qty: number;
1489
- uom: string;
1490
1479
  rate: number;
1480
+ delivered_by_supplier: 0 | 1;
1481
+ item_name: string;
1482
+ uom: string;
1491
1483
  is_free_item: 0 | 1;
1492
1484
  grant_commission: 0 | 1;
1493
1485
  allow_zero_valuation_rate: 0 | 1;
1494
1486
  page_break: 0 | 1;
1495
1487
  is_fixed_asset: 0 | 1;
1496
- delivered_by_supplier: 0 | 1;
1497
1488
  enable_deferred_revenue: 0 | 1;
1498
1489
  has_item_scanned: 0 | 1;
1499
1490
  income_account: string;
@@ -1502,6 +1493,22 @@ export declare class ERPNextSalesInvoice {
1502
1493
  brand?: string | null | undefined;
1503
1494
  _user_tags?: string | null | undefined;
1504
1495
  image?: string | null | undefined;
1496
+ item_tax_template?: string | null | undefined;
1497
+ amount?: number | null | undefined;
1498
+ base_rate?: number | null | undefined;
1499
+ base_amount?: number | null | undefined;
1500
+ net_rate?: number | null | undefined;
1501
+ net_amount?: number | null | undefined;
1502
+ base_net_rate?: number | null | undefined;
1503
+ base_net_amount?: number | null | undefined;
1504
+ weight_per_unit?: number | null | undefined;
1505
+ total_weight?: number | null | undefined;
1506
+ weight_uom?: string | null | undefined;
1507
+ sales_order?: string | null | undefined;
1508
+ so_detail?: string | null | undefined;
1509
+ sales_invoice_item?: string | null | undefined;
1510
+ delivery_note?: string | null | undefined;
1511
+ dn_detail?: string | null | undefined;
1505
1512
  barcode?: string | null | undefined;
1506
1513
  customer_item_code?: string | null | undefined;
1507
1514
  item_group?: string | null | undefined;
@@ -1516,25 +1523,12 @@ export declare class ERPNextSalesInvoice {
1516
1523
  discount_percentage?: number | null | undefined;
1517
1524
  discount_amount?: number | null | undefined;
1518
1525
  base_rate_with_margin?: number | null | undefined;
1519
- amount?: number | null | undefined;
1520
- base_rate?: number | null | undefined;
1521
- base_amount?: number | null | undefined;
1522
1526
  pricing_rules?: string | null | undefined;
1523
1527
  stock_uom_rate?: number | null | undefined;
1524
- net_rate?: number | null | undefined;
1525
- net_amount?: number | null | undefined;
1526
- item_tax_template?: string | null | undefined;
1527
- base_net_rate?: number | null | undefined;
1528
- base_net_amount?: number | null | undefined;
1529
1528
  incoming_rate?: number | null | undefined;
1530
- weight_per_unit?: number | null | undefined;
1531
- total_weight?: number | null | undefined;
1532
- weight_uom?: string | null | undefined;
1533
1529
  warehouse?: string | null | undefined;
1534
1530
  target_warehouse?: string | null | undefined;
1535
1531
  quality_inspection?: string | null | undefined;
1536
- so_detail?: string | null | undefined;
1537
- dn_detail?: string | null | undefined;
1538
1532
  batch_no?: string | null | undefined;
1539
1533
  serial_no?: string | null | undefined;
1540
1534
  actual_batch_qty?: number | null | undefined;
@@ -1545,10 +1539,7 @@ export declare class ERPNextSalesInvoice {
1545
1539
  project?: string | null | undefined;
1546
1540
  purchase_order?: string | null | undefined;
1547
1541
  purchase_order_item?: string | null | undefined;
1548
- sales_order?: string | null | undefined;
1549
- delivery_note?: string | null | undefined;
1550
1542
  delivered_qty?: number | null | undefined;
1551
- sales_invoice_item?: string | null | undefined;
1552
1543
  discount_account?: string | null | undefined;
1553
1544
  deferred_revenue_account?: string | null | undefined;
1554
1545
  service_start_date?: string | null | undefined;
@@ -1558,6 +1549,15 @@ export declare class ERPNextSalesInvoice {
1558
1549
  finance_book?: string | null | undefined;
1559
1550
  serial_and_batch_bundle?: string | null | undefined;
1560
1551
  }[];
1552
+ is_return: 0 | 1;
1553
+ selling_price_list: string;
1554
+ plc_conversion_rate: number;
1555
+ ignore_pricing_rule: 0 | 1;
1556
+ custom_tax_included_in_shipping_cost: 0 | 1;
1557
+ apply_discount_on: "" | "Grand Total" | "Net Total";
1558
+ disable_rounded_total: 0 | 1;
1559
+ is_internal_customer: 0 | 1;
1560
+ group_same_items: 0 | 1;
1561
1561
  update_stock: 0 | 1;
1562
1562
  allocate_advances_automatically: 0 | 1;
1563
1563
  ignore_default_payment_terms_template: 0 | 1;
@@ -1582,26 +1582,33 @@ export declare class ERPNextSalesInvoice {
1582
1582
  _user_tags?: string | null | undefined;
1583
1583
  tax_category?: string | null | undefined;
1584
1584
  language?: string | null | undefined;
1585
+ posting_time?: string | null | undefined;
1586
+ company_tax_id?: string | null | undefined;
1587
+ total_qty?: number | null | undefined;
1588
+ total_net_weight?: number | null | undefined;
1589
+ base_total?: number | null | undefined;
1590
+ base_net_total?: number | null | undefined;
1591
+ total?: number | null | undefined;
1592
+ net_total?: number | null | undefined;
1593
+ dispatch_address_name?: string | null | undefined;
1594
+ dispatch_address?: string | null | undefined;
1595
+ tax_id?: string | null | undefined;
1585
1596
  discount_amount?: number | null | undefined;
1586
1597
  pricing_rules?: any[] | null | undefined;
1587
1598
  cost_center?: string | null | undefined;
1588
1599
  project?: string | null | undefined;
1589
1600
  title?: string | null | undefined;
1590
1601
  customer_name?: string | null | undefined;
1591
- posting_time?: string | null | undefined;
1592
1602
  return_against?: string | null | undefined;
1593
1603
  po_no?: string | null | undefined;
1594
1604
  po_date?: string | null | undefined;
1595
1605
  shipping_address_name?: string | null | undefined;
1596
1606
  shipping_address?: string | null | undefined;
1597
- dispatch_address_name?: string | null | undefined;
1598
- dispatch_address?: string | null | undefined;
1599
1607
  contact_person?: string | null | undefined;
1600
1608
  contact_display?: string | null | undefined;
1601
1609
  contact_mobile?: string | null | undefined;
1602
1610
  contact_email?: string | null | undefined;
1603
1611
  customer_address?: string | null | undefined;
1604
- tax_id?: string | null | undefined;
1605
1612
  address_display?: string | null | undefined;
1606
1613
  company_address?: string | null | undefined;
1607
1614
  company_address_display?: string | null | undefined;
@@ -1609,12 +1616,6 @@ export declare class ERPNextSalesInvoice {
1609
1616
  set_warehouse?: string | null | undefined;
1610
1617
  set_target_warehouse?: string | null | undefined;
1611
1618
  scan_barcode?: string | null | undefined;
1612
- total_qty?: number | null | undefined;
1613
- base_total?: number | null | undefined;
1614
- base_net_total?: number | null | undefined;
1615
- total_net_weight?: number | null | undefined;
1616
- total?: number | null | undefined;
1617
- net_total?: number | null | undefined;
1618
1619
  shipping_rule?: string | null | undefined;
1619
1620
  incoterm?: string | null | undefined;
1620
1621
  custom_shipping_cost?: number | null | undefined;
@@ -1654,10 +1655,10 @@ export declare class ERPNextSalesInvoice {
1654
1655
  description?: string | undefined;
1655
1656
  account_currency?: string | undefined;
1656
1657
  rate?: number | undefined;
1657
- cost_center?: string | undefined;
1658
- project?: string | undefined;
1659
1658
  base_total?: number | undefined;
1660
1659
  total?: number | undefined;
1660
+ cost_center?: string | undefined;
1661
+ project?: string | undefined;
1661
1662
  tax_amount?: number | undefined;
1662
1663
  tax_amount_after_discount_amount?: number | undefined;
1663
1664
  base_tax_amount?: number | undefined;
@@ -1683,7 +1684,6 @@ export declare class ERPNextSalesInvoice {
1683
1684
  reference_row?: string | null | undefined;
1684
1685
  }[] | null | undefined;
1685
1686
  payment_schedule?: any[] | null | undefined;
1686
- company_tax_id?: string | null | undefined;
1687
1687
  pos_profile?: string | null | undefined;
1688
1688
  named_place?: string | null | undefined;
1689
1689
  coupon_code?: string | null | undefined;
@@ -1739,17 +1739,8 @@ export declare class ERPNextSalesInvoice {
1739
1739
  customer: string;
1740
1740
  posting_date: string;
1741
1741
  set_posting_time: 0 | 1;
1742
- is_return: 0 | 1;
1743
1742
  currency: string;
1744
1743
  conversion_rate: number;
1745
- selling_price_list: string;
1746
- plc_conversion_rate: number;
1747
- ignore_pricing_rule: 0 | 1;
1748
- custom_tax_included_in_shipping_cost: 0 | 1;
1749
- apply_discount_on: "" | "Grand Total" | "Net Total";
1750
- disable_rounded_total: 0 | 1;
1751
- is_internal_customer: 0 | 1;
1752
- group_same_items: 0 | 1;
1753
1744
  items: {
1754
1745
  docstatus: number;
1755
1746
  name: string;
@@ -1762,16 +1753,16 @@ export declare class ERPNextSalesInvoice {
1762
1753
  parenttype: string;
1763
1754
  parentfield: string;
1764
1755
  item_code: string;
1765
- item_name: string;
1766
1756
  qty: number;
1767
- uom: string;
1768
1757
  rate: number;
1758
+ delivered_by_supplier: 0 | 1;
1759
+ item_name: string;
1760
+ uom: string;
1769
1761
  is_free_item: 0 | 1;
1770
1762
  grant_commission: 0 | 1;
1771
1763
  allow_zero_valuation_rate: 0 | 1;
1772
1764
  page_break: 0 | 1;
1773
1765
  is_fixed_asset: 0 | 1;
1774
- delivered_by_supplier: 0 | 1;
1775
1766
  enable_deferred_revenue: 0 | 1;
1776
1767
  has_item_scanned: 0 | 1;
1777
1768
  income_account: string;
@@ -1780,6 +1771,22 @@ export declare class ERPNextSalesInvoice {
1780
1771
  brand?: string | null | undefined;
1781
1772
  _user_tags?: string | null | undefined;
1782
1773
  image?: string | null | undefined;
1774
+ item_tax_template?: string | null | undefined;
1775
+ amount?: number | null | undefined;
1776
+ base_rate?: number | null | undefined;
1777
+ base_amount?: number | null | undefined;
1778
+ net_rate?: number | null | undefined;
1779
+ net_amount?: number | null | undefined;
1780
+ base_net_rate?: number | null | undefined;
1781
+ base_net_amount?: number | null | undefined;
1782
+ weight_per_unit?: number | null | undefined;
1783
+ total_weight?: number | null | undefined;
1784
+ weight_uom?: string | null | undefined;
1785
+ sales_order?: string | null | undefined;
1786
+ so_detail?: string | null | undefined;
1787
+ sales_invoice_item?: string | null | undefined;
1788
+ delivery_note?: string | null | undefined;
1789
+ dn_detail?: string | null | undefined;
1783
1790
  barcode?: string | null | undefined;
1784
1791
  customer_item_code?: string | null | undefined;
1785
1792
  item_group?: string | null | undefined;
@@ -1794,25 +1801,12 @@ export declare class ERPNextSalesInvoice {
1794
1801
  discount_percentage?: number | null | undefined;
1795
1802
  discount_amount?: number | null | undefined;
1796
1803
  base_rate_with_margin?: number | null | undefined;
1797
- amount?: number | null | undefined;
1798
- base_rate?: number | null | undefined;
1799
- base_amount?: number | null | undefined;
1800
1804
  pricing_rules?: string | null | undefined;
1801
1805
  stock_uom_rate?: number | null | undefined;
1802
- net_rate?: number | null | undefined;
1803
- net_amount?: number | null | undefined;
1804
- item_tax_template?: string | null | undefined;
1805
- base_net_rate?: number | null | undefined;
1806
- base_net_amount?: number | null | undefined;
1807
1806
  incoming_rate?: number | null | undefined;
1808
- weight_per_unit?: number | null | undefined;
1809
- total_weight?: number | null | undefined;
1810
- weight_uom?: string | null | undefined;
1811
1807
  warehouse?: string | null | undefined;
1812
1808
  target_warehouse?: string | null | undefined;
1813
1809
  quality_inspection?: string | null | undefined;
1814
- so_detail?: string | null | undefined;
1815
- dn_detail?: string | null | undefined;
1816
1810
  batch_no?: string | null | undefined;
1817
1811
  serial_no?: string | null | undefined;
1818
1812
  actual_batch_qty?: number | null | undefined;
@@ -1823,10 +1817,7 @@ export declare class ERPNextSalesInvoice {
1823
1817
  project?: string | null | undefined;
1824
1818
  purchase_order?: string | null | undefined;
1825
1819
  purchase_order_item?: string | null | undefined;
1826
- sales_order?: string | null | undefined;
1827
- delivery_note?: string | null | undefined;
1828
1820
  delivered_qty?: number | null | undefined;
1829
- sales_invoice_item?: string | null | undefined;
1830
1821
  discount_account?: string | null | undefined;
1831
1822
  deferred_revenue_account?: string | null | undefined;
1832
1823
  service_start_date?: string | null | undefined;
@@ -1836,6 +1827,15 @@ export declare class ERPNextSalesInvoice {
1836
1827
  finance_book?: string | null | undefined;
1837
1828
  serial_and_batch_bundle?: string | null | undefined;
1838
1829
  }[];
1830
+ is_return: 0 | 1;
1831
+ selling_price_list: string;
1832
+ plc_conversion_rate: number;
1833
+ ignore_pricing_rule: 0 | 1;
1834
+ custom_tax_included_in_shipping_cost: 0 | 1;
1835
+ apply_discount_on: "" | "Grand Total" | "Net Total";
1836
+ disable_rounded_total: 0 | 1;
1837
+ is_internal_customer: 0 | 1;
1838
+ group_same_items: 0 | 1;
1839
1839
  update_stock: 0 | 1;
1840
1840
  allocate_advances_automatically: 0 | 1;
1841
1841
  ignore_default_payment_terms_template: 0 | 1;
@@ -1860,26 +1860,33 @@ export declare class ERPNextSalesInvoice {
1860
1860
  _user_tags?: string | null | undefined;
1861
1861
  tax_category?: string | null | undefined;
1862
1862
  language?: string | null | undefined;
1863
+ posting_time?: string | null | undefined;
1864
+ company_tax_id?: string | null | undefined;
1865
+ total_qty?: number | null | undefined;
1866
+ total_net_weight?: number | null | undefined;
1867
+ base_total?: number | null | undefined;
1868
+ base_net_total?: number | null | undefined;
1869
+ total?: number | null | undefined;
1870
+ net_total?: number | null | undefined;
1871
+ dispatch_address_name?: string | null | undefined;
1872
+ dispatch_address?: string | null | undefined;
1873
+ tax_id?: string | null | undefined;
1863
1874
  discount_amount?: number | null | undefined;
1864
1875
  pricing_rules?: any[] | null | undefined;
1865
1876
  cost_center?: string | null | undefined;
1866
1877
  project?: string | null | undefined;
1867
1878
  title?: string | null | undefined;
1868
1879
  customer_name?: string | null | undefined;
1869
- posting_time?: string | null | undefined;
1870
1880
  return_against?: string | null | undefined;
1871
1881
  po_no?: string | null | undefined;
1872
1882
  po_date?: string | null | undefined;
1873
1883
  shipping_address_name?: string | null | undefined;
1874
1884
  shipping_address?: string | null | undefined;
1875
- dispatch_address_name?: string | null | undefined;
1876
- dispatch_address?: string | null | undefined;
1877
1885
  contact_person?: string | null | undefined;
1878
1886
  contact_display?: string | null | undefined;
1879
1887
  contact_mobile?: string | null | undefined;
1880
1888
  contact_email?: string | null | undefined;
1881
1889
  customer_address?: string | null | undefined;
1882
- tax_id?: string | null | undefined;
1883
1890
  address_display?: string | null | undefined;
1884
1891
  company_address?: string | null | undefined;
1885
1892
  company_address_display?: string | null | undefined;
@@ -1887,12 +1894,6 @@ export declare class ERPNextSalesInvoice {
1887
1894
  set_warehouse?: string | null | undefined;
1888
1895
  set_target_warehouse?: string | null | undefined;
1889
1896
  scan_barcode?: string | null | undefined;
1890
- total_qty?: number | null | undefined;
1891
- base_total?: number | null | undefined;
1892
- base_net_total?: number | null | undefined;
1893
- total_net_weight?: number | null | undefined;
1894
- total?: number | null | undefined;
1895
- net_total?: number | null | undefined;
1896
1897
  shipping_rule?: string | null | undefined;
1897
1898
  incoterm?: string | null | undefined;
1898
1899
  custom_shipping_cost?: number | null | undefined;
@@ -1932,10 +1933,10 @@ export declare class ERPNextSalesInvoice {
1932
1933
  description?: string | undefined;
1933
1934
  account_currency?: string | undefined;
1934
1935
  rate?: number | undefined;
1935
- cost_center?: string | undefined;
1936
- project?: string | undefined;
1937
1936
  base_total?: number | undefined;
1938
1937
  total?: number | undefined;
1938
+ cost_center?: string | undefined;
1939
+ project?: string | undefined;
1939
1940
  tax_amount?: number | undefined;
1940
1941
  tax_amount_after_discount_amount?: number | undefined;
1941
1942
  base_tax_amount?: number | undefined;
@@ -1961,7 +1962,6 @@ export declare class ERPNextSalesInvoice {
1961
1962
  reference_row?: string | null | undefined;
1962
1963
  }[] | null | undefined;
1963
1964
  payment_schedule?: any[] | null | undefined;
1964
- company_tax_id?: string | null | undefined;
1965
1965
  pos_profile?: string | null | undefined;
1966
1966
  named_place?: string | null | undefined;
1967
1967
  coupon_code?: string | null | undefined;
@@ -2013,17 +2013,8 @@ export declare class ERPNextSalesInvoice {
2013
2013
  customer: string;
2014
2014
  posting_date: string;
2015
2015
  set_posting_time: 0 | 1;
2016
- is_return: 0 | 1;
2017
2016
  currency: string;
2018
2017
  conversion_rate: number;
2019
- selling_price_list: string;
2020
- plc_conversion_rate: number;
2021
- ignore_pricing_rule: 0 | 1;
2022
- custom_tax_included_in_shipping_cost: 0 | 1;
2023
- apply_discount_on: "" | "Grand Total" | "Net Total";
2024
- disable_rounded_total: 0 | 1;
2025
- is_internal_customer: 0 | 1;
2026
- group_same_items: 0 | 1;
2027
2018
  items: {
2028
2019
  docstatus: number;
2029
2020
  name: string;
@@ -2036,16 +2027,16 @@ export declare class ERPNextSalesInvoice {
2036
2027
  parenttype: string;
2037
2028
  parentfield: string;
2038
2029
  item_code: string;
2039
- item_name: string;
2040
2030
  qty: number;
2041
- uom: string;
2042
2031
  rate: number;
2032
+ delivered_by_supplier: 0 | 1;
2033
+ item_name: string;
2034
+ uom: string;
2043
2035
  is_free_item: 0 | 1;
2044
2036
  grant_commission: 0 | 1;
2045
2037
  allow_zero_valuation_rate: 0 | 1;
2046
2038
  page_break: 0 | 1;
2047
2039
  is_fixed_asset: 0 | 1;
2048
- delivered_by_supplier: 0 | 1;
2049
2040
  enable_deferred_revenue: 0 | 1;
2050
2041
  has_item_scanned: 0 | 1;
2051
2042
  income_account: string;
@@ -2054,6 +2045,22 @@ export declare class ERPNextSalesInvoice {
2054
2045
  brand?: string | null | undefined;
2055
2046
  _user_tags?: string | null | undefined;
2056
2047
  image?: string | null | undefined;
2048
+ item_tax_template?: string | null | undefined;
2049
+ amount?: number | null | undefined;
2050
+ base_rate?: number | null | undefined;
2051
+ base_amount?: number | null | undefined;
2052
+ net_rate?: number | null | undefined;
2053
+ net_amount?: number | null | undefined;
2054
+ base_net_rate?: number | null | undefined;
2055
+ base_net_amount?: number | null | undefined;
2056
+ weight_per_unit?: number | null | undefined;
2057
+ total_weight?: number | null | undefined;
2058
+ weight_uom?: string | null | undefined;
2059
+ sales_order?: string | null | undefined;
2060
+ so_detail?: string | null | undefined;
2061
+ sales_invoice_item?: string | null | undefined;
2062
+ delivery_note?: string | null | undefined;
2063
+ dn_detail?: string | null | undefined;
2057
2064
  barcode?: string | null | undefined;
2058
2065
  customer_item_code?: string | null | undefined;
2059
2066
  item_group?: string | null | undefined;
@@ -2068,25 +2075,12 @@ export declare class ERPNextSalesInvoice {
2068
2075
  discount_percentage?: number | null | undefined;
2069
2076
  discount_amount?: number | null | undefined;
2070
2077
  base_rate_with_margin?: number | null | undefined;
2071
- amount?: number | null | undefined;
2072
- base_rate?: number | null | undefined;
2073
- base_amount?: number | null | undefined;
2074
2078
  pricing_rules?: string | null | undefined;
2075
2079
  stock_uom_rate?: number | null | undefined;
2076
- net_rate?: number | null | undefined;
2077
- net_amount?: number | null | undefined;
2078
- item_tax_template?: string | null | undefined;
2079
- base_net_rate?: number | null | undefined;
2080
- base_net_amount?: number | null | undefined;
2081
2080
  incoming_rate?: number | null | undefined;
2082
- weight_per_unit?: number | null | undefined;
2083
- total_weight?: number | null | undefined;
2084
- weight_uom?: string | null | undefined;
2085
2081
  warehouse?: string | null | undefined;
2086
2082
  target_warehouse?: string | null | undefined;
2087
2083
  quality_inspection?: string | null | undefined;
2088
- so_detail?: string | null | undefined;
2089
- dn_detail?: string | null | undefined;
2090
2084
  batch_no?: string | null | undefined;
2091
2085
  serial_no?: string | null | undefined;
2092
2086
  actual_batch_qty?: number | null | undefined;
@@ -2097,10 +2091,7 @@ export declare class ERPNextSalesInvoice {
2097
2091
  project?: string | null | undefined;
2098
2092
  purchase_order?: string | null | undefined;
2099
2093
  purchase_order_item?: string | null | undefined;
2100
- sales_order?: string | null | undefined;
2101
- delivery_note?: string | null | undefined;
2102
2094
  delivered_qty?: number | null | undefined;
2103
- sales_invoice_item?: string | null | undefined;
2104
2095
  discount_account?: string | null | undefined;
2105
2096
  deferred_revenue_account?: string | null | undefined;
2106
2097
  service_start_date?: string | null | undefined;
@@ -2110,6 +2101,15 @@ export declare class ERPNextSalesInvoice {
2110
2101
  finance_book?: string | null | undefined;
2111
2102
  serial_and_batch_bundle?: string | null | undefined;
2112
2103
  }[];
2104
+ is_return: 0 | 1;
2105
+ selling_price_list: string;
2106
+ plc_conversion_rate: number;
2107
+ ignore_pricing_rule: 0 | 1;
2108
+ custom_tax_included_in_shipping_cost: 0 | 1;
2109
+ apply_discount_on: "" | "Grand Total" | "Net Total";
2110
+ disable_rounded_total: 0 | 1;
2111
+ is_internal_customer: 0 | 1;
2112
+ group_same_items: 0 | 1;
2113
2113
  update_stock: 0 | 1;
2114
2114
  allocate_advances_automatically: 0 | 1;
2115
2115
  ignore_default_payment_terms_template: 0 | 1;
@@ -2134,26 +2134,33 @@ export declare class ERPNextSalesInvoice {
2134
2134
  _user_tags?: string | null | undefined;
2135
2135
  tax_category?: string | null | undefined;
2136
2136
  language?: string | null | undefined;
2137
+ posting_time?: string | null | undefined;
2138
+ company_tax_id?: string | null | undefined;
2139
+ total_qty?: number | null | undefined;
2140
+ total_net_weight?: number | null | undefined;
2141
+ base_total?: number | null | undefined;
2142
+ base_net_total?: number | null | undefined;
2143
+ total?: number | null | undefined;
2144
+ net_total?: number | null | undefined;
2145
+ dispatch_address_name?: string | null | undefined;
2146
+ dispatch_address?: string | null | undefined;
2147
+ tax_id?: string | null | undefined;
2137
2148
  discount_amount?: number | null | undefined;
2138
2149
  pricing_rules?: any[] | null | undefined;
2139
2150
  cost_center?: string | null | undefined;
2140
2151
  project?: string | null | undefined;
2141
2152
  title?: string | null | undefined;
2142
2153
  customer_name?: string | null | undefined;
2143
- posting_time?: string | null | undefined;
2144
2154
  return_against?: string | null | undefined;
2145
2155
  po_no?: string | null | undefined;
2146
2156
  po_date?: string | null | undefined;
2147
2157
  shipping_address_name?: string | null | undefined;
2148
2158
  shipping_address?: string | null | undefined;
2149
- dispatch_address_name?: string | null | undefined;
2150
- dispatch_address?: string | null | undefined;
2151
2159
  contact_person?: string | null | undefined;
2152
2160
  contact_display?: string | null | undefined;
2153
2161
  contact_mobile?: string | null | undefined;
2154
2162
  contact_email?: string | null | undefined;
2155
2163
  customer_address?: string | null | undefined;
2156
- tax_id?: string | null | undefined;
2157
2164
  address_display?: string | null | undefined;
2158
2165
  company_address?: string | null | undefined;
2159
2166
  company_address_display?: string | null | undefined;
@@ -2161,12 +2168,6 @@ export declare class ERPNextSalesInvoice {
2161
2168
  set_warehouse?: string | null | undefined;
2162
2169
  set_target_warehouse?: string | null | undefined;
2163
2170
  scan_barcode?: string | null | undefined;
2164
- total_qty?: number | null | undefined;
2165
- base_total?: number | null | undefined;
2166
- base_net_total?: number | null | undefined;
2167
- total_net_weight?: number | null | undefined;
2168
- total?: number | null | undefined;
2169
- net_total?: number | null | undefined;
2170
2171
  shipping_rule?: string | null | undefined;
2171
2172
  incoterm?: string | null | undefined;
2172
2173
  custom_shipping_cost?: number | null | undefined;
@@ -2206,10 +2207,10 @@ export declare class ERPNextSalesInvoice {
2206
2207
  description?: string | undefined;
2207
2208
  account_currency?: string | undefined;
2208
2209
  rate?: number | undefined;
2209
- cost_center?: string | undefined;
2210
- project?: string | undefined;
2211
2210
  base_total?: number | undefined;
2212
2211
  total?: number | undefined;
2212
+ cost_center?: string | undefined;
2213
+ project?: string | undefined;
2213
2214
  tax_amount?: number | undefined;
2214
2215
  tax_amount_after_discount_amount?: number | undefined;
2215
2216
  base_tax_amount?: number | undefined;
@@ -2235,7 +2236,6 @@ export declare class ERPNextSalesInvoice {
2235
2236
  reference_row?: string | null | undefined;
2236
2237
  }[] | null | undefined;
2237
2238
  payment_schedule?: any[] | null | undefined;
2238
- company_tax_id?: string | null | undefined;
2239
2239
  pos_profile?: string | null | undefined;
2240
2240
  named_place?: string | null | undefined;
2241
2241
  coupon_code?: string | null | undefined;
@@ -2285,17 +2285,8 @@ export declare class ERPNextSalesInvoice {
2285
2285
  customer: string;
2286
2286
  posting_date: string;
2287
2287
  set_posting_time: 0 | 1;
2288
- is_return: 0 | 1;
2289
2288
  currency: string;
2290
2289
  conversion_rate: number;
2291
- selling_price_list: string;
2292
- plc_conversion_rate: number;
2293
- ignore_pricing_rule: 0 | 1;
2294
- custom_tax_included_in_shipping_cost: 0 | 1;
2295
- apply_discount_on: "" | "Grand Total" | "Net Total";
2296
- disable_rounded_total: 0 | 1;
2297
- is_internal_customer: 0 | 1;
2298
- group_same_items: 0 | 1;
2299
2290
  items: {
2300
2291
  docstatus: number;
2301
2292
  name: string;
@@ -2308,16 +2299,16 @@ export declare class ERPNextSalesInvoice {
2308
2299
  parenttype: string;
2309
2300
  parentfield: string;
2310
2301
  item_code: string;
2311
- item_name: string;
2312
2302
  qty: number;
2313
- uom: string;
2314
2303
  rate: number;
2304
+ delivered_by_supplier: 0 | 1;
2305
+ item_name: string;
2306
+ uom: string;
2315
2307
  is_free_item: 0 | 1;
2316
2308
  grant_commission: 0 | 1;
2317
2309
  allow_zero_valuation_rate: 0 | 1;
2318
2310
  page_break: 0 | 1;
2319
2311
  is_fixed_asset: 0 | 1;
2320
- delivered_by_supplier: 0 | 1;
2321
2312
  enable_deferred_revenue: 0 | 1;
2322
2313
  has_item_scanned: 0 | 1;
2323
2314
  income_account: string;
@@ -2326,6 +2317,22 @@ export declare class ERPNextSalesInvoice {
2326
2317
  brand?: string | null | undefined;
2327
2318
  _user_tags?: string | null | undefined;
2328
2319
  image?: string | null | undefined;
2320
+ item_tax_template?: string | null | undefined;
2321
+ amount?: number | null | undefined;
2322
+ base_rate?: number | null | undefined;
2323
+ base_amount?: number | null | undefined;
2324
+ net_rate?: number | null | undefined;
2325
+ net_amount?: number | null | undefined;
2326
+ base_net_rate?: number | null | undefined;
2327
+ base_net_amount?: number | null | undefined;
2328
+ weight_per_unit?: number | null | undefined;
2329
+ total_weight?: number | null | undefined;
2330
+ weight_uom?: string | null | undefined;
2331
+ sales_order?: string | null | undefined;
2332
+ so_detail?: string | null | undefined;
2333
+ sales_invoice_item?: string | null | undefined;
2334
+ delivery_note?: string | null | undefined;
2335
+ dn_detail?: string | null | undefined;
2329
2336
  barcode?: string | null | undefined;
2330
2337
  customer_item_code?: string | null | undefined;
2331
2338
  item_group?: string | null | undefined;
@@ -2340,25 +2347,12 @@ export declare class ERPNextSalesInvoice {
2340
2347
  discount_percentage?: number | null | undefined;
2341
2348
  discount_amount?: number | null | undefined;
2342
2349
  base_rate_with_margin?: number | null | undefined;
2343
- amount?: number | null | undefined;
2344
- base_rate?: number | null | undefined;
2345
- base_amount?: number | null | undefined;
2346
2350
  pricing_rules?: string | null | undefined;
2347
2351
  stock_uom_rate?: number | null | undefined;
2348
- net_rate?: number | null | undefined;
2349
- net_amount?: number | null | undefined;
2350
- item_tax_template?: string | null | undefined;
2351
- base_net_rate?: number | null | undefined;
2352
- base_net_amount?: number | null | undefined;
2353
2352
  incoming_rate?: number | null | undefined;
2354
- weight_per_unit?: number | null | undefined;
2355
- total_weight?: number | null | undefined;
2356
- weight_uom?: string | null | undefined;
2357
2353
  warehouse?: string | null | undefined;
2358
2354
  target_warehouse?: string | null | undefined;
2359
2355
  quality_inspection?: string | null | undefined;
2360
- so_detail?: string | null | undefined;
2361
- dn_detail?: string | null | undefined;
2362
2356
  batch_no?: string | null | undefined;
2363
2357
  serial_no?: string | null | undefined;
2364
2358
  actual_batch_qty?: number | null | undefined;
@@ -2369,10 +2363,7 @@ export declare class ERPNextSalesInvoice {
2369
2363
  project?: string | null | undefined;
2370
2364
  purchase_order?: string | null | undefined;
2371
2365
  purchase_order_item?: string | null | undefined;
2372
- sales_order?: string | null | undefined;
2373
- delivery_note?: string | null | undefined;
2374
2366
  delivered_qty?: number | null | undefined;
2375
- sales_invoice_item?: string | null | undefined;
2376
2367
  discount_account?: string | null | undefined;
2377
2368
  deferred_revenue_account?: string | null | undefined;
2378
2369
  service_start_date?: string | null | undefined;
@@ -2382,6 +2373,15 @@ export declare class ERPNextSalesInvoice {
2382
2373
  finance_book?: string | null | undefined;
2383
2374
  serial_and_batch_bundle?: string | null | undefined;
2384
2375
  }[];
2376
+ is_return: 0 | 1;
2377
+ selling_price_list: string;
2378
+ plc_conversion_rate: number;
2379
+ ignore_pricing_rule: 0 | 1;
2380
+ custom_tax_included_in_shipping_cost: 0 | 1;
2381
+ apply_discount_on: "" | "Grand Total" | "Net Total";
2382
+ disable_rounded_total: 0 | 1;
2383
+ is_internal_customer: 0 | 1;
2384
+ group_same_items: 0 | 1;
2385
2385
  update_stock: 0 | 1;
2386
2386
  allocate_advances_automatically: 0 | 1;
2387
2387
  ignore_default_payment_terms_template: 0 | 1;
@@ -2406,39 +2406,40 @@ export declare class ERPNextSalesInvoice {
2406
2406
  _user_tags?: string | null | undefined;
2407
2407
  tax_category?: string | null | undefined;
2408
2408
  language?: string | null | undefined;
2409
+ posting_time?: string | null | undefined;
2410
+ company_tax_id?: string | null | undefined;
2411
+ total_qty?: number | null | undefined;
2412
+ total_net_weight?: number | null | undefined;
2413
+ base_total?: number | null | undefined;
2414
+ base_net_total?: number | null | undefined;
2415
+ total?: number | null | undefined;
2416
+ net_total?: number | null | undefined;
2417
+ dispatch_address_name?: string | null | undefined;
2418
+ dispatch_address?: string | null | undefined;
2419
+ tax_id?: string | null | undefined;
2409
2420
  discount_amount?: number | null | undefined;
2410
2421
  pricing_rules?: any[] | null | undefined;
2411
2422
  cost_center?: string | null | undefined;
2412
2423
  project?: string | null | undefined;
2413
2424
  title?: string | null | undefined;
2414
2425
  customer_name?: string | null | undefined;
2415
- posting_time?: string | null | undefined;
2416
2426
  return_against?: string | null | undefined;
2417
2427
  po_no?: string | null | undefined;
2418
2428
  po_date?: string | null | undefined;
2419
2429
  shipping_address_name?: string | null | undefined;
2420
2430
  shipping_address?: string | null | undefined;
2421
- dispatch_address_name?: string | null | undefined;
2422
- dispatch_address?: string | null | undefined;
2423
2431
  contact_person?: string | null | undefined;
2424
2432
  contact_display?: string | null | undefined;
2425
2433
  contact_mobile?: string | null | undefined;
2426
2434
  contact_email?: string | null | undefined;
2427
2435
  customer_address?: string | null | undefined;
2428
- tax_id?: string | null | undefined;
2429
2436
  address_display?: string | null | undefined;
2430
2437
  company_address?: string | null | undefined;
2431
- company_address_display?: string | null | undefined;
2432
- price_list_currency?: string | null | undefined;
2433
- set_warehouse?: string | null | undefined;
2434
- set_target_warehouse?: string | null | undefined;
2435
- scan_barcode?: string | null | undefined;
2436
- total_qty?: number | null | undefined;
2437
- base_total?: number | null | undefined;
2438
- base_net_total?: number | null | undefined;
2439
- total_net_weight?: number | null | undefined;
2440
- total?: number | null | undefined;
2441
- net_total?: number | null | undefined;
2438
+ company_address_display?: string | null | undefined;
2439
+ price_list_currency?: string | null | undefined;
2440
+ set_warehouse?: string | null | undefined;
2441
+ set_target_warehouse?: string | null | undefined;
2442
+ scan_barcode?: string | null | undefined;
2442
2443
  shipping_rule?: string | null | undefined;
2443
2444
  incoterm?: string | null | undefined;
2444
2445
  custom_shipping_cost?: number | null | undefined;
@@ -2478,10 +2479,10 @@ export declare class ERPNextSalesInvoice {
2478
2479
  description?: string | undefined;
2479
2480
  account_currency?: string | undefined;
2480
2481
  rate?: number | undefined;
2481
- cost_center?: string | undefined;
2482
- project?: string | undefined;
2483
2482
  base_total?: number | undefined;
2484
2483
  total?: number | undefined;
2484
+ cost_center?: string | undefined;
2485
+ project?: string | undefined;
2485
2486
  tax_amount?: number | undefined;
2486
2487
  tax_amount_after_discount_amount?: number | undefined;
2487
2488
  base_tax_amount?: number | undefined;
@@ -2507,7 +2508,6 @@ export declare class ERPNextSalesInvoice {
2507
2508
  reference_row?: string | null | undefined;
2508
2509
  }[] | null | undefined;
2509
2510
  payment_schedule?: any[] | null | undefined;
2510
- company_tax_id?: string | null | undefined;
2511
2511
  pos_profile?: string | null | undefined;
2512
2512
  named_place?: string | null | undefined;
2513
2513
  coupon_code?: string | null | undefined;
@@ -2557,17 +2557,8 @@ export declare class ERPNextSalesInvoice {
2557
2557
  customer: string;
2558
2558
  posting_date: string;
2559
2559
  set_posting_time: 0 | 1;
2560
- is_return: 0 | 1;
2561
2560
  currency: string;
2562
2561
  conversion_rate: number;
2563
- selling_price_list: string;
2564
- plc_conversion_rate: number;
2565
- ignore_pricing_rule: 0 | 1;
2566
- custom_tax_included_in_shipping_cost: 0 | 1;
2567
- apply_discount_on: "" | "Grand Total" | "Net Total";
2568
- disable_rounded_total: 0 | 1;
2569
- is_internal_customer: 0 | 1;
2570
- group_same_items: 0 | 1;
2571
2562
  items: {
2572
2563
  docstatus: number;
2573
2564
  name: string;
@@ -2580,16 +2571,16 @@ export declare class ERPNextSalesInvoice {
2580
2571
  parenttype: string;
2581
2572
  parentfield: string;
2582
2573
  item_code: string;
2583
- item_name: string;
2584
2574
  qty: number;
2585
- uom: string;
2586
2575
  rate: number;
2576
+ delivered_by_supplier: 0 | 1;
2577
+ item_name: string;
2578
+ uom: string;
2587
2579
  is_free_item: 0 | 1;
2588
2580
  grant_commission: 0 | 1;
2589
2581
  allow_zero_valuation_rate: 0 | 1;
2590
2582
  page_break: 0 | 1;
2591
2583
  is_fixed_asset: 0 | 1;
2592
- delivered_by_supplier: 0 | 1;
2593
2584
  enable_deferred_revenue: 0 | 1;
2594
2585
  has_item_scanned: 0 | 1;
2595
2586
  income_account: string;
@@ -2598,6 +2589,22 @@ export declare class ERPNextSalesInvoice {
2598
2589
  brand?: string | null | undefined;
2599
2590
  _user_tags?: string | null | undefined;
2600
2591
  image?: string | null | undefined;
2592
+ item_tax_template?: string | null | undefined;
2593
+ amount?: number | null | undefined;
2594
+ base_rate?: number | null | undefined;
2595
+ base_amount?: number | null | undefined;
2596
+ net_rate?: number | null | undefined;
2597
+ net_amount?: number | null | undefined;
2598
+ base_net_rate?: number | null | undefined;
2599
+ base_net_amount?: number | null | undefined;
2600
+ weight_per_unit?: number | null | undefined;
2601
+ total_weight?: number | null | undefined;
2602
+ weight_uom?: string | null | undefined;
2603
+ sales_order?: string | null | undefined;
2604
+ so_detail?: string | null | undefined;
2605
+ sales_invoice_item?: string | null | undefined;
2606
+ delivery_note?: string | null | undefined;
2607
+ dn_detail?: string | null | undefined;
2601
2608
  barcode?: string | null | undefined;
2602
2609
  customer_item_code?: string | null | undefined;
2603
2610
  item_group?: string | null | undefined;
@@ -2612,25 +2619,12 @@ export declare class ERPNextSalesInvoice {
2612
2619
  discount_percentage?: number | null | undefined;
2613
2620
  discount_amount?: number | null | undefined;
2614
2621
  base_rate_with_margin?: number | null | undefined;
2615
- amount?: number | null | undefined;
2616
- base_rate?: number | null | undefined;
2617
- base_amount?: number | null | undefined;
2618
2622
  pricing_rules?: string | null | undefined;
2619
2623
  stock_uom_rate?: number | null | undefined;
2620
- net_rate?: number | null | undefined;
2621
- net_amount?: number | null | undefined;
2622
- item_tax_template?: string | null | undefined;
2623
- base_net_rate?: number | null | undefined;
2624
- base_net_amount?: number | null | undefined;
2625
2624
  incoming_rate?: number | null | undefined;
2626
- weight_per_unit?: number | null | undefined;
2627
- total_weight?: number | null | undefined;
2628
- weight_uom?: string | null | undefined;
2629
2625
  warehouse?: string | null | undefined;
2630
2626
  target_warehouse?: string | null | undefined;
2631
2627
  quality_inspection?: string | null | undefined;
2632
- so_detail?: string | null | undefined;
2633
- dn_detail?: string | null | undefined;
2634
2628
  batch_no?: string | null | undefined;
2635
2629
  serial_no?: string | null | undefined;
2636
2630
  actual_batch_qty?: number | null | undefined;
@@ -2641,10 +2635,7 @@ export declare class ERPNextSalesInvoice {
2641
2635
  project?: string | null | undefined;
2642
2636
  purchase_order?: string | null | undefined;
2643
2637
  purchase_order_item?: string | null | undefined;
2644
- sales_order?: string | null | undefined;
2645
- delivery_note?: string | null | undefined;
2646
2638
  delivered_qty?: number | null | undefined;
2647
- sales_invoice_item?: string | null | undefined;
2648
2639
  discount_account?: string | null | undefined;
2649
2640
  deferred_revenue_account?: string | null | undefined;
2650
2641
  service_start_date?: string | null | undefined;
@@ -2654,6 +2645,15 @@ export declare class ERPNextSalesInvoice {
2654
2645
  finance_book?: string | null | undefined;
2655
2646
  serial_and_batch_bundle?: string | null | undefined;
2656
2647
  }[];
2648
+ is_return: 0 | 1;
2649
+ selling_price_list: string;
2650
+ plc_conversion_rate: number;
2651
+ ignore_pricing_rule: 0 | 1;
2652
+ custom_tax_included_in_shipping_cost: 0 | 1;
2653
+ apply_discount_on: "" | "Grand Total" | "Net Total";
2654
+ disable_rounded_total: 0 | 1;
2655
+ is_internal_customer: 0 | 1;
2656
+ group_same_items: 0 | 1;
2657
2657
  update_stock: 0 | 1;
2658
2658
  allocate_advances_automatically: 0 | 1;
2659
2659
  ignore_default_payment_terms_template: 0 | 1;
@@ -2678,26 +2678,33 @@ export declare class ERPNextSalesInvoice {
2678
2678
  _user_tags?: string | null | undefined;
2679
2679
  tax_category?: string | null | undefined;
2680
2680
  language?: string | null | undefined;
2681
+ posting_time?: string | null | undefined;
2682
+ company_tax_id?: string | null | undefined;
2683
+ total_qty?: number | null | undefined;
2684
+ total_net_weight?: number | null | undefined;
2685
+ base_total?: number | null | undefined;
2686
+ base_net_total?: number | null | undefined;
2687
+ total?: number | null | undefined;
2688
+ net_total?: number | null | undefined;
2689
+ dispatch_address_name?: string | null | undefined;
2690
+ dispatch_address?: string | null | undefined;
2691
+ tax_id?: string | null | undefined;
2681
2692
  discount_amount?: number | null | undefined;
2682
2693
  pricing_rules?: any[] | null | undefined;
2683
2694
  cost_center?: string | null | undefined;
2684
2695
  project?: string | null | undefined;
2685
2696
  title?: string | null | undefined;
2686
2697
  customer_name?: string | null | undefined;
2687
- posting_time?: string | null | undefined;
2688
2698
  return_against?: string | null | undefined;
2689
2699
  po_no?: string | null | undefined;
2690
2700
  po_date?: string | null | undefined;
2691
2701
  shipping_address_name?: string | null | undefined;
2692
2702
  shipping_address?: string | null | undefined;
2693
- dispatch_address_name?: string | null | undefined;
2694
- dispatch_address?: string | null | undefined;
2695
2703
  contact_person?: string | null | undefined;
2696
2704
  contact_display?: string | null | undefined;
2697
2705
  contact_mobile?: string | null | undefined;
2698
2706
  contact_email?: string | null | undefined;
2699
2707
  customer_address?: string | null | undefined;
2700
- tax_id?: string | null | undefined;
2701
2708
  address_display?: string | null | undefined;
2702
2709
  company_address?: string | null | undefined;
2703
2710
  company_address_display?: string | null | undefined;
@@ -2705,12 +2712,6 @@ export declare class ERPNextSalesInvoice {
2705
2712
  set_warehouse?: string | null | undefined;
2706
2713
  set_target_warehouse?: string | null | undefined;
2707
2714
  scan_barcode?: string | null | undefined;
2708
- total_qty?: number | null | undefined;
2709
- base_total?: number | null | undefined;
2710
- base_net_total?: number | null | undefined;
2711
- total_net_weight?: number | null | undefined;
2712
- total?: number | null | undefined;
2713
- net_total?: number | null | undefined;
2714
2715
  shipping_rule?: string | null | undefined;
2715
2716
  incoterm?: string | null | undefined;
2716
2717
  custom_shipping_cost?: number | null | undefined;
@@ -2750,10 +2751,10 @@ export declare class ERPNextSalesInvoice {
2750
2751
  description?: string | undefined;
2751
2752
  account_currency?: string | undefined;
2752
2753
  rate?: number | undefined;
2753
- cost_center?: string | undefined;
2754
- project?: string | undefined;
2755
2754
  base_total?: number | undefined;
2756
2755
  total?: number | undefined;
2756
+ cost_center?: string | undefined;
2757
+ project?: string | undefined;
2757
2758
  tax_amount?: number | undefined;
2758
2759
  tax_amount_after_discount_amount?: number | undefined;
2759
2760
  base_tax_amount?: number | undefined;
@@ -2779,7 +2780,6 @@ export declare class ERPNextSalesInvoice {
2779
2780
  reference_row?: string | null | undefined;
2780
2781
  }[] | null | undefined;
2781
2782
  payment_schedule?: any[] | null | undefined;
2782
- company_tax_id?: string | null | undefined;
2783
2783
  pos_profile?: string | null | undefined;
2784
2784
  named_place?: string | null | undefined;
2785
2785
  coupon_code?: string | null | undefined;
@@ -2828,17 +2828,8 @@ export declare class ERPNextSalesInvoice {
2828
2828
  customer: string;
2829
2829
  posting_date: string;
2830
2830
  set_posting_time: 0 | 1;
2831
- is_return: 0 | 1;
2832
2831
  currency: string;
2833
2832
  conversion_rate: number;
2834
- selling_price_list: string;
2835
- plc_conversion_rate: number;
2836
- ignore_pricing_rule: 0 | 1;
2837
- custom_tax_included_in_shipping_cost: 0 | 1;
2838
- apply_discount_on: "" | "Grand Total" | "Net Total";
2839
- disable_rounded_total: 0 | 1;
2840
- is_internal_customer: 0 | 1;
2841
- group_same_items: 0 | 1;
2842
2833
  items: {
2843
2834
  docstatus: number;
2844
2835
  name: string;
@@ -2851,16 +2842,16 @@ export declare class ERPNextSalesInvoice {
2851
2842
  parenttype: string;
2852
2843
  parentfield: string;
2853
2844
  item_code: string;
2854
- item_name: string;
2855
2845
  qty: number;
2856
- uom: string;
2857
2846
  rate: number;
2847
+ delivered_by_supplier: 0 | 1;
2848
+ item_name: string;
2849
+ uom: string;
2858
2850
  is_free_item: 0 | 1;
2859
2851
  grant_commission: 0 | 1;
2860
2852
  allow_zero_valuation_rate: 0 | 1;
2861
2853
  page_break: 0 | 1;
2862
2854
  is_fixed_asset: 0 | 1;
2863
- delivered_by_supplier: 0 | 1;
2864
2855
  enable_deferred_revenue: 0 | 1;
2865
2856
  has_item_scanned: 0 | 1;
2866
2857
  income_account: string;
@@ -2869,6 +2860,22 @@ export declare class ERPNextSalesInvoice {
2869
2860
  brand?: string | null | undefined;
2870
2861
  _user_tags?: string | null | undefined;
2871
2862
  image?: string | null | undefined;
2863
+ item_tax_template?: string | null | undefined;
2864
+ amount?: number | null | undefined;
2865
+ base_rate?: number | null | undefined;
2866
+ base_amount?: number | null | undefined;
2867
+ net_rate?: number | null | undefined;
2868
+ net_amount?: number | null | undefined;
2869
+ base_net_rate?: number | null | undefined;
2870
+ base_net_amount?: number | null | undefined;
2871
+ weight_per_unit?: number | null | undefined;
2872
+ total_weight?: number | null | undefined;
2873
+ weight_uom?: string | null | undefined;
2874
+ sales_order?: string | null | undefined;
2875
+ so_detail?: string | null | undefined;
2876
+ sales_invoice_item?: string | null | undefined;
2877
+ delivery_note?: string | null | undefined;
2878
+ dn_detail?: string | null | undefined;
2872
2879
  barcode?: string | null | undefined;
2873
2880
  customer_item_code?: string | null | undefined;
2874
2881
  item_group?: string | null | undefined;
@@ -2883,25 +2890,12 @@ export declare class ERPNextSalesInvoice {
2883
2890
  discount_percentage?: number | null | undefined;
2884
2891
  discount_amount?: number | null | undefined;
2885
2892
  base_rate_with_margin?: number | null | undefined;
2886
- amount?: number | null | undefined;
2887
- base_rate?: number | null | undefined;
2888
- base_amount?: number | null | undefined;
2889
2893
  pricing_rules?: string | null | undefined;
2890
2894
  stock_uom_rate?: number | null | undefined;
2891
- net_rate?: number | null | undefined;
2892
- net_amount?: number | null | undefined;
2893
- item_tax_template?: string | null | undefined;
2894
- base_net_rate?: number | null | undefined;
2895
- base_net_amount?: number | null | undefined;
2896
2895
  incoming_rate?: number | null | undefined;
2897
- weight_per_unit?: number | null | undefined;
2898
- total_weight?: number | null | undefined;
2899
- weight_uom?: string | null | undefined;
2900
2896
  warehouse?: string | null | undefined;
2901
2897
  target_warehouse?: string | null | undefined;
2902
2898
  quality_inspection?: string | null | undefined;
2903
- so_detail?: string | null | undefined;
2904
- dn_detail?: string | null | undefined;
2905
2899
  batch_no?: string | null | undefined;
2906
2900
  serial_no?: string | null | undefined;
2907
2901
  actual_batch_qty?: number | null | undefined;
@@ -2912,10 +2906,7 @@ export declare class ERPNextSalesInvoice {
2912
2906
  project?: string | null | undefined;
2913
2907
  purchase_order?: string | null | undefined;
2914
2908
  purchase_order_item?: string | null | undefined;
2915
- sales_order?: string | null | undefined;
2916
- delivery_note?: string | null | undefined;
2917
2909
  delivered_qty?: number | null | undefined;
2918
- sales_invoice_item?: string | null | undefined;
2919
2910
  discount_account?: string | null | undefined;
2920
2911
  deferred_revenue_account?: string | null | undefined;
2921
2912
  service_start_date?: string | null | undefined;
@@ -2925,6 +2916,15 @@ export declare class ERPNextSalesInvoice {
2925
2916
  finance_book?: string | null | undefined;
2926
2917
  serial_and_batch_bundle?: string | null | undefined;
2927
2918
  }[];
2919
+ is_return: 0 | 1;
2920
+ selling_price_list: string;
2921
+ plc_conversion_rate: number;
2922
+ ignore_pricing_rule: 0 | 1;
2923
+ custom_tax_included_in_shipping_cost: 0 | 1;
2924
+ apply_discount_on: "" | "Grand Total" | "Net Total";
2925
+ disable_rounded_total: 0 | 1;
2926
+ is_internal_customer: 0 | 1;
2927
+ group_same_items: 0 | 1;
2928
2928
  update_stock: 0 | 1;
2929
2929
  allocate_advances_automatically: 0 | 1;
2930
2930
  ignore_default_payment_terms_template: 0 | 1;
@@ -2949,26 +2949,33 @@ export declare class ERPNextSalesInvoice {
2949
2949
  _user_tags?: string | null | undefined;
2950
2950
  tax_category?: string | null | undefined;
2951
2951
  language?: string | null | undefined;
2952
+ posting_time?: string | null | undefined;
2953
+ company_tax_id?: string | null | undefined;
2954
+ total_qty?: number | null | undefined;
2955
+ total_net_weight?: number | null | undefined;
2956
+ base_total?: number | null | undefined;
2957
+ base_net_total?: number | null | undefined;
2958
+ total?: number | null | undefined;
2959
+ net_total?: number | null | undefined;
2960
+ dispatch_address_name?: string | null | undefined;
2961
+ dispatch_address?: string | null | undefined;
2962
+ tax_id?: string | null | undefined;
2952
2963
  discount_amount?: number | null | undefined;
2953
2964
  pricing_rules?: any[] | null | undefined;
2954
2965
  cost_center?: string | null | undefined;
2955
2966
  project?: string | null | undefined;
2956
2967
  title?: string | null | undefined;
2957
2968
  customer_name?: string | null | undefined;
2958
- posting_time?: string | null | undefined;
2959
2969
  return_against?: string | null | undefined;
2960
2970
  po_no?: string | null | undefined;
2961
2971
  po_date?: string | null | undefined;
2962
2972
  shipping_address_name?: string | null | undefined;
2963
2973
  shipping_address?: string | null | undefined;
2964
- dispatch_address_name?: string | null | undefined;
2965
- dispatch_address?: string | null | undefined;
2966
2974
  contact_person?: string | null | undefined;
2967
2975
  contact_display?: string | null | undefined;
2968
2976
  contact_mobile?: string | null | undefined;
2969
2977
  contact_email?: string | null | undefined;
2970
2978
  customer_address?: string | null | undefined;
2971
- tax_id?: string | null | undefined;
2972
2979
  address_display?: string | null | undefined;
2973
2980
  company_address?: string | null | undefined;
2974
2981
  company_address_display?: string | null | undefined;
@@ -2976,12 +2983,6 @@ export declare class ERPNextSalesInvoice {
2976
2983
  set_warehouse?: string | null | undefined;
2977
2984
  set_target_warehouse?: string | null | undefined;
2978
2985
  scan_barcode?: string | null | undefined;
2979
- total_qty?: number | null | undefined;
2980
- base_total?: number | null | undefined;
2981
- base_net_total?: number | null | undefined;
2982
- total_net_weight?: number | null | undefined;
2983
- total?: number | null | undefined;
2984
- net_total?: number | null | undefined;
2985
2986
  shipping_rule?: string | null | undefined;
2986
2987
  incoterm?: string | null | undefined;
2987
2988
  custom_shipping_cost?: number | null | undefined;
@@ -3021,10 +3022,10 @@ export declare class ERPNextSalesInvoice {
3021
3022
  description?: string | undefined;
3022
3023
  account_currency?: string | undefined;
3023
3024
  rate?: number | undefined;
3024
- cost_center?: string | undefined;
3025
- project?: string | undefined;
3026
3025
  base_total?: number | undefined;
3027
3026
  total?: number | undefined;
3027
+ cost_center?: string | undefined;
3028
+ project?: string | undefined;
3028
3029
  tax_amount?: number | undefined;
3029
3030
  tax_amount_after_discount_amount?: number | undefined;
3030
3031
  base_tax_amount?: number | undefined;
@@ -3050,7 +3051,6 @@ export declare class ERPNextSalesInvoice {
3050
3051
  reference_row?: string | null | undefined;
3051
3052
  }[] | null | undefined;
3052
3053
  payment_schedule?: any[] | null | undefined;
3053
- company_tax_id?: string | null | undefined;
3054
3054
  pos_profile?: string | null | undefined;
3055
3055
  named_place?: string | null | undefined;
3056
3056
  coupon_code?: string | null | undefined;
@@ -3100,17 +3100,8 @@ export declare class ERPNextSalesInvoice {
3100
3100
  customer: string;
3101
3101
  posting_date: string;
3102
3102
  set_posting_time: 0 | 1;
3103
- is_return: 0 | 1;
3104
3103
  currency: string;
3105
3104
  conversion_rate: number;
3106
- selling_price_list: string;
3107
- plc_conversion_rate: number;
3108
- ignore_pricing_rule: 0 | 1;
3109
- custom_tax_included_in_shipping_cost: 0 | 1;
3110
- apply_discount_on: "" | "Grand Total" | "Net Total";
3111
- disable_rounded_total: 0 | 1;
3112
- is_internal_customer: 0 | 1;
3113
- group_same_items: 0 | 1;
3114
3105
  items: {
3115
3106
  docstatus: number;
3116
3107
  name: string;
@@ -3123,16 +3114,16 @@ export declare class ERPNextSalesInvoice {
3123
3114
  parenttype: string;
3124
3115
  parentfield: string;
3125
3116
  item_code: string;
3126
- item_name: string;
3127
3117
  qty: number;
3128
- uom: string;
3129
3118
  rate: number;
3119
+ delivered_by_supplier: 0 | 1;
3120
+ item_name: string;
3121
+ uom: string;
3130
3122
  is_free_item: 0 | 1;
3131
3123
  grant_commission: 0 | 1;
3132
3124
  allow_zero_valuation_rate: 0 | 1;
3133
3125
  page_break: 0 | 1;
3134
3126
  is_fixed_asset: 0 | 1;
3135
- delivered_by_supplier: 0 | 1;
3136
3127
  enable_deferred_revenue: 0 | 1;
3137
3128
  has_item_scanned: 0 | 1;
3138
3129
  income_account: string;
@@ -3141,6 +3132,22 @@ export declare class ERPNextSalesInvoice {
3141
3132
  brand?: string | null | undefined;
3142
3133
  _user_tags?: string | null | undefined;
3143
3134
  image?: string | null | undefined;
3135
+ item_tax_template?: string | null | undefined;
3136
+ amount?: number | null | undefined;
3137
+ base_rate?: number | null | undefined;
3138
+ base_amount?: number | null | undefined;
3139
+ net_rate?: number | null | undefined;
3140
+ net_amount?: number | null | undefined;
3141
+ base_net_rate?: number | null | undefined;
3142
+ base_net_amount?: number | null | undefined;
3143
+ weight_per_unit?: number | null | undefined;
3144
+ total_weight?: number | null | undefined;
3145
+ weight_uom?: string | null | undefined;
3146
+ sales_order?: string | null | undefined;
3147
+ so_detail?: string | null | undefined;
3148
+ sales_invoice_item?: string | null | undefined;
3149
+ delivery_note?: string | null | undefined;
3150
+ dn_detail?: string | null | undefined;
3144
3151
  barcode?: string | null | undefined;
3145
3152
  customer_item_code?: string | null | undefined;
3146
3153
  item_group?: string | null | undefined;
@@ -3155,25 +3162,12 @@ export declare class ERPNextSalesInvoice {
3155
3162
  discount_percentage?: number | null | undefined;
3156
3163
  discount_amount?: number | null | undefined;
3157
3164
  base_rate_with_margin?: number | null | undefined;
3158
- amount?: number | null | undefined;
3159
- base_rate?: number | null | undefined;
3160
- base_amount?: number | null | undefined;
3161
3165
  pricing_rules?: string | null | undefined;
3162
3166
  stock_uom_rate?: number | null | undefined;
3163
- net_rate?: number | null | undefined;
3164
- net_amount?: number | null | undefined;
3165
- item_tax_template?: string | null | undefined;
3166
- base_net_rate?: number | null | undefined;
3167
- base_net_amount?: number | null | undefined;
3168
3167
  incoming_rate?: number | null | undefined;
3169
- weight_per_unit?: number | null | undefined;
3170
- total_weight?: number | null | undefined;
3171
- weight_uom?: string | null | undefined;
3172
3168
  warehouse?: string | null | undefined;
3173
3169
  target_warehouse?: string | null | undefined;
3174
3170
  quality_inspection?: string | null | undefined;
3175
- so_detail?: string | null | undefined;
3176
- dn_detail?: string | null | undefined;
3177
3171
  batch_no?: string | null | undefined;
3178
3172
  serial_no?: string | null | undefined;
3179
3173
  actual_batch_qty?: number | null | undefined;
@@ -3184,10 +3178,7 @@ export declare class ERPNextSalesInvoice {
3184
3178
  project?: string | null | undefined;
3185
3179
  purchase_order?: string | null | undefined;
3186
3180
  purchase_order_item?: string | null | undefined;
3187
- sales_order?: string | null | undefined;
3188
- delivery_note?: string | null | undefined;
3189
3181
  delivered_qty?: number | null | undefined;
3190
- sales_invoice_item?: string | null | undefined;
3191
3182
  discount_account?: string | null | undefined;
3192
3183
  deferred_revenue_account?: string | null | undefined;
3193
3184
  service_start_date?: string | null | undefined;
@@ -3197,6 +3188,15 @@ export declare class ERPNextSalesInvoice {
3197
3188
  finance_book?: string | null | undefined;
3198
3189
  serial_and_batch_bundle?: string | null | undefined;
3199
3190
  }[];
3191
+ is_return: 0 | 1;
3192
+ selling_price_list: string;
3193
+ plc_conversion_rate: number;
3194
+ ignore_pricing_rule: 0 | 1;
3195
+ custom_tax_included_in_shipping_cost: 0 | 1;
3196
+ apply_discount_on: "" | "Grand Total" | "Net Total";
3197
+ disable_rounded_total: 0 | 1;
3198
+ is_internal_customer: 0 | 1;
3199
+ group_same_items: 0 | 1;
3200
3200
  update_stock: 0 | 1;
3201
3201
  allocate_advances_automatically: 0 | 1;
3202
3202
  ignore_default_payment_terms_template: 0 | 1;
@@ -3221,26 +3221,33 @@ export declare class ERPNextSalesInvoice {
3221
3221
  _user_tags?: string | null | undefined;
3222
3222
  tax_category?: string | null | undefined;
3223
3223
  language?: string | null | undefined;
3224
+ posting_time?: string | null | undefined;
3225
+ company_tax_id?: string | null | undefined;
3226
+ total_qty?: number | null | undefined;
3227
+ total_net_weight?: number | null | undefined;
3228
+ base_total?: number | null | undefined;
3229
+ base_net_total?: number | null | undefined;
3230
+ total?: number | null | undefined;
3231
+ net_total?: number | null | undefined;
3232
+ dispatch_address_name?: string | null | undefined;
3233
+ dispatch_address?: string | null | undefined;
3234
+ tax_id?: string | null | undefined;
3224
3235
  discount_amount?: number | null | undefined;
3225
3236
  pricing_rules?: any[] | null | undefined;
3226
3237
  cost_center?: string | null | undefined;
3227
3238
  project?: string | null | undefined;
3228
3239
  title?: string | null | undefined;
3229
3240
  customer_name?: string | null | undefined;
3230
- posting_time?: string | null | undefined;
3231
3241
  return_against?: string | null | undefined;
3232
3242
  po_no?: string | null | undefined;
3233
3243
  po_date?: string | null | undefined;
3234
3244
  shipping_address_name?: string | null | undefined;
3235
3245
  shipping_address?: string | null | undefined;
3236
- dispatch_address_name?: string | null | undefined;
3237
- dispatch_address?: string | null | undefined;
3238
3246
  contact_person?: string | null | undefined;
3239
3247
  contact_display?: string | null | undefined;
3240
3248
  contact_mobile?: string | null | undefined;
3241
3249
  contact_email?: string | null | undefined;
3242
3250
  customer_address?: string | null | undefined;
3243
- tax_id?: string | null | undefined;
3244
3251
  address_display?: string | null | undefined;
3245
3252
  company_address?: string | null | undefined;
3246
3253
  company_address_display?: string | null | undefined;
@@ -3248,12 +3255,6 @@ export declare class ERPNextSalesInvoice {
3248
3255
  set_warehouse?: string | null | undefined;
3249
3256
  set_target_warehouse?: string | null | undefined;
3250
3257
  scan_barcode?: string | null | undefined;
3251
- total_qty?: number | null | undefined;
3252
- base_total?: number | null | undefined;
3253
- base_net_total?: number | null | undefined;
3254
- total_net_weight?: number | null | undefined;
3255
- total?: number | null | undefined;
3256
- net_total?: number | null | undefined;
3257
3258
  shipping_rule?: string | null | undefined;
3258
3259
  incoterm?: string | null | undefined;
3259
3260
  custom_shipping_cost?: number | null | undefined;
@@ -3293,10 +3294,10 @@ export declare class ERPNextSalesInvoice {
3293
3294
  description?: string | undefined;
3294
3295
  account_currency?: string | undefined;
3295
3296
  rate?: number | undefined;
3296
- cost_center?: string | undefined;
3297
- project?: string | undefined;
3298
3297
  base_total?: number | undefined;
3299
3298
  total?: number | undefined;
3299
+ cost_center?: string | undefined;
3300
+ project?: string | undefined;
3300
3301
  tax_amount?: number | undefined;
3301
3302
  tax_amount_after_discount_amount?: number | undefined;
3302
3303
  base_tax_amount?: number | undefined;
@@ -3322,7 +3323,6 @@ export declare class ERPNextSalesInvoice {
3322
3323
  reference_row?: string | null | undefined;
3323
3324
  }[] | null | undefined;
3324
3325
  payment_schedule?: any[] | null | undefined;
3325
- company_tax_id?: string | null | undefined;
3326
3326
  pos_profile?: string | null | undefined;
3327
3327
  named_place?: string | null | undefined;
3328
3328
  coupon_code?: string | null | undefined;