erpnext-queue-client 2.5.22 → 2.5.24
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/purchaseInvoice.d.ts +28 -28
- package/dist/erpnext/doctypes/purchaseReceipt.d.ts +8 -8
- package/dist/erpnext/doctypes/salesInvoice.d.ts +24 -24
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +19 -0
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +3 -0
- package/dist/erpnext/model/DeliveryNote.d.ts +83 -11
- package/dist/erpnext/model/DeliveryNote.js +2 -1
- package/dist/erpnext/model/PurchaseInvoice.d.ts +58 -58
- package/dist/erpnext/model/PurchaseOrder.d.ts +10 -10
- package/dist/erpnext/model/Receipt.d.ts +10 -10
- package/dist/erpnext/model/ReceiptDraft.d.ts +4 -4
- package/dist/erpnext/model/SalesInvoice.d.ts +44 -44
- package/dist/erpnext/model/SalesOrder.d.ts +12 -12
- package/dist/erpnext/model/SalesTaxesAndCharges.d.ts +4 -4
- package/dist/erpnext/model/StockReconciliation.d.ts +2 -2
- package/package.json +1 -1
|
@@ -372,6 +372,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
372
372
|
weight_per_unit: number;
|
|
373
373
|
total_weight: number;
|
|
374
374
|
weight_uom: string;
|
|
375
|
+
cost_center: string;
|
|
375
376
|
item_group: string;
|
|
376
377
|
stock_uom: string;
|
|
377
378
|
uom: string;
|
|
@@ -398,12 +399,12 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
398
399
|
item_tax_rate: string;
|
|
399
400
|
expense_account: string;
|
|
400
401
|
allow_zero_valuation_rate: number;
|
|
401
|
-
cost_center: string;
|
|
402
402
|
page_break: number;
|
|
403
403
|
brand?: string | null | undefined;
|
|
404
404
|
item_tax_template?: string | null | undefined;
|
|
405
405
|
so_detail?: string | null | undefined;
|
|
406
406
|
dn_detail?: string | null | undefined;
|
|
407
|
+
project?: string | null | undefined;
|
|
407
408
|
barcode?: string | null | undefined;
|
|
408
409
|
customer_item_code?: string | null | undefined;
|
|
409
410
|
pricing_rules?: string | null | undefined;
|
|
@@ -415,7 +416,6 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
415
416
|
pick_list_item?: string | null | undefined;
|
|
416
417
|
batch_no?: string | null | undefined;
|
|
417
418
|
serial_no?: string | null | undefined;
|
|
418
|
-
project?: string | null | undefined;
|
|
419
419
|
order_item_id?: string | null | undefined;
|
|
420
420
|
__unsaved?: number | null | undefined;
|
|
421
421
|
}, {
|
|
@@ -435,6 +435,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
435
435
|
weight_per_unit: number;
|
|
436
436
|
total_weight: number;
|
|
437
437
|
weight_uom: string;
|
|
438
|
+
cost_center: string;
|
|
438
439
|
item_group: string;
|
|
439
440
|
stock_uom: string;
|
|
440
441
|
uom: string;
|
|
@@ -461,12 +462,12 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
461
462
|
item_tax_rate: string;
|
|
462
463
|
expense_account: string;
|
|
463
464
|
allow_zero_valuation_rate: number;
|
|
464
|
-
cost_center: string;
|
|
465
465
|
page_break: number;
|
|
466
466
|
brand?: string | null | undefined;
|
|
467
467
|
item_tax_template?: string | null | undefined;
|
|
468
468
|
so_detail?: string | null | undefined;
|
|
469
469
|
dn_detail?: string | null | undefined;
|
|
470
|
+
project?: string | null | undefined;
|
|
470
471
|
barcode?: string | null | undefined;
|
|
471
472
|
customer_item_code?: string | null | undefined;
|
|
472
473
|
pricing_rules?: string | null | undefined;
|
|
@@ -478,7 +479,6 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
478
479
|
pick_list_item?: string | null | undefined;
|
|
479
480
|
batch_no?: string | null | undefined;
|
|
480
481
|
serial_no?: string | null | undefined;
|
|
481
|
-
project?: string | null | undefined;
|
|
482
482
|
order_item_id?: string | null | undefined;
|
|
483
483
|
__unsaved?: number | null | undefined;
|
|
484
484
|
}>, "many">;
|
|
@@ -488,7 +488,51 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
488
488
|
packed_items: z.ZodArray<z.ZodString, "many"> & {
|
|
489
489
|
__optionalForInput: true;
|
|
490
490
|
};
|
|
491
|
-
taxes: z.ZodArray<z.
|
|
491
|
+
taxes: z.ZodArray<z.ZodObject<{
|
|
492
|
+
charge_type: z.ZodEnum<["Actual", "On Net Total", "On Previous Row Amount", "On Previous Row Total", "On Item Quantity"]>;
|
|
493
|
+
account_head: z.ZodString;
|
|
494
|
+
description: z.ZodOptional<z.ZodString>;
|
|
495
|
+
included_in_print_rate: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
|
|
496
|
+
__optionalForInput: true;
|
|
497
|
+
};
|
|
498
|
+
cost_center: z.ZodOptional<z.ZodString>;
|
|
499
|
+
project: z.ZodOptional<z.ZodString>;
|
|
500
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
501
|
+
account_currency: z.ZodOptional<z.ZodString>;
|
|
502
|
+
base_tax_amount: z.ZodOptional<z.ZodNumber>;
|
|
503
|
+
tax_amount: z.ZodOptional<z.ZodNumber>;
|
|
504
|
+
base_total: z.ZodOptional<z.ZodNumber>;
|
|
505
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
506
|
+
tax_amount_after_discount_amount: z.ZodOptional<z.ZodNumber>;
|
|
507
|
+
}, "strip", z.ZodTypeAny, {
|
|
508
|
+
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
509
|
+
account_head: string;
|
|
510
|
+
included_in_print_rate: 0 | 1;
|
|
511
|
+
description?: string | undefined;
|
|
512
|
+
account_currency?: string | undefined;
|
|
513
|
+
rate?: number | undefined;
|
|
514
|
+
base_total?: number | undefined;
|
|
515
|
+
total?: number | undefined;
|
|
516
|
+
cost_center?: string | undefined;
|
|
517
|
+
project?: string | undefined;
|
|
518
|
+
base_tax_amount?: number | undefined;
|
|
519
|
+
tax_amount?: number | undefined;
|
|
520
|
+
tax_amount_after_discount_amount?: number | undefined;
|
|
521
|
+
}, {
|
|
522
|
+
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
523
|
+
account_head: string;
|
|
524
|
+
description?: string | undefined;
|
|
525
|
+
account_currency?: string | undefined;
|
|
526
|
+
rate?: number | undefined;
|
|
527
|
+
base_total?: number | undefined;
|
|
528
|
+
total?: number | undefined;
|
|
529
|
+
included_in_print_rate?: unknown;
|
|
530
|
+
cost_center?: string | undefined;
|
|
531
|
+
project?: string | undefined;
|
|
532
|
+
base_tax_amount?: number | undefined;
|
|
533
|
+
tax_amount?: number | undefined;
|
|
534
|
+
tax_amount_after_discount_amount?: number | undefined;
|
|
535
|
+
}>, "many"> & {
|
|
492
536
|
__optionalForInput: true;
|
|
493
537
|
};
|
|
494
538
|
sales_team: z.ZodArray<z.ZodString, "many"> & {
|
|
@@ -532,6 +576,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
532
576
|
weight_per_unit: number;
|
|
533
577
|
total_weight: number;
|
|
534
578
|
weight_uom: string;
|
|
579
|
+
cost_center: string;
|
|
535
580
|
item_group: string;
|
|
536
581
|
stock_uom: string;
|
|
537
582
|
uom: string;
|
|
@@ -558,12 +603,12 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
558
603
|
item_tax_rate: string;
|
|
559
604
|
expense_account: string;
|
|
560
605
|
allow_zero_valuation_rate: number;
|
|
561
|
-
cost_center: string;
|
|
562
606
|
page_break: number;
|
|
563
607
|
brand?: string | null | undefined;
|
|
564
608
|
item_tax_template?: string | null | undefined;
|
|
565
609
|
so_detail?: string | null | undefined;
|
|
566
610
|
dn_detail?: string | null | undefined;
|
|
611
|
+
project?: string | null | undefined;
|
|
567
612
|
barcode?: string | null | undefined;
|
|
568
613
|
customer_item_code?: string | null | undefined;
|
|
569
614
|
pricing_rules?: string | null | undefined;
|
|
@@ -575,7 +620,6 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
575
620
|
pick_list_item?: string | null | undefined;
|
|
576
621
|
batch_no?: string | null | undefined;
|
|
577
622
|
serial_no?: string | null | undefined;
|
|
578
|
-
project?: string | null | undefined;
|
|
579
623
|
order_item_id?: string | null | undefined;
|
|
580
624
|
__unsaved?: number | null | undefined;
|
|
581
625
|
}[];
|
|
@@ -619,7 +663,21 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
619
663
|
commission_rate: number;
|
|
620
664
|
total_commission: number;
|
|
621
665
|
packed_items: string[];
|
|
622
|
-
taxes:
|
|
666
|
+
taxes: {
|
|
667
|
+
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
668
|
+
account_head: string;
|
|
669
|
+
included_in_print_rate: 0 | 1;
|
|
670
|
+
description?: string | undefined;
|
|
671
|
+
account_currency?: string | undefined;
|
|
672
|
+
rate?: number | undefined;
|
|
673
|
+
base_total?: number | undefined;
|
|
674
|
+
total?: number | undefined;
|
|
675
|
+
cost_center?: string | undefined;
|
|
676
|
+
project?: string | undefined;
|
|
677
|
+
base_tax_amount?: number | undefined;
|
|
678
|
+
tax_amount?: number | undefined;
|
|
679
|
+
tax_amount_after_discount_amount?: number | undefined;
|
|
680
|
+
}[];
|
|
623
681
|
sales_team: string[];
|
|
624
682
|
dispatch_address_name?: string | null | undefined;
|
|
625
683
|
dispatch_address?: string | null | undefined;
|
|
@@ -702,6 +760,7 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
702
760
|
weight_per_unit: number;
|
|
703
761
|
total_weight: number;
|
|
704
762
|
weight_uom: string;
|
|
763
|
+
cost_center: string;
|
|
705
764
|
item_group: string;
|
|
706
765
|
stock_uom: string;
|
|
707
766
|
uom: string;
|
|
@@ -728,12 +787,12 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
728
787
|
item_tax_rate: string;
|
|
729
788
|
expense_account: string;
|
|
730
789
|
allow_zero_valuation_rate: number;
|
|
731
|
-
cost_center: string;
|
|
732
790
|
page_break: number;
|
|
733
791
|
brand?: string | null | undefined;
|
|
734
792
|
item_tax_template?: string | null | undefined;
|
|
735
793
|
so_detail?: string | null | undefined;
|
|
736
794
|
dn_detail?: string | null | undefined;
|
|
795
|
+
project?: string | null | undefined;
|
|
737
796
|
barcode?: string | null | undefined;
|
|
738
797
|
customer_item_code?: string | null | undefined;
|
|
739
798
|
pricing_rules?: string | null | undefined;
|
|
@@ -745,7 +804,6 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
745
804
|
pick_list_item?: string | null | undefined;
|
|
746
805
|
batch_no?: string | null | undefined;
|
|
747
806
|
serial_no?: string | null | undefined;
|
|
748
|
-
project?: string | null | undefined;
|
|
749
807
|
order_item_id?: string | null | undefined;
|
|
750
808
|
__unsaved?: number | null | undefined;
|
|
751
809
|
}[];
|
|
@@ -788,7 +846,21 @@ export declare const DeliveryNote: z.ZodObject<{
|
|
|
788
846
|
commission_rate: number;
|
|
789
847
|
total_commission: number;
|
|
790
848
|
packed_items: string[];
|
|
791
|
-
taxes:
|
|
849
|
+
taxes: {
|
|
850
|
+
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
851
|
+
account_head: string;
|
|
852
|
+
description?: string | undefined;
|
|
853
|
+
account_currency?: string | undefined;
|
|
854
|
+
rate?: number | undefined;
|
|
855
|
+
base_total?: number | undefined;
|
|
856
|
+
total?: number | undefined;
|
|
857
|
+
included_in_print_rate?: unknown;
|
|
858
|
+
cost_center?: string | undefined;
|
|
859
|
+
project?: string | undefined;
|
|
860
|
+
base_tax_amount?: number | undefined;
|
|
861
|
+
tax_amount?: number | undefined;
|
|
862
|
+
tax_amount_after_discount_amount?: number | undefined;
|
|
863
|
+
}[];
|
|
792
864
|
sales_team: string[];
|
|
793
865
|
dispatch_address_name?: string | null | undefined;
|
|
794
866
|
dispatch_address?: string | null | undefined;
|
|
@@ -4,6 +4,7 @@ exports.DeliveryNote = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const Boolean_1 = require("./Boolean");
|
|
6
6
|
const zodContextOptionals_1 = require("../../utils/zodContextOptionals");
|
|
7
|
+
const SalesTaxesAndCharges_1 = require("./SalesTaxesAndCharges");
|
|
7
8
|
const DeliveryNoteItem = zod_1.z
|
|
8
9
|
.object({
|
|
9
10
|
barcode: zod_1.z.string().optional().nullable(),
|
|
@@ -175,7 +176,7 @@ exports.DeliveryNote = zod_1.z
|
|
|
175
176
|
items: zod_1.z.array(DeliveryNoteItem),
|
|
176
177
|
pricing_rules: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.array(zod_1.z.string())),
|
|
177
178
|
packed_items: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.array(zod_1.z.string())),
|
|
178
|
-
taxes: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.array(
|
|
179
|
+
taxes: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.array(SalesTaxesAndCharges_1.SalesTaxesAndCharges)),
|
|
179
180
|
sales_team: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.array(zod_1.z.string())),
|
|
180
181
|
dispatch_run: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string().optional().nullable()),
|
|
181
182
|
})
|
|
@@ -75,6 +75,7 @@ declare const PurchaseInvoiceItemWithLineItemId: z.ZodObject<{
|
|
|
75
75
|
weight_per_unit?: number | null | undefined;
|
|
76
76
|
total_weight?: number | null | undefined;
|
|
77
77
|
weight_uom?: string | null | undefined;
|
|
78
|
+
cost_center?: string | null | undefined;
|
|
78
79
|
item_group?: string | null | undefined;
|
|
79
80
|
stock_uom?: string | null | undefined;
|
|
80
81
|
uom?: string | null | undefined;
|
|
@@ -93,7 +94,6 @@ declare const PurchaseInvoiceItemWithLineItemId: z.ZodObject<{
|
|
|
93
94
|
warehouse?: string | null | undefined;
|
|
94
95
|
item_tax_rate?: string | null | undefined;
|
|
95
96
|
expense_account?: string | null | undefined;
|
|
96
|
-
cost_center?: string | null | undefined;
|
|
97
97
|
page_break?: number | null | undefined;
|
|
98
98
|
__unsaved?: number | null | undefined;
|
|
99
99
|
valuation_rate?: number | null | undefined;
|
|
@@ -129,6 +129,7 @@ declare const PurchaseInvoiceItemWithLineItemId: z.ZodObject<{
|
|
|
129
129
|
weight_per_unit?: number | null | undefined;
|
|
130
130
|
total_weight?: number | null | undefined;
|
|
131
131
|
weight_uom?: string | null | undefined;
|
|
132
|
+
cost_center?: string | null | undefined;
|
|
132
133
|
item_group?: string | null | undefined;
|
|
133
134
|
stock_uom?: string | null | undefined;
|
|
134
135
|
uom?: string | null | undefined;
|
|
@@ -147,7 +148,6 @@ declare const PurchaseInvoiceItemWithLineItemId: z.ZodObject<{
|
|
|
147
148
|
warehouse?: string | null | undefined;
|
|
148
149
|
item_tax_rate?: string | null | undefined;
|
|
149
150
|
expense_account?: string | null | undefined;
|
|
150
|
-
cost_center?: string | null | undefined;
|
|
151
151
|
page_break?: number | null | undefined;
|
|
152
152
|
__unsaved?: number | null | undefined;
|
|
153
153
|
valuation_rate?: number | null | undefined;
|
|
@@ -307,6 +307,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
307
307
|
weight_per_unit?: number | null | undefined;
|
|
308
308
|
total_weight?: number | null | undefined;
|
|
309
309
|
weight_uom?: string | null | undefined;
|
|
310
|
+
cost_center?: string | null | undefined;
|
|
310
311
|
item_group?: string | null | undefined;
|
|
311
312
|
stock_uom?: string | null | undefined;
|
|
312
313
|
uom?: string | null | undefined;
|
|
@@ -325,7 +326,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
325
326
|
warehouse?: string | null | undefined;
|
|
326
327
|
item_tax_rate?: string | null | undefined;
|
|
327
328
|
expense_account?: string | null | undefined;
|
|
328
|
-
cost_center?: string | null | undefined;
|
|
329
329
|
page_break?: number | null | undefined;
|
|
330
330
|
__unsaved?: number | null | undefined;
|
|
331
331
|
valuation_rate?: number | null | undefined;
|
|
@@ -360,6 +360,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
360
360
|
weight_per_unit?: number | null | undefined;
|
|
361
361
|
total_weight?: number | null | undefined;
|
|
362
362
|
weight_uom?: string | null | undefined;
|
|
363
|
+
cost_center?: string | null | undefined;
|
|
363
364
|
item_group?: string | null | undefined;
|
|
364
365
|
stock_uom?: string | null | undefined;
|
|
365
366
|
uom?: string | null | undefined;
|
|
@@ -378,7 +379,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
378
379
|
warehouse?: string | null | undefined;
|
|
379
380
|
item_tax_rate?: string | null | undefined;
|
|
380
381
|
expense_account?: string | null | undefined;
|
|
381
|
-
cost_center?: string | null | undefined;
|
|
382
382
|
page_break?: number | null | undefined;
|
|
383
383
|
__unsaved?: number | null | undefined;
|
|
384
384
|
valuation_rate?: number | null | undefined;
|
|
@@ -423,18 +423,18 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
423
423
|
rate?: number | null | undefined;
|
|
424
424
|
base_total?: number | null | undefined;
|
|
425
425
|
total?: number | null | undefined;
|
|
426
|
+
charge_type?: string | null | undefined;
|
|
427
|
+
account_head?: string | null | undefined;
|
|
428
|
+
included_in_print_rate?: number | null | undefined;
|
|
426
429
|
cost_center?: string | null | undefined;
|
|
430
|
+
base_tax_amount?: number | null | undefined;
|
|
431
|
+
tax_amount?: number | null | undefined;
|
|
432
|
+
tax_amount_after_discount_amount?: number | null | undefined;
|
|
427
433
|
__unsaved?: number | null | undefined;
|
|
428
434
|
__islocal?: number | null | undefined;
|
|
429
435
|
category?: string | null | undefined;
|
|
430
436
|
add_deduct_tax?: string | null | undefined;
|
|
431
|
-
charge_type?: string | null | undefined;
|
|
432
|
-
included_in_print_rate?: number | null | undefined;
|
|
433
437
|
included_in_paid_amount?: number | null | undefined;
|
|
434
|
-
account_head?: string | null | undefined;
|
|
435
|
-
tax_amount?: number | null | undefined;
|
|
436
|
-
tax_amount_after_discount_amount?: number | null | undefined;
|
|
437
|
-
base_tax_amount?: number | null | undefined;
|
|
438
438
|
base_tax_amount_after_discount_amount?: number | null | undefined;
|
|
439
439
|
item_wise_tax_detail?: string | null | undefined;
|
|
440
440
|
}, {
|
|
@@ -443,18 +443,18 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
443
443
|
rate?: number | null | undefined;
|
|
444
444
|
base_total?: number | null | undefined;
|
|
445
445
|
total?: number | null | undefined;
|
|
446
|
+
charge_type?: string | null | undefined;
|
|
447
|
+
account_head?: string | null | undefined;
|
|
448
|
+
included_in_print_rate?: number | null | undefined;
|
|
446
449
|
cost_center?: string | null | undefined;
|
|
450
|
+
base_tax_amount?: number | null | undefined;
|
|
451
|
+
tax_amount?: number | null | undefined;
|
|
452
|
+
tax_amount_after_discount_amount?: number | null | undefined;
|
|
447
453
|
__unsaved?: number | null | undefined;
|
|
448
454
|
__islocal?: number | null | undefined;
|
|
449
455
|
category?: string | null | undefined;
|
|
450
456
|
add_deduct_tax?: string | null | undefined;
|
|
451
|
-
charge_type?: string | null | undefined;
|
|
452
|
-
included_in_print_rate?: number | null | undefined;
|
|
453
457
|
included_in_paid_amount?: number | null | undefined;
|
|
454
|
-
account_head?: string | null | undefined;
|
|
455
|
-
tax_amount?: number | null | undefined;
|
|
456
|
-
tax_amount_after_discount_amount?: number | null | undefined;
|
|
457
|
-
base_tax_amount?: number | null | undefined;
|
|
458
458
|
base_tax_amount_after_discount_amount?: number | null | undefined;
|
|
459
459
|
item_wise_tax_detail?: string | null | undefined;
|
|
460
460
|
}>, "many">;
|
|
@@ -520,18 +520,18 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
520
520
|
rate?: number | null | undefined;
|
|
521
521
|
base_total?: number | null | undefined;
|
|
522
522
|
total?: number | null | undefined;
|
|
523
|
+
charge_type?: string | null | undefined;
|
|
524
|
+
account_head?: string | null | undefined;
|
|
525
|
+
included_in_print_rate?: number | null | undefined;
|
|
523
526
|
cost_center?: string | null | undefined;
|
|
527
|
+
base_tax_amount?: number | null | undefined;
|
|
528
|
+
tax_amount?: number | null | undefined;
|
|
529
|
+
tax_amount_after_discount_amount?: number | null | undefined;
|
|
524
530
|
__unsaved?: number | null | undefined;
|
|
525
531
|
__islocal?: number | null | undefined;
|
|
526
532
|
category?: string | null | undefined;
|
|
527
533
|
add_deduct_tax?: string | null | undefined;
|
|
528
|
-
charge_type?: string | null | undefined;
|
|
529
|
-
included_in_print_rate?: number | null | undefined;
|
|
530
534
|
included_in_paid_amount?: number | null | undefined;
|
|
531
|
-
account_head?: string | null | undefined;
|
|
532
|
-
tax_amount?: number | null | undefined;
|
|
533
|
-
tax_amount_after_discount_amount?: number | null | undefined;
|
|
534
|
-
base_tax_amount?: number | null | undefined;
|
|
535
535
|
base_tax_amount_after_discount_amount?: number | null | undefined;
|
|
536
536
|
item_wise_tax_detail?: string | null | undefined;
|
|
537
537
|
}[];
|
|
@@ -591,6 +591,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
591
591
|
weight_per_unit?: number | null | undefined;
|
|
592
592
|
total_weight?: number | null | undefined;
|
|
593
593
|
weight_uom?: string | null | undefined;
|
|
594
|
+
cost_center?: string | null | undefined;
|
|
594
595
|
item_group?: string | null | undefined;
|
|
595
596
|
stock_uom?: string | null | undefined;
|
|
596
597
|
uom?: string | null | undefined;
|
|
@@ -609,7 +610,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
609
610
|
warehouse?: string | null | undefined;
|
|
610
611
|
item_tax_rate?: string | null | undefined;
|
|
611
612
|
expense_account?: string | null | undefined;
|
|
612
|
-
cost_center?: string | null | undefined;
|
|
613
613
|
page_break?: number | null | undefined;
|
|
614
614
|
__unsaved?: number | null | undefined;
|
|
615
615
|
valuation_rate?: number | null | undefined;
|
|
@@ -691,18 +691,18 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
691
691
|
rate?: number | null | undefined;
|
|
692
692
|
base_total?: number | null | undefined;
|
|
693
693
|
total?: number | null | undefined;
|
|
694
|
+
charge_type?: string | null | undefined;
|
|
695
|
+
account_head?: string | null | undefined;
|
|
696
|
+
included_in_print_rate?: number | null | undefined;
|
|
694
697
|
cost_center?: string | null | undefined;
|
|
698
|
+
base_tax_amount?: number | null | undefined;
|
|
699
|
+
tax_amount?: number | null | undefined;
|
|
700
|
+
tax_amount_after_discount_amount?: number | null | undefined;
|
|
695
701
|
__unsaved?: number | null | undefined;
|
|
696
702
|
__islocal?: number | null | undefined;
|
|
697
703
|
category?: string | null | undefined;
|
|
698
704
|
add_deduct_tax?: string | null | undefined;
|
|
699
|
-
charge_type?: string | null | undefined;
|
|
700
|
-
included_in_print_rate?: number | null | undefined;
|
|
701
705
|
included_in_paid_amount?: number | null | undefined;
|
|
702
|
-
account_head?: string | null | undefined;
|
|
703
|
-
tax_amount?: number | null | undefined;
|
|
704
|
-
tax_amount_after_discount_amount?: number | null | undefined;
|
|
705
|
-
base_tax_amount?: number | null | undefined;
|
|
706
706
|
base_tax_amount_after_discount_amount?: number | null | undefined;
|
|
707
707
|
item_wise_tax_detail?: string | null | undefined;
|
|
708
708
|
}[];
|
|
@@ -762,6 +762,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
762
762
|
weight_per_unit?: number | null | undefined;
|
|
763
763
|
total_weight?: number | null | undefined;
|
|
764
764
|
weight_uom?: string | null | undefined;
|
|
765
|
+
cost_center?: string | null | undefined;
|
|
765
766
|
item_group?: string | null | undefined;
|
|
766
767
|
stock_uom?: string | null | undefined;
|
|
767
768
|
uom?: string | null | undefined;
|
|
@@ -780,7 +781,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
|
|
|
780
781
|
warehouse?: string | null | undefined;
|
|
781
782
|
item_tax_rate?: string | null | undefined;
|
|
782
783
|
expense_account?: string | null | undefined;
|
|
783
|
-
cost_center?: string | null | undefined;
|
|
784
784
|
page_break?: number | null | undefined;
|
|
785
785
|
__unsaved?: number | null | undefined;
|
|
786
786
|
valuation_rate?: number | null | undefined;
|
|
@@ -1027,6 +1027,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1027
1027
|
weight_per_unit?: number | null | undefined;
|
|
1028
1028
|
total_weight?: number | null | undefined;
|
|
1029
1029
|
weight_uom?: string | null | undefined;
|
|
1030
|
+
cost_center?: string | null | undefined;
|
|
1030
1031
|
item_group?: string | null | undefined;
|
|
1031
1032
|
stock_uom?: string | null | undefined;
|
|
1032
1033
|
uom?: string | null | undefined;
|
|
@@ -1045,7 +1046,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1045
1046
|
warehouse?: string | null | undefined;
|
|
1046
1047
|
item_tax_rate?: string | null | undefined;
|
|
1047
1048
|
expense_account?: string | null | undefined;
|
|
1048
|
-
cost_center?: string | null | undefined;
|
|
1049
1049
|
page_break?: number | null | undefined;
|
|
1050
1050
|
__unsaved?: number | null | undefined;
|
|
1051
1051
|
valuation_rate?: number | null | undefined;
|
|
@@ -1092,6 +1092,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1092
1092
|
weight_per_unit?: number | null | undefined;
|
|
1093
1093
|
total_weight?: number | null | undefined;
|
|
1094
1094
|
weight_uom?: string | null | undefined;
|
|
1095
|
+
cost_center?: string | null | undefined;
|
|
1095
1096
|
item_group?: string | null | undefined;
|
|
1096
1097
|
stock_uom?: string | null | undefined;
|
|
1097
1098
|
uom?: string | null | undefined;
|
|
@@ -1110,7 +1111,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1110
1111
|
warehouse?: string | null | undefined;
|
|
1111
1112
|
item_tax_rate?: string | null | undefined;
|
|
1112
1113
|
expense_account?: string | null | undefined;
|
|
1113
|
-
cost_center?: string | null | undefined;
|
|
1114
1114
|
page_break?: number | null | undefined;
|
|
1115
1115
|
__unsaved?: number | null | undefined;
|
|
1116
1116
|
valuation_rate?: number | null | undefined;
|
|
@@ -1183,18 +1183,18 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1183
1183
|
rate?: number | null | undefined;
|
|
1184
1184
|
base_total?: number | null | undefined;
|
|
1185
1185
|
total?: number | null | undefined;
|
|
1186
|
+
charge_type?: string | null | undefined;
|
|
1187
|
+
account_head?: string | null | undefined;
|
|
1188
|
+
included_in_print_rate?: number | null | undefined;
|
|
1186
1189
|
cost_center?: string | null | undefined;
|
|
1190
|
+
base_tax_amount?: number | null | undefined;
|
|
1191
|
+
tax_amount?: number | null | undefined;
|
|
1192
|
+
tax_amount_after_discount_amount?: number | null | undefined;
|
|
1187
1193
|
__unsaved?: number | null | undefined;
|
|
1188
1194
|
__islocal?: number | null | undefined;
|
|
1189
1195
|
category?: string | null | undefined;
|
|
1190
1196
|
add_deduct_tax?: string | null | undefined;
|
|
1191
|
-
charge_type?: string | null | undefined;
|
|
1192
|
-
included_in_print_rate?: number | null | undefined;
|
|
1193
1197
|
included_in_paid_amount?: number | null | undefined;
|
|
1194
|
-
account_head?: string | null | undefined;
|
|
1195
|
-
tax_amount?: number | null | undefined;
|
|
1196
|
-
tax_amount_after_discount_amount?: number | null | undefined;
|
|
1197
|
-
base_tax_amount?: number | null | undefined;
|
|
1198
1198
|
base_tax_amount_after_discount_amount?: number | null | undefined;
|
|
1199
1199
|
item_wise_tax_detail?: string | null | undefined;
|
|
1200
1200
|
}, {
|
|
@@ -1215,18 +1215,18 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1215
1215
|
rate?: number | null | undefined;
|
|
1216
1216
|
base_total?: number | null | undefined;
|
|
1217
1217
|
total?: number | null | undefined;
|
|
1218
|
+
charge_type?: string | null | undefined;
|
|
1219
|
+
account_head?: string | null | undefined;
|
|
1220
|
+
included_in_print_rate?: number | null | undefined;
|
|
1218
1221
|
cost_center?: string | null | undefined;
|
|
1222
|
+
base_tax_amount?: number | null | undefined;
|
|
1223
|
+
tax_amount?: number | null | undefined;
|
|
1224
|
+
tax_amount_after_discount_amount?: number | null | undefined;
|
|
1219
1225
|
__unsaved?: number | null | undefined;
|
|
1220
1226
|
__islocal?: number | null | undefined;
|
|
1221
1227
|
category?: string | null | undefined;
|
|
1222
1228
|
add_deduct_tax?: string | null | undefined;
|
|
1223
|
-
charge_type?: string | null | undefined;
|
|
1224
|
-
included_in_print_rate?: number | null | undefined;
|
|
1225
1229
|
included_in_paid_amount?: number | null | undefined;
|
|
1226
|
-
account_head?: string | null | undefined;
|
|
1227
|
-
tax_amount?: number | null | undefined;
|
|
1228
|
-
tax_amount_after_discount_amount?: number | null | undefined;
|
|
1229
|
-
base_tax_amount?: number | null | undefined;
|
|
1230
1230
|
base_tax_amount_after_discount_amount?: number | null | undefined;
|
|
1231
1231
|
item_wise_tax_detail?: string | null | undefined;
|
|
1232
1232
|
}>, "many">;
|
|
@@ -1363,18 +1363,18 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1363
1363
|
rate?: number | null | undefined;
|
|
1364
1364
|
base_total?: number | null | undefined;
|
|
1365
1365
|
total?: number | null | undefined;
|
|
1366
|
+
charge_type?: string | null | undefined;
|
|
1367
|
+
account_head?: string | null | undefined;
|
|
1368
|
+
included_in_print_rate?: number | null | undefined;
|
|
1366
1369
|
cost_center?: string | null | undefined;
|
|
1370
|
+
base_tax_amount?: number | null | undefined;
|
|
1371
|
+
tax_amount?: number | null | undefined;
|
|
1372
|
+
tax_amount_after_discount_amount?: number | null | undefined;
|
|
1367
1373
|
__unsaved?: number | null | undefined;
|
|
1368
1374
|
__islocal?: number | null | undefined;
|
|
1369
1375
|
category?: string | null | undefined;
|
|
1370
1376
|
add_deduct_tax?: string | null | undefined;
|
|
1371
|
-
charge_type?: string | null | undefined;
|
|
1372
|
-
included_in_print_rate?: number | null | undefined;
|
|
1373
1377
|
included_in_paid_amount?: number | null | undefined;
|
|
1374
|
-
account_head?: string | null | undefined;
|
|
1375
|
-
tax_amount?: number | null | undefined;
|
|
1376
|
-
tax_amount_after_discount_amount?: number | null | undefined;
|
|
1377
|
-
base_tax_amount?: number | null | undefined;
|
|
1378
1378
|
base_tax_amount_after_discount_amount?: number | null | undefined;
|
|
1379
1379
|
item_wise_tax_detail?: string | null | undefined;
|
|
1380
1380
|
}[];
|
|
@@ -1459,6 +1459,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1459
1459
|
weight_per_unit?: number | null | undefined;
|
|
1460
1460
|
total_weight?: number | null | undefined;
|
|
1461
1461
|
weight_uom?: string | null | undefined;
|
|
1462
|
+
cost_center?: string | null | undefined;
|
|
1462
1463
|
item_group?: string | null | undefined;
|
|
1463
1464
|
stock_uom?: string | null | undefined;
|
|
1464
1465
|
uom?: string | null | undefined;
|
|
@@ -1477,7 +1478,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1477
1478
|
warehouse?: string | null | undefined;
|
|
1478
1479
|
item_tax_rate?: string | null | undefined;
|
|
1479
1480
|
expense_account?: string | null | undefined;
|
|
1480
|
-
cost_center?: string | null | undefined;
|
|
1481
1481
|
page_break?: number | null | undefined;
|
|
1482
1482
|
__unsaved?: number | null | undefined;
|
|
1483
1483
|
valuation_rate?: number | null | undefined;
|
|
@@ -1577,18 +1577,18 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1577
1577
|
rate?: number | null | undefined;
|
|
1578
1578
|
base_total?: number | null | undefined;
|
|
1579
1579
|
total?: number | null | undefined;
|
|
1580
|
+
charge_type?: string | null | undefined;
|
|
1581
|
+
account_head?: string | null | undefined;
|
|
1582
|
+
included_in_print_rate?: number | null | undefined;
|
|
1580
1583
|
cost_center?: string | null | undefined;
|
|
1584
|
+
base_tax_amount?: number | null | undefined;
|
|
1585
|
+
tax_amount?: number | null | undefined;
|
|
1586
|
+
tax_amount_after_discount_amount?: number | null | undefined;
|
|
1581
1587
|
__unsaved?: number | null | undefined;
|
|
1582
1588
|
__islocal?: number | null | undefined;
|
|
1583
1589
|
category?: string | null | undefined;
|
|
1584
1590
|
add_deduct_tax?: string | null | undefined;
|
|
1585
|
-
charge_type?: string | null | undefined;
|
|
1586
|
-
included_in_print_rate?: number | null | undefined;
|
|
1587
1591
|
included_in_paid_amount?: number | null | undefined;
|
|
1588
|
-
account_head?: string | null | undefined;
|
|
1589
|
-
tax_amount?: number | null | undefined;
|
|
1590
|
-
tax_amount_after_discount_amount?: number | null | undefined;
|
|
1591
|
-
base_tax_amount?: number | null | undefined;
|
|
1592
1592
|
base_tax_amount_after_discount_amount?: number | null | undefined;
|
|
1593
1593
|
item_wise_tax_detail?: string | null | undefined;
|
|
1594
1594
|
}[];
|
|
@@ -1674,6 +1674,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1674
1674
|
weight_per_unit?: number | null | undefined;
|
|
1675
1675
|
total_weight?: number | null | undefined;
|
|
1676
1676
|
weight_uom?: string | null | undefined;
|
|
1677
|
+
cost_center?: string | null | undefined;
|
|
1677
1678
|
item_group?: string | null | undefined;
|
|
1678
1679
|
stock_uom?: string | null | undefined;
|
|
1679
1680
|
uom?: string | null | undefined;
|
|
@@ -1692,7 +1693,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1692
1693
|
warehouse?: string | null | undefined;
|
|
1693
1694
|
item_tax_rate?: string | null | undefined;
|
|
1694
1695
|
expense_account?: string | null | undefined;
|
|
1695
|
-
cost_center?: string | null | undefined;
|
|
1696
1696
|
page_break?: number | null | undefined;
|
|
1697
1697
|
__unsaved?: number | null | undefined;
|
|
1698
1698
|
valuation_rate?: number | null | undefined;
|
|
@@ -209,6 +209,8 @@ export declare const PurchaseOrder: z.ZodObject<{
|
|
|
209
209
|
total_weight?: number | null | undefined;
|
|
210
210
|
weight_uom?: string | null | undefined;
|
|
211
211
|
sales_order?: any;
|
|
212
|
+
cost_center?: string | null | undefined;
|
|
213
|
+
project?: any;
|
|
212
214
|
item_group?: string | null | undefined;
|
|
213
215
|
stock_qty?: number | null | undefined;
|
|
214
216
|
returned_qty?: number | null | undefined;
|
|
@@ -228,8 +230,6 @@ export declare const PurchaseOrder: z.ZodObject<{
|
|
|
228
230
|
actual_qty?: number | null | undefined;
|
|
229
231
|
item_tax_rate?: string | null | undefined;
|
|
230
232
|
expense_account?: string | null | undefined;
|
|
231
|
-
cost_center?: string | null | undefined;
|
|
232
|
-
project?: any;
|
|
233
233
|
page_break?: number | null | undefined;
|
|
234
234
|
__unsaved?: number | null | undefined;
|
|
235
235
|
supplier_part_no?: any;
|
|
@@ -280,6 +280,8 @@ export declare const PurchaseOrder: z.ZodObject<{
|
|
|
280
280
|
total_weight?: number | null | undefined;
|
|
281
281
|
weight_uom?: string | null | undefined;
|
|
282
282
|
sales_order?: any;
|
|
283
|
+
cost_center?: string | null | undefined;
|
|
284
|
+
project?: any;
|
|
283
285
|
item_group?: string | null | undefined;
|
|
284
286
|
stock_qty?: number | null | undefined;
|
|
285
287
|
returned_qty?: number | null | undefined;
|
|
@@ -299,8 +301,6 @@ export declare const PurchaseOrder: z.ZodObject<{
|
|
|
299
301
|
actual_qty?: number | null | undefined;
|
|
300
302
|
item_tax_rate?: string | null | undefined;
|
|
301
303
|
expense_account?: string | null | undefined;
|
|
302
|
-
cost_center?: string | null | undefined;
|
|
303
|
-
project?: any;
|
|
304
304
|
page_break?: number | null | undefined;
|
|
305
305
|
__unsaved?: number | null | undefined;
|
|
306
306
|
supplier_part_no?: any;
|
|
@@ -409,6 +409,8 @@ export declare const PurchaseOrder: z.ZodObject<{
|
|
|
409
409
|
total_weight?: number | null | undefined;
|
|
410
410
|
weight_uom?: string | null | undefined;
|
|
411
411
|
sales_order?: any;
|
|
412
|
+
cost_center?: string | null | undefined;
|
|
413
|
+
project?: any;
|
|
412
414
|
item_group?: string | null | undefined;
|
|
413
415
|
stock_qty?: number | null | undefined;
|
|
414
416
|
returned_qty?: number | null | undefined;
|
|
@@ -428,8 +430,6 @@ export declare const PurchaseOrder: z.ZodObject<{
|
|
|
428
430
|
actual_qty?: number | null | undefined;
|
|
429
431
|
item_tax_rate?: string | null | undefined;
|
|
430
432
|
expense_account?: string | null | undefined;
|
|
431
|
-
cost_center?: string | null | undefined;
|
|
432
|
-
project?: any;
|
|
433
433
|
page_break?: number | null | undefined;
|
|
434
434
|
__unsaved?: number | null | undefined;
|
|
435
435
|
supplier_part_no?: any;
|
|
@@ -492,9 +492,9 @@ export declare const PurchaseOrder: z.ZodObject<{
|
|
|
492
492
|
base_net_total?: number | null | undefined;
|
|
493
493
|
total?: number | null | undefined;
|
|
494
494
|
net_total?: number | null | undefined;
|
|
495
|
-
discount_amount?: number | null | undefined;
|
|
496
495
|
cost_center?: any;
|
|
497
496
|
project?: any;
|
|
497
|
+
discount_amount?: number | null | undefined;
|
|
498
498
|
title?: string | null | undefined;
|
|
499
499
|
customer_name?: any;
|
|
500
500
|
shipping_address?: string | null | undefined;
|
|
@@ -591,6 +591,8 @@ export declare const PurchaseOrder: z.ZodObject<{
|
|
|
591
591
|
total_weight?: number | null | undefined;
|
|
592
592
|
weight_uom?: string | null | undefined;
|
|
593
593
|
sales_order?: any;
|
|
594
|
+
cost_center?: string | null | undefined;
|
|
595
|
+
project?: any;
|
|
594
596
|
item_group?: string | null | undefined;
|
|
595
597
|
stock_qty?: number | null | undefined;
|
|
596
598
|
returned_qty?: number | null | undefined;
|
|
@@ -610,8 +612,6 @@ export declare const PurchaseOrder: z.ZodObject<{
|
|
|
610
612
|
actual_qty?: number | null | undefined;
|
|
611
613
|
item_tax_rate?: string | null | undefined;
|
|
612
614
|
expense_account?: string | null | undefined;
|
|
613
|
-
cost_center?: string | null | undefined;
|
|
614
|
-
project?: any;
|
|
615
615
|
page_break?: number | null | undefined;
|
|
616
616
|
__unsaved?: number | null | undefined;
|
|
617
617
|
supplier_part_no?: any;
|
|
@@ -674,9 +674,9 @@ export declare const PurchaseOrder: z.ZodObject<{
|
|
|
674
674
|
base_net_total?: number | null | undefined;
|
|
675
675
|
total?: number | null | undefined;
|
|
676
676
|
net_total?: number | null | undefined;
|
|
677
|
-
discount_amount?: number | null | undefined;
|
|
678
677
|
cost_center?: any;
|
|
679
678
|
project?: any;
|
|
679
|
+
discount_amount?: number | null | undefined;
|
|
680
680
|
title?: string | null | undefined;
|
|
681
681
|
customer_name?: any;
|
|
682
682
|
shipping_address?: string | null | undefined;
|