erpnext-queue-client 2.3.2 → 2.4.0

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 (53) hide show
  1. package/dist/erpnext/doctypeResourceRequest.d.ts +1 -1
  2. package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +6 -159
  3. package/dist/erpnext/doctypeSubmittableResourceRequest.js +2 -2
  4. package/dist/erpnext/doctypes/address.d.ts +76 -3
  5. package/dist/erpnext/doctypes/consolidatedCustomsInvoice.d.ts +65 -55
  6. package/dist/erpnext/doctypes/contact.d.ts +220 -3
  7. package/dist/erpnext/doctypes/deliveryNote.d.ts +207 -202
  8. package/dist/erpnext/doctypes/item.d.ts +19 -2
  9. package/dist/erpnext/doctypes/paymentEntry.d.ts +116 -6
  10. package/dist/erpnext/doctypes/productBundle.d.ts +5 -2
  11. package/dist/erpnext/doctypes/purchaseInvoice.d.ts +141 -5
  12. package/dist/erpnext/doctypes/purchaseReceipt.d.ts +11 -5
  13. package/dist/erpnext/doctypes/salesInvoice.d.ts +400 -6
  14. package/dist/erpnext/doctypes/servicecase.d.ts +38 -2
  15. package/dist/erpnext/doctypes/shipment.d.ts +100 -93
  16. package/dist/erpnext/doctypes/shipment.js +2 -1
  17. package/dist/erpnext/erpnextRequestWrapper.d.ts +4 -2
  18. package/dist/erpnext/erpnextRequestWrapper.js +1 -1
  19. package/dist/erpnext/fileRequests.d.ts +2 -2
  20. package/dist/erpnext/fileRequests.js +2 -1
  21. package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +61 -23
  22. package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +20 -11
  23. package/dist/erpnext/model/Contact.d.ts +29 -0
  24. package/dist/erpnext/model/Contact.js +5 -5
  25. package/dist/erpnext/model/DeliveryNote.d.ts +300 -100
  26. package/dist/erpnext/model/DeliveryNote.js +101 -100
  27. package/dist/erpnext/model/DispatchRun.d.ts +3 -0
  28. package/dist/erpnext/model/DispatchRun.js +1 -0
  29. package/dist/erpnext/model/DocTypeHelpers.d.ts +12 -25
  30. package/dist/erpnext/model/DocTypeHelpers.js +44 -23
  31. package/dist/erpnext/model/ERPNextDocTypeMeta.d.ts +4 -1
  32. package/dist/erpnext/model/ERPNextDocTypeMeta.js +3 -2
  33. package/dist/erpnext/model/File.d.ts +50 -0
  34. package/dist/erpnext/model/File.js +3 -1
  35. package/dist/erpnext/model/FulfillerSettings.d.ts +52 -24
  36. package/dist/erpnext/model/FulfillerSettings.js +19 -7
  37. package/dist/erpnext/model/Item.d.ts +43 -0
  38. package/dist/erpnext/model/Item.js +2 -1
  39. package/dist/erpnext/model/PaymentEntry.d.ts +3 -0
  40. package/dist/erpnext/model/PurchaseInvoice.d.ts +75 -1
  41. package/dist/erpnext/model/PurchaseOrder.d.ts +52 -63
  42. package/dist/erpnext/model/PurchaseOrder.js +20 -38
  43. package/dist/erpnext/model/SalesInvoice.d.ts +197 -4
  44. package/dist/erpnext/model/Servicecase.d.ts +8 -0
  45. package/dist/erpnext/model/Shipment.d.ts +119 -162
  46. package/dist/erpnext/model/Shipment.js +17 -47
  47. package/dist/erpnext/model/ShippingProvider.d.ts +55 -65
  48. package/dist/erpnext/model/ShippingProvider.js +6 -10
  49. package/dist/erpnext/resourceRequest.d.ts +2 -2
  50. package/dist/utils/zodContextOptionals.d.ts +2 -0
  51. package/dist/utils/zodContextOptionals.js +8 -4
  52. package/dist/utils/zodUtils.js +3 -2
  53. 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" | "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, }?: {
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 ["*"] | 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;
@@ -132,10 +132,22 @@ export declare class ERPNextSalesInvoice {
132
132
  total_commission?: number | null | undefined;
133
133
  packed_items?: any[] | null | undefined;
134
134
  taxes?: {
135
+ docstatus: number;
136
+ name: string;
137
+ owner: string;
138
+ creation: string;
139
+ modified: string;
140
+ modified_by: string;
141
+ idx: number;
142
+ doctype: string;
143
+ parent: string;
144
+ parenttype: string;
145
+ parentfield: string;
135
146
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
136
147
  included_in_print_rate: 0 | 1;
137
148
  account_head: string;
138
149
  description?: string | undefined;
150
+ _user_tags?: string | null | undefined;
139
151
  account_currency?: string | undefined;
140
152
  rate?: number | undefined;
141
153
  base_total?: number | undefined;
@@ -158,10 +170,21 @@ export declare class ERPNextSalesInvoice {
158
170
  payment_terms_template?: string | null | undefined;
159
171
  party_account_currency?: string | null | undefined;
160
172
  advances?: {
173
+ docstatus: number;
174
+ name: string;
175
+ owner: string;
176
+ creation: string;
177
+ modified: string;
178
+ modified_by: string;
179
+ idx: number;
161
180
  doctype: "Sales Invoice Advance";
181
+ parent: string;
182
+ parenttype: string;
183
+ parentfield: string;
162
184
  reference_name: string;
163
185
  reference_type: string;
164
186
  advance_amount: number;
187
+ _user_tags?: string | null | undefined;
165
188
  allocated_amount?: number | null | undefined;
166
189
  remarks?: string | null | undefined;
167
190
  reference_row?: string | null | undefined;
@@ -176,8 +199,20 @@ export declare class ERPNextSalesInvoice {
176
199
  total_billing_amount?: number | null | undefined;
177
200
  cash_bank_account?: string | null | undefined;
178
201
  payments?: {
202
+ docstatus: number;
203
+ name: string;
204
+ owner: string;
205
+ creation: string;
206
+ modified: string;
207
+ modified_by: string;
208
+ idx: number;
209
+ doctype: string;
210
+ parent: string;
211
+ parenttype: string;
212
+ parentfield: string;
179
213
  amount: number;
180
214
  mode_of_payment: string;
215
+ _user_tags?: string | null | undefined;
181
216
  base_amount?: number | null | undefined;
182
217
  account?: string | null | undefined;
183
218
  reference_no?: string | null | undefined;
@@ -200,7 +235,7 @@ export declare class ERPNextSalesInvoice {
200
235
  to_date?: string | null | undefined;
201
236
  update_auto_repeat_reference?: string | null | undefined;
202
237
  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" | "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") ? {
238
+ }[] : TSelectedFields extends readonly 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
239
  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
240
  docstatus: number;
206
241
  name: string;
@@ -316,10 +351,22 @@ export declare class ERPNextSalesInvoice {
316
351
  total_commission?: number | null | undefined;
317
352
  packed_items?: any[] | null | undefined;
318
353
  taxes?: {
354
+ docstatus: number;
355
+ name: string;
356
+ owner: string;
357
+ creation: string;
358
+ modified: string;
359
+ modified_by: string;
360
+ idx: number;
361
+ doctype: string;
362
+ parent: string;
363
+ parenttype: string;
364
+ parentfield: string;
319
365
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
320
366
  included_in_print_rate: 0 | 1;
321
367
  account_head: string;
322
368
  description?: string | undefined;
369
+ _user_tags?: string | null | undefined;
323
370
  account_currency?: string | undefined;
324
371
  rate?: number | undefined;
325
372
  base_total?: number | undefined;
@@ -342,10 +389,21 @@ export declare class ERPNextSalesInvoice {
342
389
  payment_terms_template?: string | null | undefined;
343
390
  party_account_currency?: string | null | undefined;
344
391
  advances?: {
392
+ docstatus: number;
393
+ name: string;
394
+ owner: string;
395
+ creation: string;
396
+ modified: string;
397
+ modified_by: string;
398
+ idx: number;
345
399
  doctype: "Sales Invoice Advance";
400
+ parent: string;
401
+ parenttype: string;
402
+ parentfield: string;
346
403
  reference_name: string;
347
404
  reference_type: string;
348
405
  advance_amount: number;
406
+ _user_tags?: string | null | undefined;
349
407
  allocated_amount?: number | null | undefined;
350
408
  remarks?: string | null | undefined;
351
409
  reference_row?: string | null | undefined;
@@ -360,8 +418,20 @@ export declare class ERPNextSalesInvoice {
360
418
  total_billing_amount?: number | null | undefined;
361
419
  cash_bank_account?: string | null | undefined;
362
420
  payments?: {
421
+ docstatus: number;
422
+ name: string;
423
+ owner: string;
424
+ creation: string;
425
+ modified: string;
426
+ modified_by: string;
427
+ idx: number;
428
+ doctype: string;
429
+ parent: string;
430
+ parenttype: string;
431
+ parentfield: string;
363
432
  amount: number;
364
433
  mode_of_payment: string;
434
+ _user_tags?: string | null | undefined;
365
435
  base_amount?: number | null | undefined;
366
436
  account?: string | null | undefined;
367
437
  reference_no?: string | null | undefined;
@@ -414,6 +484,7 @@ export declare class ERPNextSalesInvoice {
414
484
  modified_by: string;
415
485
  idx: number;
416
486
  doctype: string;
487
+ parent: string;
417
488
  parenttype: string;
418
489
  parentfield: string;
419
490
  item_code: string;
@@ -591,10 +662,22 @@ export declare class ERPNextSalesInvoice {
591
662
  total_commission?: number | null | undefined;
592
663
  packed_items?: any[] | null | undefined;
593
664
  taxes?: {
665
+ docstatus: number;
666
+ name: string;
667
+ owner: string;
668
+ creation: string;
669
+ modified: string;
670
+ modified_by: string;
671
+ idx: number;
672
+ doctype: string;
673
+ parent: string;
674
+ parenttype: string;
675
+ parentfield: string;
594
676
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
595
677
  included_in_print_rate: 0 | 1;
596
678
  account_head: string;
597
679
  description?: string | undefined;
680
+ _user_tags?: string | null | undefined;
598
681
  account_currency?: string | undefined;
599
682
  rate?: number | undefined;
600
683
  base_total?: number | undefined;
@@ -617,10 +700,21 @@ export declare class ERPNextSalesInvoice {
617
700
  payment_terms_template?: string | null | undefined;
618
701
  party_account_currency?: string | null | undefined;
619
702
  advances?: {
703
+ docstatus: number;
704
+ name: string;
705
+ owner: string;
706
+ creation: string;
707
+ modified: string;
708
+ modified_by: string;
709
+ idx: number;
620
710
  doctype: "Sales Invoice Advance";
711
+ parent: string;
712
+ parenttype: string;
713
+ parentfield: string;
621
714
  reference_name: string;
622
715
  reference_type: string;
623
716
  advance_amount: number;
717
+ _user_tags?: string | null | undefined;
624
718
  allocated_amount?: number | null | undefined;
625
719
  remarks?: string | null | undefined;
626
720
  reference_row?: string | null | undefined;
@@ -635,8 +729,20 @@ export declare class ERPNextSalesInvoice {
635
729
  total_billing_amount?: number | null | undefined;
636
730
  cash_bank_account?: string | null | undefined;
637
731
  payments?: {
732
+ docstatus: number;
733
+ name: string;
734
+ owner: string;
735
+ creation: string;
736
+ modified: string;
737
+ modified_by: string;
738
+ idx: number;
739
+ doctype: string;
740
+ parent: string;
741
+ parenttype: string;
742
+ parentfield: string;
638
743
  amount: number;
639
744
  mode_of_payment: string;
745
+ _user_tags?: string | null | undefined;
640
746
  base_amount?: number | null | undefined;
641
747
  account?: string | null | undefined;
642
748
  reference_no?: string | null | undefined;
@@ -744,8 +850,8 @@ export declare class ERPNextSalesInvoice {
744
850
  custom_invoice_no: string;
745
851
  debit_to: string;
746
852
  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;
747
- amended_from?: string | null | undefined;
748
853
  docstatus?: number | undefined;
854
+ amended_from?: string | null | undefined;
749
855
  tax_category?: string | null | undefined;
750
856
  naming_series?: "INV-.#" | "INV-.#-GS" | undefined;
751
857
  language?: string | null | undefined;
@@ -943,6 +1049,7 @@ export declare class ERPNextSalesInvoice {
943
1049
  modified_by: string;
944
1050
  idx: number;
945
1051
  doctype: string;
1052
+ parent: string;
946
1053
  parenttype: string;
947
1054
  parentfield: string;
948
1055
  item_code: string;
@@ -1120,10 +1227,22 @@ export declare class ERPNextSalesInvoice {
1120
1227
  total_commission?: number | null | undefined;
1121
1228
  packed_items?: any[] | null | undefined;
1122
1229
  taxes?: {
1230
+ docstatus: number;
1231
+ name: string;
1232
+ owner: string;
1233
+ creation: string;
1234
+ modified: string;
1235
+ modified_by: string;
1236
+ idx: number;
1237
+ doctype: string;
1238
+ parent: string;
1239
+ parenttype: string;
1240
+ parentfield: string;
1123
1241
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
1124
1242
  included_in_print_rate: 0 | 1;
1125
1243
  account_head: string;
1126
1244
  description?: string | undefined;
1245
+ _user_tags?: string | null | undefined;
1127
1246
  account_currency?: string | undefined;
1128
1247
  rate?: number | undefined;
1129
1248
  base_total?: number | undefined;
@@ -1146,10 +1265,21 @@ export declare class ERPNextSalesInvoice {
1146
1265
  payment_terms_template?: string | null | undefined;
1147
1266
  party_account_currency?: string | null | undefined;
1148
1267
  advances?: {
1268
+ docstatus: number;
1269
+ name: string;
1270
+ owner: string;
1271
+ creation: string;
1272
+ modified: string;
1273
+ modified_by: string;
1274
+ idx: number;
1149
1275
  doctype: "Sales Invoice Advance";
1276
+ parent: string;
1277
+ parenttype: string;
1278
+ parentfield: string;
1150
1279
  reference_name: string;
1151
1280
  reference_type: string;
1152
1281
  advance_amount: number;
1282
+ _user_tags?: string | null | undefined;
1153
1283
  allocated_amount?: number | null | undefined;
1154
1284
  remarks?: string | null | undefined;
1155
1285
  reference_row?: string | null | undefined;
@@ -1164,8 +1294,20 @@ export declare class ERPNextSalesInvoice {
1164
1294
  total_billing_amount?: number | null | undefined;
1165
1295
  cash_bank_account?: string | null | undefined;
1166
1296
  payments?: {
1297
+ docstatus: number;
1298
+ name: string;
1299
+ owner: string;
1300
+ creation: string;
1301
+ modified: string;
1302
+ modified_by: string;
1303
+ idx: number;
1304
+ doctype: string;
1305
+ parent: string;
1306
+ parenttype: string;
1307
+ parentfield: string;
1167
1308
  amount: number;
1168
1309
  mode_of_payment: string;
1310
+ _user_tags?: string | null | undefined;
1169
1311
  base_amount?: number | null | undefined;
1170
1312
  account?: string | null | undefined;
1171
1313
  reference_no?: string | null | undefined;
@@ -1273,8 +1415,8 @@ export declare class ERPNextSalesInvoice {
1273
1415
  custom_invoice_no: string;
1274
1416
  debit_to: string;
1275
1417
  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;
1276
- amended_from?: string | null | undefined;
1277
1418
  docstatus?: number | undefined;
1419
+ amended_from?: string | null | undefined;
1278
1420
  tax_category?: string | null | undefined;
1279
1421
  naming_series?: "INV-.#" | "INV-.#-GS" | undefined;
1280
1422
  language?: string | null | undefined;
@@ -1472,6 +1614,7 @@ export declare class ERPNextSalesInvoice {
1472
1614
  modified_by: string;
1473
1615
  idx: number;
1474
1616
  doctype: string;
1617
+ parent: string;
1475
1618
  parenttype: string;
1476
1619
  parentfield: string;
1477
1620
  item_code: string;
@@ -1649,10 +1792,22 @@ export declare class ERPNextSalesInvoice {
1649
1792
  total_commission?: number | null | undefined;
1650
1793
  packed_items?: any[] | null | undefined;
1651
1794
  taxes?: {
1795
+ docstatus: number;
1796
+ name: string;
1797
+ owner: string;
1798
+ creation: string;
1799
+ modified: string;
1800
+ modified_by: string;
1801
+ idx: number;
1802
+ doctype: string;
1803
+ parent: string;
1804
+ parenttype: string;
1805
+ parentfield: string;
1652
1806
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
1653
1807
  included_in_print_rate: 0 | 1;
1654
1808
  account_head: string;
1655
1809
  description?: string | undefined;
1810
+ _user_tags?: string | null | undefined;
1656
1811
  account_currency?: string | undefined;
1657
1812
  rate?: number | undefined;
1658
1813
  base_total?: number | undefined;
@@ -1675,10 +1830,21 @@ export declare class ERPNextSalesInvoice {
1675
1830
  payment_terms_template?: string | null | undefined;
1676
1831
  party_account_currency?: string | null | undefined;
1677
1832
  advances?: {
1833
+ docstatus: number;
1834
+ name: string;
1835
+ owner: string;
1836
+ creation: string;
1837
+ modified: string;
1838
+ modified_by: string;
1839
+ idx: number;
1678
1840
  doctype: "Sales Invoice Advance";
1841
+ parent: string;
1842
+ parenttype: string;
1843
+ parentfield: string;
1679
1844
  reference_name: string;
1680
1845
  reference_type: string;
1681
1846
  advance_amount: number;
1847
+ _user_tags?: string | null | undefined;
1682
1848
  allocated_amount?: number | null | undefined;
1683
1849
  remarks?: string | null | undefined;
1684
1850
  reference_row?: string | null | undefined;
@@ -1693,8 +1859,20 @@ export declare class ERPNextSalesInvoice {
1693
1859
  total_billing_amount?: number | null | undefined;
1694
1860
  cash_bank_account?: string | null | undefined;
1695
1861
  payments?: {
1862
+ docstatus: number;
1863
+ name: string;
1864
+ owner: string;
1865
+ creation: string;
1866
+ modified: string;
1867
+ modified_by: string;
1868
+ idx: number;
1869
+ doctype: string;
1870
+ parent: string;
1871
+ parenttype: string;
1872
+ parentfield: string;
1696
1873
  amount: number;
1697
1874
  mode_of_payment: string;
1875
+ _user_tags?: string | null | undefined;
1698
1876
  base_amount?: number | null | undefined;
1699
1877
  account?: string | null | undefined;
1700
1878
  reference_no?: string | null | undefined;
@@ -1722,7 +1900,7 @@ export declare class ERPNextSalesInvoice {
1722
1900
  resourceId: string;
1723
1901
  priority?: number;
1724
1902
  }) => Promise<import("zod").TypeOf<typeof import("../model/ERPNextResponse").DeleteResponseModel>>;
1725
- cancel: ({ resourceId }: {
1903
+ cancel: ({ resourceId, }: {
1726
1904
  resourceId: string;
1727
1905
  }) => Promise<{
1728
1906
  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";
@@ -1750,6 +1928,7 @@ export declare class ERPNextSalesInvoice {
1750
1928
  modified_by: string;
1751
1929
  idx: number;
1752
1930
  doctype: string;
1931
+ parent: string;
1753
1932
  parenttype: string;
1754
1933
  parentfield: string;
1755
1934
  item_code: string;
@@ -1927,10 +2106,22 @@ export declare class ERPNextSalesInvoice {
1927
2106
  total_commission?: number | null | undefined;
1928
2107
  packed_items?: any[] | null | undefined;
1929
2108
  taxes?: {
2109
+ docstatus: number;
2110
+ name: string;
2111
+ owner: string;
2112
+ creation: string;
2113
+ modified: string;
2114
+ modified_by: string;
2115
+ idx: number;
2116
+ doctype: string;
2117
+ parent: string;
2118
+ parenttype: string;
2119
+ parentfield: string;
1930
2120
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
1931
2121
  included_in_print_rate: 0 | 1;
1932
2122
  account_head: string;
1933
2123
  description?: string | undefined;
2124
+ _user_tags?: string | null | undefined;
1934
2125
  account_currency?: string | undefined;
1935
2126
  rate?: number | undefined;
1936
2127
  base_total?: number | undefined;
@@ -1953,10 +2144,21 @@ export declare class ERPNextSalesInvoice {
1953
2144
  payment_terms_template?: string | null | undefined;
1954
2145
  party_account_currency?: string | null | undefined;
1955
2146
  advances?: {
2147
+ docstatus: number;
2148
+ name: string;
2149
+ owner: string;
2150
+ creation: string;
2151
+ modified: string;
2152
+ modified_by: string;
2153
+ idx: number;
1956
2154
  doctype: "Sales Invoice Advance";
2155
+ parent: string;
2156
+ parenttype: string;
2157
+ parentfield: string;
1957
2158
  reference_name: string;
1958
2159
  reference_type: string;
1959
2160
  advance_amount: number;
2161
+ _user_tags?: string | null | undefined;
1960
2162
  allocated_amount?: number | null | undefined;
1961
2163
  remarks?: string | null | undefined;
1962
2164
  reference_row?: string | null | undefined;
@@ -1971,8 +2173,20 @@ export declare class ERPNextSalesInvoice {
1971
2173
  total_billing_amount?: number | null | undefined;
1972
2174
  cash_bank_account?: string | null | undefined;
1973
2175
  payments?: {
2176
+ docstatus: number;
2177
+ name: string;
2178
+ owner: string;
2179
+ creation: string;
2180
+ modified: string;
2181
+ modified_by: string;
2182
+ idx: number;
2183
+ doctype: string;
2184
+ parent: string;
2185
+ parenttype: string;
2186
+ parentfield: string;
1974
2187
  amount: number;
1975
2188
  mode_of_payment: string;
2189
+ _user_tags?: string | null | undefined;
1976
2190
  base_amount?: number | null | undefined;
1977
2191
  account?: string | null | undefined;
1978
2192
  reference_no?: string | null | undefined;
@@ -1996,7 +2210,7 @@ export declare class ERPNextSalesInvoice {
1996
2210
  update_auto_repeat_reference?: string | null | undefined;
1997
2211
  inter_company_invoice_reference?: string | null | undefined;
1998
2212
  }>;
1999
- submit: ({ resourceId }: {
2213
+ submit: ({ resourceId, }: {
2000
2214
  resourceId: string;
2001
2215
  }) => Promise<{
2002
2216
  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";
@@ -2024,6 +2238,7 @@ export declare class ERPNextSalesInvoice {
2024
2238
  modified_by: string;
2025
2239
  idx: number;
2026
2240
  doctype: string;
2241
+ parent: string;
2027
2242
  parenttype: string;
2028
2243
  parentfield: string;
2029
2244
  item_code: string;
@@ -2201,10 +2416,22 @@ export declare class ERPNextSalesInvoice {
2201
2416
  total_commission?: number | null | undefined;
2202
2417
  packed_items?: any[] | null | undefined;
2203
2418
  taxes?: {
2419
+ docstatus: number;
2420
+ name: string;
2421
+ owner: string;
2422
+ creation: string;
2423
+ modified: string;
2424
+ modified_by: string;
2425
+ idx: number;
2426
+ doctype: string;
2427
+ parent: string;
2428
+ parenttype: string;
2429
+ parentfield: string;
2204
2430
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
2205
2431
  included_in_print_rate: 0 | 1;
2206
2432
  account_head: string;
2207
2433
  description?: string | undefined;
2434
+ _user_tags?: string | null | undefined;
2208
2435
  account_currency?: string | undefined;
2209
2436
  rate?: number | undefined;
2210
2437
  base_total?: number | undefined;
@@ -2227,10 +2454,21 @@ export declare class ERPNextSalesInvoice {
2227
2454
  payment_terms_template?: string | null | undefined;
2228
2455
  party_account_currency?: string | null | undefined;
2229
2456
  advances?: {
2457
+ docstatus: number;
2458
+ name: string;
2459
+ owner: string;
2460
+ creation: string;
2461
+ modified: string;
2462
+ modified_by: string;
2463
+ idx: number;
2230
2464
  doctype: "Sales Invoice Advance";
2465
+ parent: string;
2466
+ parenttype: string;
2467
+ parentfield: string;
2231
2468
  reference_name: string;
2232
2469
  reference_type: string;
2233
2470
  advance_amount: number;
2471
+ _user_tags?: string | null | undefined;
2234
2472
  allocated_amount?: number | null | undefined;
2235
2473
  remarks?: string | null | undefined;
2236
2474
  reference_row?: string | null | undefined;
@@ -2245,8 +2483,20 @@ export declare class ERPNextSalesInvoice {
2245
2483
  total_billing_amount?: number | null | undefined;
2246
2484
  cash_bank_account?: string | null | undefined;
2247
2485
  payments?: {
2486
+ docstatus: number;
2487
+ name: string;
2488
+ owner: string;
2489
+ creation: string;
2490
+ modified: string;
2491
+ modified_by: string;
2492
+ idx: number;
2493
+ doctype: string;
2494
+ parent: string;
2495
+ parenttype: string;
2496
+ parentfield: string;
2248
2497
  amount: number;
2249
2498
  mode_of_payment: string;
2499
+ _user_tags?: string | null | undefined;
2250
2500
  base_amount?: number | null | undefined;
2251
2501
  account?: string | null | undefined;
2252
2502
  reference_no?: string | null | undefined;
@@ -2296,6 +2546,7 @@ export declare class ERPNextSalesInvoice {
2296
2546
  modified_by: string;
2297
2547
  idx: number;
2298
2548
  doctype: string;
2549
+ parent: string;
2299
2550
  parenttype: string;
2300
2551
  parentfield: string;
2301
2552
  item_code: string;
@@ -2473,10 +2724,22 @@ export declare class ERPNextSalesInvoice {
2473
2724
  total_commission?: number | null | undefined;
2474
2725
  packed_items?: any[] | null | undefined;
2475
2726
  taxes?: {
2727
+ docstatus: number;
2728
+ name: string;
2729
+ owner: string;
2730
+ creation: string;
2731
+ modified: string;
2732
+ modified_by: string;
2733
+ idx: number;
2734
+ doctype: string;
2735
+ parent: string;
2736
+ parenttype: string;
2737
+ parentfield: string;
2476
2738
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
2477
2739
  included_in_print_rate: 0 | 1;
2478
2740
  account_head: string;
2479
2741
  description?: string | undefined;
2742
+ _user_tags?: string | null | undefined;
2480
2743
  account_currency?: string | undefined;
2481
2744
  rate?: number | undefined;
2482
2745
  base_total?: number | undefined;
@@ -2499,10 +2762,21 @@ export declare class ERPNextSalesInvoice {
2499
2762
  payment_terms_template?: string | null | undefined;
2500
2763
  party_account_currency?: string | null | undefined;
2501
2764
  advances?: {
2765
+ docstatus: number;
2766
+ name: string;
2767
+ owner: string;
2768
+ creation: string;
2769
+ modified: string;
2770
+ modified_by: string;
2771
+ idx: number;
2502
2772
  doctype: "Sales Invoice Advance";
2773
+ parent: string;
2774
+ parenttype: string;
2775
+ parentfield: string;
2503
2776
  reference_name: string;
2504
2777
  reference_type: string;
2505
2778
  advance_amount: number;
2779
+ _user_tags?: string | null | undefined;
2506
2780
  allocated_amount?: number | null | undefined;
2507
2781
  remarks?: string | null | undefined;
2508
2782
  reference_row?: string | null | undefined;
@@ -2517,8 +2791,20 @@ export declare class ERPNextSalesInvoice {
2517
2791
  total_billing_amount?: number | null | undefined;
2518
2792
  cash_bank_account?: string | null | undefined;
2519
2793
  payments?: {
2794
+ docstatus: number;
2795
+ name: string;
2796
+ owner: string;
2797
+ creation: string;
2798
+ modified: string;
2799
+ modified_by: string;
2800
+ idx: number;
2801
+ doctype: string;
2802
+ parent: string;
2803
+ parenttype: string;
2804
+ parentfield: string;
2520
2805
  amount: number;
2521
2806
  mode_of_payment: string;
2807
+ _user_tags?: string | null | undefined;
2522
2808
  base_amount?: number | null | undefined;
2523
2809
  account?: string | null | undefined;
2524
2810
  reference_no?: string | null | undefined;
@@ -2568,6 +2854,7 @@ export declare class ERPNextSalesInvoice {
2568
2854
  modified_by: string;
2569
2855
  idx: number;
2570
2856
  doctype: string;
2857
+ parent: string;
2571
2858
  parenttype: string;
2572
2859
  parentfield: string;
2573
2860
  item_code: string;
@@ -2745,10 +3032,22 @@ export declare class ERPNextSalesInvoice {
2745
3032
  total_commission?: number | null | undefined;
2746
3033
  packed_items?: any[] | null | undefined;
2747
3034
  taxes?: {
3035
+ docstatus: number;
3036
+ name: string;
3037
+ owner: string;
3038
+ creation: string;
3039
+ modified: string;
3040
+ modified_by: string;
3041
+ idx: number;
3042
+ doctype: string;
3043
+ parent: string;
3044
+ parenttype: string;
3045
+ parentfield: string;
2748
3046
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
2749
3047
  included_in_print_rate: 0 | 1;
2750
3048
  account_head: string;
2751
3049
  description?: string | undefined;
3050
+ _user_tags?: string | null | undefined;
2752
3051
  account_currency?: string | undefined;
2753
3052
  rate?: number | undefined;
2754
3053
  base_total?: number | undefined;
@@ -2771,10 +3070,21 @@ export declare class ERPNextSalesInvoice {
2771
3070
  payment_terms_template?: string | null | undefined;
2772
3071
  party_account_currency?: string | null | undefined;
2773
3072
  advances?: {
3073
+ docstatus: number;
3074
+ name: string;
3075
+ owner: string;
3076
+ creation: string;
3077
+ modified: string;
3078
+ modified_by: string;
3079
+ idx: number;
2774
3080
  doctype: "Sales Invoice Advance";
3081
+ parent: string;
3082
+ parenttype: string;
3083
+ parentfield: string;
2775
3084
  reference_name: string;
2776
3085
  reference_type: string;
2777
3086
  advance_amount: number;
3087
+ _user_tags?: string | null | undefined;
2778
3088
  allocated_amount?: number | null | undefined;
2779
3089
  remarks?: string | null | undefined;
2780
3090
  reference_row?: string | null | undefined;
@@ -2789,8 +3099,20 @@ export declare class ERPNextSalesInvoice {
2789
3099
  total_billing_amount?: number | null | undefined;
2790
3100
  cash_bank_account?: string | null | undefined;
2791
3101
  payments?: {
3102
+ docstatus: number;
3103
+ name: string;
3104
+ owner: string;
3105
+ creation: string;
3106
+ modified: string;
3107
+ modified_by: string;
3108
+ idx: number;
3109
+ doctype: string;
3110
+ parent: string;
3111
+ parenttype: string;
3112
+ parentfield: string;
2792
3113
  amount: number;
2793
3114
  mode_of_payment: string;
3115
+ _user_tags?: string | null | undefined;
2794
3116
  base_amount?: number | null | undefined;
2795
3117
  account?: string | null | undefined;
2796
3118
  reference_no?: string | null | undefined;
@@ -2839,6 +3161,7 @@ export declare class ERPNextSalesInvoice {
2839
3161
  modified_by: string;
2840
3162
  idx: number;
2841
3163
  doctype: string;
3164
+ parent: string;
2842
3165
  parenttype: string;
2843
3166
  parentfield: string;
2844
3167
  item_code: string;
@@ -3016,10 +3339,22 @@ export declare class ERPNextSalesInvoice {
3016
3339
  total_commission?: number | null | undefined;
3017
3340
  packed_items?: any[] | null | undefined;
3018
3341
  taxes?: {
3342
+ docstatus: number;
3343
+ name: string;
3344
+ owner: string;
3345
+ creation: string;
3346
+ modified: string;
3347
+ modified_by: string;
3348
+ idx: number;
3349
+ doctype: string;
3350
+ parent: string;
3351
+ parenttype: string;
3352
+ parentfield: string;
3019
3353
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
3020
3354
  included_in_print_rate: 0 | 1;
3021
3355
  account_head: string;
3022
3356
  description?: string | undefined;
3357
+ _user_tags?: string | null | undefined;
3023
3358
  account_currency?: string | undefined;
3024
3359
  rate?: number | undefined;
3025
3360
  base_total?: number | undefined;
@@ -3042,10 +3377,21 @@ export declare class ERPNextSalesInvoice {
3042
3377
  payment_terms_template?: string | null | undefined;
3043
3378
  party_account_currency?: string | null | undefined;
3044
3379
  advances?: {
3380
+ docstatus: number;
3381
+ name: string;
3382
+ owner: string;
3383
+ creation: string;
3384
+ modified: string;
3385
+ modified_by: string;
3386
+ idx: number;
3045
3387
  doctype: "Sales Invoice Advance";
3388
+ parent: string;
3389
+ parenttype: string;
3390
+ parentfield: string;
3046
3391
  reference_name: string;
3047
3392
  reference_type: string;
3048
3393
  advance_amount: number;
3394
+ _user_tags?: string | null | undefined;
3049
3395
  allocated_amount?: number | null | undefined;
3050
3396
  remarks?: string | null | undefined;
3051
3397
  reference_row?: string | null | undefined;
@@ -3060,8 +3406,20 @@ export declare class ERPNextSalesInvoice {
3060
3406
  total_billing_amount?: number | null | undefined;
3061
3407
  cash_bank_account?: string | null | undefined;
3062
3408
  payments?: {
3409
+ docstatus: number;
3410
+ name: string;
3411
+ owner: string;
3412
+ creation: string;
3413
+ modified: string;
3414
+ modified_by: string;
3415
+ idx: number;
3416
+ doctype: string;
3417
+ parent: string;
3418
+ parenttype: string;
3419
+ parentfield: string;
3063
3420
  amount: number;
3064
3421
  mode_of_payment: string;
3422
+ _user_tags?: string | null | undefined;
3065
3423
  base_amount?: number | null | undefined;
3066
3424
  account?: string | null | undefined;
3067
3425
  reference_no?: string | null | undefined;
@@ -3111,6 +3469,7 @@ export declare class ERPNextSalesInvoice {
3111
3469
  modified_by: string;
3112
3470
  idx: number;
3113
3471
  doctype: string;
3472
+ parent: string;
3114
3473
  parenttype: string;
3115
3474
  parentfield: string;
3116
3475
  item_code: string;
@@ -3288,10 +3647,22 @@ export declare class ERPNextSalesInvoice {
3288
3647
  total_commission?: number | null | undefined;
3289
3648
  packed_items?: any[] | null | undefined;
3290
3649
  taxes?: {
3650
+ docstatus: number;
3651
+ name: string;
3652
+ owner: string;
3653
+ creation: string;
3654
+ modified: string;
3655
+ modified_by: string;
3656
+ idx: number;
3657
+ doctype: string;
3658
+ parent: string;
3659
+ parenttype: string;
3660
+ parentfield: string;
3291
3661
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
3292
3662
  included_in_print_rate: 0 | 1;
3293
3663
  account_head: string;
3294
3664
  description?: string | undefined;
3665
+ _user_tags?: string | null | undefined;
3295
3666
  account_currency?: string | undefined;
3296
3667
  rate?: number | undefined;
3297
3668
  base_total?: number | undefined;
@@ -3314,10 +3685,21 @@ export declare class ERPNextSalesInvoice {
3314
3685
  payment_terms_template?: string | null | undefined;
3315
3686
  party_account_currency?: string | null | undefined;
3316
3687
  advances?: {
3688
+ docstatus: number;
3689
+ name: string;
3690
+ owner: string;
3691
+ creation: string;
3692
+ modified: string;
3693
+ modified_by: string;
3694
+ idx: number;
3317
3695
  doctype: "Sales Invoice Advance";
3696
+ parent: string;
3697
+ parenttype: string;
3698
+ parentfield: string;
3318
3699
  reference_name: string;
3319
3700
  reference_type: string;
3320
3701
  advance_amount: number;
3702
+ _user_tags?: string | null | undefined;
3321
3703
  allocated_amount?: number | null | undefined;
3322
3704
  remarks?: string | null | undefined;
3323
3705
  reference_row?: string | null | undefined;
@@ -3332,8 +3714,20 @@ export declare class ERPNextSalesInvoice {
3332
3714
  total_billing_amount?: number | null | undefined;
3333
3715
  cash_bank_account?: string | null | undefined;
3334
3716
  payments?: {
3717
+ docstatus: number;
3718
+ name: string;
3719
+ owner: string;
3720
+ creation: string;
3721
+ modified: string;
3722
+ modified_by: string;
3723
+ idx: number;
3724
+ doctype: string;
3725
+ parent: string;
3726
+ parenttype: string;
3727
+ parentfield: string;
3335
3728
  amount: number;
3336
3729
  mode_of_payment: string;
3730
+ _user_tags?: string | null | undefined;
3337
3731
  base_amount?: number | null | undefined;
3338
3732
  account?: string | null | undefined;
3339
3733
  reference_no?: string | null | undefined;