erpnext-queue-client 2.1.0 → 2.1.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.
- package/dist/erpnext/doctypes/paymentEntry.d.ts +91 -0
- package/dist/erpnext/doctypes/purchaseInvoice.d.ts +14 -14
- package/dist/erpnext/doctypes/salesInvoice.d.ts +29 -29
- package/dist/erpnext/model/PaymentEntry.d.ts +93 -2
- package/dist/erpnext/model/PaymentEntry.js +7 -0
- package/dist/erpnext/model/PurchaseInvoice.d.ts +4 -4
- package/dist/erpnext/model/PurchaseOrder.d.ts +4 -4
- package/dist/erpnext/model/SalesInvoice.d.ts +14 -14
- package/dist/erpnext/model/StockEntry.d.ts +2 -2
- package/package.json +1 -1
|
@@ -76,6 +76,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
76
76
|
reference_doctype: string;
|
|
77
77
|
reference_name: string;
|
|
78
78
|
allocated_amount: number;
|
|
79
|
+
account_type?: string | null | undefined;
|
|
80
|
+
payment_term?: string | null | undefined;
|
|
81
|
+
payment_type?: string | null | undefined;
|
|
82
|
+
total_amount?: number | null | undefined;
|
|
83
|
+
outstanding_amount?: number | 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") ? {
|
|
@@ -137,6 +144,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
137
144
|
reference_doctype: string;
|
|
138
145
|
reference_name: string;
|
|
139
146
|
allocated_amount: number;
|
|
147
|
+
account_type?: string | null | undefined;
|
|
148
|
+
payment_term?: string | null | undefined;
|
|
149
|
+
payment_type?: string | null | undefined;
|
|
150
|
+
total_amount?: number | null | undefined;
|
|
151
|
+
outstanding_amount?: number | 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>;
|
|
@@ -203,6 +217,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
203
217
|
reference_doctype: string;
|
|
204
218
|
reference_name: string;
|
|
205
219
|
allocated_amount: number;
|
|
220
|
+
account_type?: string | null | undefined;
|
|
221
|
+
payment_term?: string | null | undefined;
|
|
222
|
+
payment_type?: string | null | undefined;
|
|
223
|
+
total_amount?: number | null | undefined;
|
|
224
|
+
outstanding_amount?: number | null | undefined;
|
|
225
|
+
account?: string | null | undefined;
|
|
226
|
+
payment_request?: string | null | undefined;
|
|
206
227
|
}[] | undefined;
|
|
207
228
|
deductions?: unknown[] | undefined;
|
|
208
229
|
} | undefined>;
|
|
@@ -258,6 +279,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
258
279
|
reference_doctype: string;
|
|
259
280
|
reference_name: string;
|
|
260
281
|
allocated_amount: number;
|
|
282
|
+
account_type?: string | null | undefined;
|
|
283
|
+
payment_term?: string | null | undefined;
|
|
284
|
+
payment_type?: string | null | undefined;
|
|
285
|
+
total_amount?: number | null | undefined;
|
|
286
|
+
outstanding_amount?: number | 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, }: {
|
|
@@ -325,6 +353,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
325
353
|
reference_doctype: string;
|
|
326
354
|
reference_name: string;
|
|
327
355
|
allocated_amount: number;
|
|
356
|
+
account_type?: string | null | undefined;
|
|
357
|
+
payment_term?: string | null | undefined;
|
|
358
|
+
payment_type?: string | null | undefined;
|
|
359
|
+
total_amount?: number | null | undefined;
|
|
360
|
+
outstanding_amount?: number | null | undefined;
|
|
361
|
+
account?: string | null | undefined;
|
|
362
|
+
payment_request?: string | null | undefined;
|
|
328
363
|
}[] | undefined;
|
|
329
364
|
deductions?: unknown[] | undefined;
|
|
330
365
|
}>;
|
|
@@ -380,6 +415,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
380
415
|
reference_doctype: string;
|
|
381
416
|
reference_name: string;
|
|
382
417
|
allocated_amount: number;
|
|
418
|
+
account_type?: string | null | undefined;
|
|
419
|
+
payment_term?: string | null | undefined;
|
|
420
|
+
payment_type?: string | null | undefined;
|
|
421
|
+
total_amount?: number | null | undefined;
|
|
422
|
+
outstanding_amount?: number | 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, }: {
|
|
@@ -447,6 +489,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
447
489
|
reference_doctype: string;
|
|
448
490
|
reference_name: string;
|
|
449
491
|
allocated_amount: number;
|
|
492
|
+
account_type?: string | null | undefined;
|
|
493
|
+
payment_term?: string | null | undefined;
|
|
494
|
+
payment_type?: string | null | undefined;
|
|
495
|
+
total_amount?: number | null | undefined;
|
|
496
|
+
outstanding_amount?: number | null | undefined;
|
|
497
|
+
account?: string | null | undefined;
|
|
498
|
+
payment_request?: string | null | undefined;
|
|
450
499
|
}[] | undefined;
|
|
451
500
|
deductions?: unknown[] | undefined;
|
|
452
501
|
}>;
|
|
@@ -516,6 +565,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
516
565
|
reference_doctype: string;
|
|
517
566
|
reference_name: string;
|
|
518
567
|
allocated_amount: number;
|
|
568
|
+
account_type?: string | null | undefined;
|
|
569
|
+
payment_term?: string | null | undefined;
|
|
570
|
+
payment_type?: string | null | undefined;
|
|
571
|
+
total_amount?: number | null | undefined;
|
|
572
|
+
outstanding_amount?: number | null | undefined;
|
|
573
|
+
account?: string | null | undefined;
|
|
574
|
+
payment_request?: string | null | undefined;
|
|
519
575
|
}[] | undefined;
|
|
520
576
|
deductions?: unknown[] | undefined;
|
|
521
577
|
}>;
|
|
@@ -581,6 +637,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
581
637
|
reference_doctype: string;
|
|
582
638
|
reference_name: string;
|
|
583
639
|
allocated_amount: number;
|
|
640
|
+
account_type?: string | null | undefined;
|
|
641
|
+
payment_term?: string | null | undefined;
|
|
642
|
+
payment_type?: string | null | undefined;
|
|
643
|
+
total_amount?: number | null | undefined;
|
|
644
|
+
outstanding_amount?: number | null | undefined;
|
|
645
|
+
account?: string | null | undefined;
|
|
646
|
+
payment_request?: string | null | undefined;
|
|
584
647
|
}[] | undefined;
|
|
585
648
|
deductions?: unknown[] | undefined;
|
|
586
649
|
}>;
|
|
@@ -635,6 +698,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
635
698
|
reference_doctype: string;
|
|
636
699
|
reference_name: string;
|
|
637
700
|
allocated_amount: number;
|
|
701
|
+
account_type?: string | null | undefined;
|
|
702
|
+
payment_term?: string | null | undefined;
|
|
703
|
+
payment_type?: string | null | undefined;
|
|
704
|
+
total_amount?: number | null | undefined;
|
|
705
|
+
outstanding_amount?: number | null | undefined;
|
|
706
|
+
account?: string | null | undefined;
|
|
707
|
+
payment_request?: string | null | undefined;
|
|
638
708
|
}[] | undefined;
|
|
639
709
|
deductions?: unknown[] | undefined;
|
|
640
710
|
}>;
|
|
@@ -688,6 +758,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
688
758
|
reference_doctype: string;
|
|
689
759
|
reference_name: string;
|
|
690
760
|
allocated_amount: number;
|
|
761
|
+
account_type?: string | null | undefined;
|
|
762
|
+
payment_term?: string | null | undefined;
|
|
763
|
+
payment_type?: string | null | undefined;
|
|
764
|
+
total_amount?: number | null | undefined;
|
|
765
|
+
outstanding_amount?: number | null | undefined;
|
|
766
|
+
account?: string | null | undefined;
|
|
767
|
+
payment_request?: string | null | undefined;
|
|
691
768
|
}[] | undefined;
|
|
692
769
|
deductions?: unknown[] | undefined;
|
|
693
770
|
}>;
|
|
@@ -751,6 +828,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
751
828
|
reference_doctype: string;
|
|
752
829
|
reference_name: string;
|
|
753
830
|
allocated_amount: number;
|
|
831
|
+
account_type?: string | null | undefined;
|
|
832
|
+
payment_term?: string | null | undefined;
|
|
833
|
+
payment_type?: string | null | undefined;
|
|
834
|
+
total_amount?: number | null | undefined;
|
|
835
|
+
outstanding_amount?: number | null | undefined;
|
|
836
|
+
account?: string | null | undefined;
|
|
837
|
+
payment_request?: string | null | undefined;
|
|
754
838
|
}[] | undefined;
|
|
755
839
|
deductions?: unknown[] | undefined;
|
|
756
840
|
}>;
|
|
@@ -814,6 +898,13 @@ export declare class ERPNextPaymentEntry {
|
|
|
814
898
|
reference_doctype: string;
|
|
815
899
|
reference_name: string;
|
|
816
900
|
allocated_amount: number;
|
|
901
|
+
account_type?: string | null | undefined;
|
|
902
|
+
payment_term?: string | null | undefined;
|
|
903
|
+
payment_type?: string | null | undefined;
|
|
904
|
+
total_amount?: number | null | undefined;
|
|
905
|
+
outstanding_amount?: number | 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" | "
|
|
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" | "
|
|
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" | "
|
|
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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|