erpnext-queue-client 2.0.0-beta.2 → 2.1.1

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.
@@ -75,7 +75,14 @@ export declare class ERPNextPaymentEntry {
75
75
  references?: {
76
76
  reference_doctype: string;
77
77
  reference_name: string;
78
+ total_amount: number;
79
+ outstanding_amount: number;
78
80
  allocated_amount: number;
81
+ account_type?: string | null | undefined;
82
+ payment_termn?: string | null | undefined;
83
+ payment_type?: string | null | undefined;
84
+ account?: string | null | undefined;
85
+ payment_request?: string | null | undefined;
79
86
  }[] | undefined;
80
87
  deductions?: unknown[] | undefined;
81
88
  }[] : 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 ("docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "posting_date" | "payment_type" | "payment_order_status" | "party_type" | "party" | "party_name" | "party_balance" | "paid_from" | "paid_from_account_type" | "paid_from_account_currency" | "paid_from_account_balance" | "paid_to" | "paid_to_account_type" | "paid_to_account_currency" | "paid_to_account_balance" | "paid_amount" | "paid_amount_after_tax" | "reference_no" | "reference_date") | ("status" | "amended_from" | "_user_tags" | "title" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "taxes" | "payment_number" | "internal_reference" | "mode_of_payment" | "custom_external_payment_method" | "source_exchange_rate" | "base_paid_amount" | "base_paid_amount_after_tax" | "received_amount" | "received_amount_after_tax" | "target_exchange_rate" | "base_received_amount" | "base_received_amount_after_tax" | "total_allocated_amount" | "base_total_allocated_amount" | "unallocated_amount" | "difference_amount" | "apply_tax_withholding_amount" | "custom_remarks" | "remarks" | "references" | "deductions") ? {
@@ -136,7 +143,14 @@ export declare class ERPNextPaymentEntry {
136
143
  references?: {
137
144
  reference_doctype: string;
138
145
  reference_name: string;
146
+ total_amount: number;
147
+ outstanding_amount: number;
139
148
  allocated_amount: number;
149
+ account_type?: string | null | undefined;
150
+ payment_termn?: string | null | undefined;
151
+ payment_type?: string | null | undefined;
152
+ account?: string | null | undefined;
153
+ payment_request?: string | null | undefined;
140
154
  }[] | undefined;
141
155
  deductions?: unknown[] | undefined;
142
156
  }[(("docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "posting_date" | "payment_type" | "payment_order_status" | "party_type" | "party" | "party_name" | "party_balance" | "paid_from" | "paid_from_account_type" | "paid_from_account_currency" | "paid_from_account_balance" | "paid_to" | "paid_to_account_type" | "paid_to_account_currency" | "paid_to_account_balance" | "paid_amount" | "paid_amount_after_tax" | "reference_no" | "reference_date") | ("status" | "amended_from" | "_user_tags" | "title" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "taxes" | "payment_number" | "internal_reference" | "mode_of_payment" | "custom_external_payment_method" | "source_exchange_rate" | "base_paid_amount" | "base_paid_amount_after_tax" | "received_amount" | "received_amount_after_tax" | "target_exchange_rate" | "base_received_amount" | "base_received_amount_after_tax" | "total_allocated_amount" | "base_total_allocated_amount" | "unallocated_amount" | "difference_amount" | "apply_tax_withholding_amount" | "custom_remarks" | "remarks" | "references" | "deductions")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
@@ -202,7 +216,14 @@ export declare class ERPNextPaymentEntry {
202
216
  references?: {
203
217
  reference_doctype: string;
204
218
  reference_name: string;
219
+ total_amount: number;
220
+ outstanding_amount: number;
205
221
  allocated_amount: number;
222
+ account_type?: string | null | undefined;
223
+ payment_termn?: string | null | undefined;
224
+ payment_type?: string | null | undefined;
225
+ account?: string | null | undefined;
226
+ payment_request?: string | null | undefined;
206
227
  }[] | undefined;
207
228
  deductions?: unknown[] | undefined;
208
229
  } | undefined>;
@@ -257,7 +278,14 @@ export declare class ERPNextPaymentEntry {
257
278
  references?: {
258
279
  reference_doctype: string;
259
280
  reference_name: string;
281
+ total_amount: number;
282
+ outstanding_amount: number;
260
283
  allocated_amount: number;
284
+ account_type?: string | null | undefined;
285
+ payment_termn?: string | null | undefined;
286
+ payment_type?: string | null | undefined;
287
+ account?: string | null | undefined;
288
+ payment_request?: string | null | undefined;
261
289
  }[] | undefined;
262
290
  deductions?: unknown[] | undefined;
263
291
  } : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ inputValidationModel, body, params, priority, }: {
@@ -324,7 +352,14 @@ export declare class ERPNextPaymentEntry {
324
352
  references?: {
325
353
  reference_doctype: string;
326
354
  reference_name: string;
355
+ total_amount: number;
356
+ outstanding_amount: number;
327
357
  allocated_amount: number;
358
+ account_type?: string | null | undefined;
359
+ payment_termn?: string | null | undefined;
360
+ payment_type?: string | null | undefined;
361
+ account?: string | null | undefined;
362
+ payment_request?: string | null | undefined;
328
363
  }[] | undefined;
329
364
  deductions?: unknown[] | undefined;
330
365
  }>;
@@ -379,7 +414,14 @@ export declare class ERPNextPaymentEntry {
379
414
  references?: {
380
415
  reference_doctype: string;
381
416
  reference_name: string;
417
+ total_amount: number;
418
+ outstanding_amount: number;
382
419
  allocated_amount: number;
420
+ account_type?: string | null | undefined;
421
+ payment_termn?: string | null | undefined;
422
+ payment_type?: string | null | undefined;
423
+ account?: string | null | undefined;
424
+ payment_request?: string | null | undefined;
383
425
  }[] | undefined;
384
426
  deductions?: unknown[] | undefined;
385
427
  }> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
@@ -446,7 +488,14 @@ export declare class ERPNextPaymentEntry {
446
488
  references?: {
447
489
  reference_doctype: string;
448
490
  reference_name: string;
491
+ total_amount: number;
492
+ outstanding_amount: number;
449
493
  allocated_amount: number;
494
+ account_type?: string | null | undefined;
495
+ payment_termn?: string | null | undefined;
496
+ payment_type?: string | null | undefined;
497
+ account?: string | null | undefined;
498
+ payment_request?: string | null | undefined;
450
499
  }[] | undefined;
451
500
  deductions?: unknown[] | undefined;
452
501
  }>;
@@ -515,7 +564,14 @@ export declare class ERPNextPaymentEntry {
515
564
  references?: {
516
565
  reference_doctype: string;
517
566
  reference_name: string;
567
+ total_amount: number;
568
+ outstanding_amount: number;
518
569
  allocated_amount: number;
570
+ account_type?: string | null | undefined;
571
+ payment_termn?: string | null | undefined;
572
+ payment_type?: string | null | undefined;
573
+ account?: string | null | undefined;
574
+ payment_request?: string | null | undefined;
519
575
  }[] | undefined;
520
576
  deductions?: unknown[] | undefined;
521
577
  }>;
@@ -580,7 +636,14 @@ export declare class ERPNextPaymentEntry {
580
636
  references?: {
581
637
  reference_doctype: string;
582
638
  reference_name: string;
639
+ total_amount: number;
640
+ outstanding_amount: number;
583
641
  allocated_amount: number;
642
+ account_type?: string | null | undefined;
643
+ payment_termn?: string | null | undefined;
644
+ payment_type?: string | null | undefined;
645
+ account?: string | null | undefined;
646
+ payment_request?: string | null | undefined;
584
647
  }[] | undefined;
585
648
  deductions?: unknown[] | undefined;
586
649
  }>;
@@ -634,7 +697,14 @@ export declare class ERPNextPaymentEntry {
634
697
  references?: {
635
698
  reference_doctype: string;
636
699
  reference_name: string;
700
+ total_amount: number;
701
+ outstanding_amount: number;
637
702
  allocated_amount: number;
703
+ account_type?: string | null | undefined;
704
+ payment_termn?: string | null | undefined;
705
+ payment_type?: string | null | undefined;
706
+ account?: string | null | undefined;
707
+ payment_request?: string | null | undefined;
638
708
  }[] | undefined;
639
709
  deductions?: unknown[] | undefined;
640
710
  }>;
@@ -687,7 +757,14 @@ export declare class ERPNextPaymentEntry {
687
757
  references?: {
688
758
  reference_doctype: string;
689
759
  reference_name: string;
760
+ total_amount: number;
761
+ outstanding_amount: number;
690
762
  allocated_amount: number;
763
+ account_type?: string | null | undefined;
764
+ payment_termn?: string | null | undefined;
765
+ payment_type?: string | null | undefined;
766
+ account?: string | null | undefined;
767
+ payment_request?: string | null | undefined;
691
768
  }[] | undefined;
692
769
  deductions?: unknown[] | undefined;
693
770
  }>;
@@ -750,7 +827,14 @@ export declare class ERPNextPaymentEntry {
750
827
  references?: {
751
828
  reference_doctype: string;
752
829
  reference_name: string;
830
+ total_amount: number;
831
+ outstanding_amount: number;
753
832
  allocated_amount: number;
833
+ account_type?: string | null | undefined;
834
+ payment_termn?: string | null | undefined;
835
+ payment_type?: string | null | undefined;
836
+ account?: string | null | undefined;
837
+ payment_request?: string | null | undefined;
754
838
  }[] | undefined;
755
839
  deductions?: unknown[] | undefined;
756
840
  }>;
@@ -813,7 +897,14 @@ export declare class ERPNextPaymentEntry {
813
897
  references?: {
814
898
  reference_doctype: string;
815
899
  reference_name: string;
900
+ total_amount: number;
901
+ outstanding_amount: number;
816
902
  allocated_amount: number;
903
+ account_type?: string | null | undefined;
904
+ payment_termn?: string | null | undefined;
905
+ payment_type?: string | null | undefined;
906
+ account?: string | null | undefined;
907
+ payment_request?: string | null | undefined;
817
908
  }[] | undefined;
818
909
  deductions?: unknown[] | undefined;
819
910
  }>;
@@ -6,7 +6,7 @@ export declare class ERPNextPurchaseInvoice {
6
6
  protected temporalClient: TemporalClient;
7
7
  protected baseRequest: ERPNextDoctypeSubmittableResourceRequest<typeof PurchaseInvoice>;
8
8
  protected methodRequest: ERPNextMethodRequest;
9
- getList: <TFieldOptions extends ("docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx") | ("status" | "amended_from" | "_user_tags" | "__onload" | "tax_category" | "company" | "naming_series" | "supplier_name" | "is_internal_supplier" | "on_hold" | "language" | "discount_amount" | "pricing_rules" | "__unsaved" | "posting_date" | "posting_time" | "set_posting_time" | "is_return" | "shipping_address" | "currency" | "conversion_rate" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "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" | "disable_rounded_total" | "group_same_items" | "items" | "supplier" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "__islocal" | "bill_id" | "is_paid" | "apply_tds" | "bill_no" | "shipping_address_display" | "billing_address" | "billing_address_display" | "buying_price_list" | "is_subcontracted" | "update_stock" | "base_taxes_and_charges_added" | "base_taxes_and_charges_deducted" | "taxes_and_charges_added" | "taxes_and_charges_deducted" | "total_advance" | "outstanding_amount" | "write_off_amount" | "base_write_off_amount" | "allocate_advances_automatically" | "payment_terms_template" | "ignore_default_payment_terms_template" | "credit_to" | "party_account_currency" | "is_opening" | "per_received" | "supplied_items" | "advances" | "advance_tax"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
9
+ getList: <TFieldOptions extends ("docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx") | ("status" | "amended_from" | "_user_tags" | "__onload" | "tax_category" | "company" | "naming_series" | "supplier_name" | "is_internal_supplier" | "on_hold" | "language" | "discount_amount" | "pricing_rules" | "__unsaved" | "posting_date" | "posting_time" | "set_posting_time" | "is_return" | "shipping_address" | "currency" | "conversion_rate" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "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" | "disable_rounded_total" | "group_same_items" | "items" | "supplier" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "__islocal" | "bill_id" | "is_paid" | "apply_tds" | "bill_no" | "shipping_address_display" | "billing_address" | "billing_address_display" | "buying_price_list" | "is_subcontracted" | "update_stock" | "base_taxes_and_charges_added" | "base_taxes_and_charges_deducted" | "taxes_and_charges_added" | "taxes_and_charges_deducted" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "allocate_advances_automatically" | "payment_terms_template" | "ignore_default_payment_terms_template" | "credit_to" | "party_account_currency" | "is_opening" | "per_received" | "supplied_items" | "advances" | "advance_tax"), 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;
@@ -131,6 +131,7 @@ export declare class ERPNextPurchaseInvoice {
131
131
  pr_detail?: string | null | undefined;
132
132
  }[] | null | undefined;
133
133
  supplier?: string | null | undefined;
134
+ outstanding_amount?: number | null | undefined;
134
135
  paid_amount?: number | null | undefined;
135
136
  base_paid_amount?: number | null | undefined;
136
137
  remarks?: string | null | undefined;
@@ -151,7 +152,6 @@ export declare class ERPNextPurchaseInvoice {
151
152
  taxes_and_charges_added?: number | null | undefined;
152
153
  taxes_and_charges_deducted?: number | null | undefined;
153
154
  total_advance?: number | null | undefined;
154
- outstanding_amount?: number | null | undefined;
155
155
  write_off_amount?: number | null | undefined;
156
156
  base_write_off_amount?: number | null | undefined;
157
157
  allocate_advances_automatically?: number | null | undefined;
@@ -164,7 +164,7 @@ export declare class ERPNextPurchaseInvoice {
164
164
  supplied_items?: string[] | null | undefined;
165
165
  advances?: string[] | null | undefined;
166
166
  advance_tax?: string[] | null | undefined;
167
- }[] : 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 ("docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx") | ("status" | "amended_from" | "_user_tags" | "__onload" | "tax_category" | "company" | "naming_series" | "supplier_name" | "is_internal_supplier" | "on_hold" | "language" | "discount_amount" | "pricing_rules" | "__unsaved" | "posting_date" | "posting_time" | "set_posting_time" | "is_return" | "shipping_address" | "currency" | "conversion_rate" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "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" | "disable_rounded_total" | "group_same_items" | "items" | "supplier" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "__islocal" | "bill_id" | "is_paid" | "apply_tds" | "bill_no" | "shipping_address_display" | "billing_address" | "billing_address_display" | "buying_price_list" | "is_subcontracted" | "update_stock" | "base_taxes_and_charges_added" | "base_taxes_and_charges_deducted" | "taxes_and_charges_added" | "taxes_and_charges_deducted" | "total_advance" | "outstanding_amount" | "write_off_amount" | "base_write_off_amount" | "allocate_advances_automatically" | "payment_terms_template" | "ignore_default_payment_terms_template" | "credit_to" | "party_account_currency" | "is_opening" | "per_received" | "supplied_items" | "advances" | "advance_tax") ? {
167
+ }[] : 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 ("docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx") | ("status" | "amended_from" | "_user_tags" | "__onload" | "tax_category" | "company" | "naming_series" | "supplier_name" | "is_internal_supplier" | "on_hold" | "language" | "discount_amount" | "pricing_rules" | "__unsaved" | "posting_date" | "posting_time" | "set_posting_time" | "is_return" | "shipping_address" | "currency" | "conversion_rate" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "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" | "disable_rounded_total" | "group_same_items" | "items" | "supplier" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "__islocal" | "bill_id" | "is_paid" | "apply_tds" | "bill_no" | "shipping_address_display" | "billing_address" | "billing_address_display" | "buying_price_list" | "is_subcontracted" | "update_stock" | "base_taxes_and_charges_added" | "base_taxes_and_charges_deducted" | "taxes_and_charges_added" | "taxes_and_charges_deducted" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "allocate_advances_automatically" | "payment_terms_template" | "ignore_default_payment_terms_template" | "credit_to" | "party_account_currency" | "is_opening" | "per_received" | "supplied_items" | "advances" | "advance_tax") ? {
168
168
  docstatus: number;
169
169
  name: string;
170
170
  owner: string;
@@ -279,6 +279,7 @@ export declare class ERPNextPurchaseInvoice {
279
279
  pr_detail?: string | null | undefined;
280
280
  }[] | null | undefined;
281
281
  supplier?: string | null | undefined;
282
+ outstanding_amount?: number | null | undefined;
282
283
  paid_amount?: number | null | undefined;
283
284
  base_paid_amount?: number | null | undefined;
284
285
  remarks?: string | null | undefined;
@@ -299,7 +300,6 @@ export declare class ERPNextPurchaseInvoice {
299
300
  taxes_and_charges_added?: number | null | undefined;
300
301
  taxes_and_charges_deducted?: number | null | undefined;
301
302
  total_advance?: number | null | undefined;
302
- outstanding_amount?: number | null | undefined;
303
303
  write_off_amount?: number | null | undefined;
304
304
  base_write_off_amount?: number | null | undefined;
305
305
  allocate_advances_automatically?: number | null | undefined;
@@ -312,7 +312,7 @@ export declare class ERPNextPurchaseInvoice {
312
312
  supplied_items?: string[] | null | undefined;
313
313
  advances?: string[] | null | undefined;
314
314
  advance_tax?: string[] | null | undefined;
315
- }[(("docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx") | ("status" | "amended_from" | "_user_tags" | "__onload" | "tax_category" | "company" | "naming_series" | "supplier_name" | "is_internal_supplier" | "on_hold" | "language" | "discount_amount" | "pricing_rules" | "__unsaved" | "posting_date" | "posting_time" | "set_posting_time" | "is_return" | "shipping_address" | "currency" | "conversion_rate" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "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" | "disable_rounded_total" | "group_same_items" | "items" | "supplier" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "__islocal" | "bill_id" | "is_paid" | "apply_tds" | "bill_no" | "shipping_address_display" | "billing_address" | "billing_address_display" | "buying_price_list" | "is_subcontracted" | "update_stock" | "base_taxes_and_charges_added" | "base_taxes_and_charges_deducted" | "taxes_and_charges_added" | "taxes_and_charges_deducted" | "total_advance" | "outstanding_amount" | "write_off_amount" | "base_write_off_amount" | "allocate_advances_automatically" | "payment_terms_template" | "ignore_default_payment_terms_template" | "credit_to" | "party_account_currency" | "is_opening" | "per_received" | "supplied_items" | "advances" | "advance_tax")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
315
+ }[(("docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx") | ("status" | "amended_from" | "_user_tags" | "__onload" | "tax_category" | "company" | "naming_series" | "supplier_name" | "is_internal_supplier" | "on_hold" | "language" | "discount_amount" | "pricing_rules" | "__unsaved" | "posting_date" | "posting_time" | "set_posting_time" | "is_return" | "shipping_address" | "currency" | "conversion_rate" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "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" | "disable_rounded_total" | "group_same_items" | "items" | "supplier" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "__islocal" | "bill_id" | "is_paid" | "apply_tds" | "bill_no" | "shipping_address_display" | "billing_address" | "billing_address_display" | "buying_price_list" | "is_subcontracted" | "update_stock" | "base_taxes_and_charges_added" | "base_taxes_and_charges_deducted" | "taxes_and_charges_added" | "taxes_and_charges_deducted" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "allocate_advances_automatically" | "payment_terms_template" | "ignore_default_payment_terms_template" | "credit_to" | "party_account_currency" | "is_opening" | "per_received" | "supplied_items" | "advances" | "advance_tax")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
316
316
  getById: ({ resourceId, priority, }: {
317
317
  resourceId: string;
318
318
  priority?: number;
@@ -338,6 +338,7 @@ export declare class ERPNextPurchaseInvoice {
338
338
  parentfield: string;
339
339
  description?: string | null | undefined;
340
340
  _user_tags?: string | null | undefined;
341
+ account_currency?: string | null | undefined;
341
342
  rate?: number | null | undefined;
342
343
  cost_center?: string | null | undefined;
343
344
  __unsaved?: number | null | undefined;
@@ -350,7 +351,6 @@ export declare class ERPNextPurchaseInvoice {
350
351
  included_in_print_rate?: number | null | undefined;
351
352
  included_in_paid_amount?: number | null | undefined;
352
353
  account_head?: string | null | undefined;
353
- account_currency?: string | null | undefined;
354
354
  tax_amount?: number | null | undefined;
355
355
  tax_amount_after_discount_amount?: number | null | undefined;
356
356
  base_tax_amount?: number | null | undefined;
@@ -486,6 +486,7 @@ export declare class ERPNextPurchaseInvoice {
486
486
  pr_detail?: string | null | undefined;
487
487
  }[] | null | undefined;
488
488
  supplier?: string | null | undefined;
489
+ outstanding_amount?: number | null | undefined;
489
490
  paid_amount?: number | null | undefined;
490
491
  base_paid_amount?: number | null | undefined;
491
492
  remarks?: string | null | undefined;
@@ -506,7 +507,6 @@ export declare class ERPNextPurchaseInvoice {
506
507
  taxes_and_charges_added?: number | null | undefined;
507
508
  taxes_and_charges_deducted?: number | null | undefined;
508
509
  total_advance?: number | null | undefined;
509
- outstanding_amount?: number | null | undefined;
510
510
  write_off_amount?: number | null | undefined;
511
511
  base_write_off_amount?: number | null | undefined;
512
512
  allocate_advances_automatically?: number | null | undefined;
@@ -523,6 +523,7 @@ export declare class ERPNextPurchaseInvoice {
523
523
  updateById: <TInput extends TInputModel extends undefined ? Partial<{
524
524
  taxes: {
525
525
  description?: string | null | undefined;
526
+ account_currency?: string | null | undefined;
526
527
  rate?: number | null | undefined;
527
528
  cost_center?: string | null | undefined;
528
529
  __unsaved?: number | null | undefined;
@@ -535,7 +536,6 @@ export declare class ERPNextPurchaseInvoice {
535
536
  included_in_print_rate?: number | null | undefined;
536
537
  included_in_paid_amount?: number | null | undefined;
537
538
  account_head?: string | null | undefined;
538
- account_currency?: string | null | undefined;
539
539
  tax_amount?: number | null | undefined;
540
540
  tax_amount_after_discount_amount?: number | null | undefined;
541
541
  base_tax_amount?: number | null | undefined;
@@ -660,6 +660,7 @@ export declare class ERPNextPurchaseInvoice {
660
660
  pr_detail?: string | null | undefined;
661
661
  }[] | null | undefined;
662
662
  supplier?: string | null | undefined;
663
+ outstanding_amount?: number | null | undefined;
663
664
  paid_amount?: number | null | undefined;
664
665
  base_paid_amount?: number | null | undefined;
665
666
  remarks?: string | null | undefined;
@@ -680,7 +681,6 @@ export declare class ERPNextPurchaseInvoice {
680
681
  taxes_and_charges_added?: number | null | undefined;
681
682
  taxes_and_charges_deducted?: number | null | undefined;
682
683
  total_advance?: number | null | undefined;
683
- outstanding_amount?: number | null | undefined;
684
684
  write_off_amount?: number | null | undefined;
685
685
  base_write_off_amount?: number | null | undefined;
686
686
  allocate_advances_automatically?: number | null | undefined;
@@ -720,6 +720,7 @@ export declare class ERPNextPurchaseInvoice {
720
720
  parentfield: string;
721
721
  description?: string | null | undefined;
722
722
  _user_tags?: string | null | undefined;
723
+ account_currency?: string | null | undefined;
723
724
  rate?: number | null | undefined;
724
725
  cost_center?: string | null | undefined;
725
726
  __unsaved?: number | null | undefined;
@@ -732,7 +733,6 @@ export declare class ERPNextPurchaseInvoice {
732
733
  included_in_print_rate?: number | null | undefined;
733
734
  included_in_paid_amount?: number | null | undefined;
734
735
  account_head?: string | null | undefined;
735
- account_currency?: string | null | undefined;
736
736
  tax_amount?: number | null | undefined;
737
737
  tax_amount_after_discount_amount?: number | null | undefined;
738
738
  base_tax_amount?: number | null | undefined;
@@ -868,6 +868,7 @@ export declare class ERPNextPurchaseInvoice {
868
868
  pr_detail?: string | null | undefined;
869
869
  }[] | null | undefined;
870
870
  supplier?: string | null | undefined;
871
+ outstanding_amount?: number | null | undefined;
871
872
  paid_amount?: number | null | undefined;
872
873
  base_paid_amount?: number | null | undefined;
873
874
  remarks?: string | null | undefined;
@@ -888,7 +889,6 @@ export declare class ERPNextPurchaseInvoice {
888
889
  taxes_and_charges_added?: number | null | undefined;
889
890
  taxes_and_charges_deducted?: number | null | undefined;
890
891
  total_advance?: number | null | undefined;
891
- outstanding_amount?: number | null | undefined;
892
892
  write_off_amount?: number | null | undefined;
893
893
  base_write_off_amount?: number | null | undefined;
894
894
  allocate_advances_automatically?: number | null | undefined;
@@ -930,6 +930,7 @@ export declare class ERPNextPurchaseInvoice {
930
930
  parentfield: string;
931
931
  description?: string | null | undefined;
932
932
  _user_tags?: string | null | undefined;
933
+ account_currency?: string | null | undefined;
933
934
  rate?: number | null | undefined;
934
935
  cost_center?: string | null | undefined;
935
936
  __unsaved?: number | null | undefined;
@@ -942,7 +943,6 @@ export declare class ERPNextPurchaseInvoice {
942
943
  included_in_print_rate?: number | null | undefined;
943
944
  included_in_paid_amount?: number | null | undefined;
944
945
  account_head?: string | null | undefined;
945
- account_currency?: string | null | undefined;
946
946
  tax_amount?: number | null | undefined;
947
947
  tax_amount_after_discount_amount?: number | null | undefined;
948
948
  base_tax_amount?: number | null | undefined;
@@ -1078,6 +1078,7 @@ export declare class ERPNextPurchaseInvoice {
1078
1078
  pr_detail?: string | null | undefined;
1079
1079
  }[] | null | undefined;
1080
1080
  supplier?: string | null | undefined;
1081
+ outstanding_amount?: number | null | undefined;
1081
1082
  paid_amount?: number | null | undefined;
1082
1083
  base_paid_amount?: number | null | undefined;
1083
1084
  remarks?: string | null | undefined;
@@ -1098,7 +1099,6 @@ export declare class ERPNextPurchaseInvoice {
1098
1099
  taxes_and_charges_added?: number | null | undefined;
1099
1100
  taxes_and_charges_deducted?: number | null | undefined;
1100
1101
  total_advance?: number | null | undefined;
1101
- outstanding_amount?: number | null | undefined;
1102
1102
  write_off_amount?: number | null | undefined;
1103
1103
  base_write_off_amount?: number | null | undefined;
1104
1104
  allocate_advances_automatically?: number | null | undefined;
@@ -1136,6 +1136,7 @@ export declare class ERPNextPurchaseInvoice {
1136
1136
  parentfield: string;
1137
1137
  description?: string | null | undefined;
1138
1138
  _user_tags?: string | null | undefined;
1139
+ account_currency?: string | null | undefined;
1139
1140
  rate?: number | null | undefined;
1140
1141
  cost_center?: string | null | undefined;
1141
1142
  __unsaved?: number | null | undefined;
@@ -1148,7 +1149,6 @@ export declare class ERPNextPurchaseInvoice {
1148
1149
  included_in_print_rate?: number | null | undefined;
1149
1150
  included_in_paid_amount?: number | null | undefined;
1150
1151
  account_head?: string | null | undefined;
1151
- account_currency?: string | null | undefined;
1152
1152
  tax_amount?: number | null | undefined;
1153
1153
  tax_amount_after_discount_amount?: number | null | undefined;
1154
1154
  base_tax_amount?: number | null | undefined;
@@ -1284,6 +1284,7 @@ export declare class ERPNextPurchaseInvoice {
1284
1284
  pr_detail?: string | null | undefined;
1285
1285
  }[] | null | undefined;
1286
1286
  supplier?: string | null | undefined;
1287
+ outstanding_amount?: number | null | undefined;
1287
1288
  paid_amount?: number | null | undefined;
1288
1289
  base_paid_amount?: number | null | undefined;
1289
1290
  remarks?: string | null | undefined;
@@ -1304,7 +1305,6 @@ export declare class ERPNextPurchaseInvoice {
1304
1305
  taxes_and_charges_added?: number | null | undefined;
1305
1306
  taxes_and_charges_deducted?: number | null | undefined;
1306
1307
  total_advance?: number | null | undefined;
1307
- outstanding_amount?: number | null | undefined;
1308
1308
  write_off_amount?: number | null | undefined;
1309
1309
  base_write_off_amount?: number | null | undefined;
1310
1310
  allocate_advances_automatically?: number | null | undefined;
@@ -1343,6 +1343,7 @@ export declare class ERPNextPurchaseInvoice {
1343
1343
  parentfield: string;
1344
1344
  description?: string | null | undefined;
1345
1345
  _user_tags?: string | null | undefined;
1346
+ account_currency?: string | null | undefined;
1346
1347
  rate?: number | null | undefined;
1347
1348
  cost_center?: string | null | undefined;
1348
1349
  __unsaved?: number | null | undefined;
@@ -1355,7 +1356,6 @@ export declare class ERPNextPurchaseInvoice {
1355
1356
  included_in_print_rate?: number | null | undefined;
1356
1357
  included_in_paid_amount?: number | null | undefined;
1357
1358
  account_head?: string | null | undefined;
1358
- account_currency?: string | null | undefined;
1359
1359
  tax_amount?: number | null | undefined;
1360
1360
  tax_amount_after_discount_amount?: number | null | undefined;
1361
1361
  base_tax_amount?: number | null | undefined;
@@ -1490,6 +1490,7 @@ export declare class ERPNextPurchaseInvoice {
1490
1490
  pr_detail?: string | null | undefined;
1491
1491
  }[] | null | undefined;
1492
1492
  supplier?: string | null | undefined;
1493
+ outstanding_amount?: number | null | undefined;
1493
1494
  paid_amount?: number | null | undefined;
1494
1495
  base_paid_amount?: number | null | undefined;
1495
1496
  remarks?: string | null | undefined;
@@ -1510,7 +1511,6 @@ export declare class ERPNextPurchaseInvoice {
1510
1511
  taxes_and_charges_added?: number | null | undefined;
1511
1512
  taxes_and_charges_deducted?: number | null | undefined;
1512
1513
  total_advance?: number | null | undefined;
1513
- outstanding_amount?: number | null | undefined;
1514
1514
  write_off_amount?: number | null | undefined;
1515
1515
  base_write_off_amount?: number | null | undefined;
1516
1516
  allocate_advances_automatically?: number | null | undefined;
@@ -1546,6 +1546,7 @@ export declare class ERPNextPurchaseInvoice {
1546
1546
  parentfield: string;
1547
1547
  description?: string | null | undefined;
1548
1548
  _user_tags?: string | null | undefined;
1549
+ account_currency?: string | null | undefined;
1549
1550
  rate?: number | null | undefined;
1550
1551
  cost_center?: string | null | undefined;
1551
1552
  __unsaved?: number | null | undefined;
@@ -1558,7 +1559,6 @@ export declare class ERPNextPurchaseInvoice {
1558
1559
  included_in_print_rate?: number | null | undefined;
1559
1560
  included_in_paid_amount?: number | null | undefined;
1560
1561
  account_head?: string | null | undefined;
1561
- account_currency?: string | null | undefined;
1562
1562
  tax_amount?: number | null | undefined;
1563
1563
  tax_amount_after_discount_amount?: number | null | undefined;
1564
1564
  base_tax_amount?: number | null | undefined;
@@ -1694,6 +1694,7 @@ export declare class ERPNextPurchaseInvoice {
1694
1694
  pr_detail?: string | null | undefined;
1695
1695
  }[] | null | undefined;
1696
1696
  supplier?: string | null | undefined;
1697
+ outstanding_amount?: number | null | undefined;
1697
1698
  paid_amount?: number | null | undefined;
1698
1699
  base_paid_amount?: number | null | undefined;
1699
1700
  remarks?: string | null | undefined;
@@ -1714,7 +1715,6 @@ export declare class ERPNextPurchaseInvoice {
1714
1715
  taxes_and_charges_added?: number | null | undefined;
1715
1716
  taxes_and_charges_deducted?: number | null | undefined;
1716
1717
  total_advance?: number | null | undefined;
1717
- outstanding_amount?: number | null | undefined;
1718
1718
  write_off_amount?: number | null | undefined;
1719
1719
  base_write_off_amount?: number | null | undefined;
1720
1720
  allocate_advances_automatically?: number | null | undefined;
@@ -1749,6 +1749,7 @@ export declare class ERPNextPurchaseInvoice {
1749
1749
  parentfield: string;
1750
1750
  description?: string | null | undefined;
1751
1751
  _user_tags?: string | null | undefined;
1752
+ account_currency?: string | null | undefined;
1752
1753
  rate?: number | null | undefined;
1753
1754
  cost_center?: string | null | undefined;
1754
1755
  __unsaved?: number | null | undefined;
@@ -1761,7 +1762,6 @@ export declare class ERPNextPurchaseInvoice {
1761
1762
  included_in_print_rate?: number | null | undefined;
1762
1763
  included_in_paid_amount?: number | null | undefined;
1763
1764
  account_head?: string | null | undefined;
1764
- account_currency?: string | null | undefined;
1765
1765
  tax_amount?: number | null | undefined;
1766
1766
  tax_amount_after_discount_amount?: number | null | undefined;
1767
1767
  base_tax_amount?: number | null | undefined;
@@ -1896,6 +1896,7 @@ export declare class ERPNextPurchaseInvoice {
1896
1896
  pr_detail?: string | null | undefined;
1897
1897
  }[] | null | undefined;
1898
1898
  supplier?: string | null | undefined;
1899
+ outstanding_amount?: number | null | undefined;
1899
1900
  paid_amount?: number | null | undefined;
1900
1901
  base_paid_amount?: number | null | undefined;
1901
1902
  remarks?: string | null | undefined;
@@ -1916,7 +1917,6 @@ export declare class ERPNextPurchaseInvoice {
1916
1917
  taxes_and_charges_added?: number | null | undefined;
1917
1918
  taxes_and_charges_deducted?: number | null | undefined;
1918
1919
  total_advance?: number | null | undefined;
1919
- outstanding_amount?: number | null | undefined;
1920
1920
  write_off_amount?: number | null | undefined;
1921
1921
  base_write_off_amount?: number | null | undefined;
1922
1922
  allocate_advances_automatically?: number | null | undefined;
@@ -1952,6 +1952,7 @@ export declare class ERPNextPurchaseInvoice {
1952
1952
  parentfield: string;
1953
1953
  description?: string | null | undefined;
1954
1954
  _user_tags?: string | null | undefined;
1955
+ account_currency?: string | null | undefined;
1955
1956
  rate?: number | null | undefined;
1956
1957
  cost_center?: string | null | undefined;
1957
1958
  __unsaved?: number | null | undefined;
@@ -1964,7 +1965,6 @@ export declare class ERPNextPurchaseInvoice {
1964
1965
  included_in_print_rate?: number | null | undefined;
1965
1966
  included_in_paid_amount?: number | null | undefined;
1966
1967
  account_head?: string | null | undefined;
1967
- account_currency?: string | null | undefined;
1968
1968
  tax_amount?: number | null | undefined;
1969
1969
  tax_amount_after_discount_amount?: number | null | undefined;
1970
1970
  base_tax_amount?: number | null | undefined;
@@ -2100,6 +2100,7 @@ export declare class ERPNextPurchaseInvoice {
2100
2100
  pr_detail?: string | null | undefined;
2101
2101
  }[] | null | undefined;
2102
2102
  supplier?: string | null | undefined;
2103
+ outstanding_amount?: number | null | undefined;
2103
2104
  paid_amount?: number | null | undefined;
2104
2105
  base_paid_amount?: number | null | undefined;
2105
2106
  remarks?: string | null | undefined;
@@ -2120,7 +2121,6 @@ export declare class ERPNextPurchaseInvoice {
2120
2121
  taxes_and_charges_added?: number | null | undefined;
2121
2122
  taxes_and_charges_deducted?: number | null | undefined;
2122
2123
  total_advance?: number | null | undefined;
2123
- outstanding_amount?: number | null | undefined;
2124
2124
  write_off_amount?: number | null | undefined;
2125
2125
  base_write_off_amount?: number | null | undefined;
2126
2126
  allocate_advances_automatically?: number | null | undefined;