erpnext-queue-client 2.5.22 → 2.5.23
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/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
|
@@ -130,6 +130,8 @@ export declare const SalesInvoiceItem: z.ZodObject<{
|
|
|
130
130
|
sales_invoice_item?: string | null | undefined;
|
|
131
131
|
delivery_note?: string | null | undefined;
|
|
132
132
|
dn_detail?: string | null | undefined;
|
|
133
|
+
cost_center?: string | null | undefined;
|
|
134
|
+
project?: string | null | undefined;
|
|
133
135
|
barcode?: string | null | undefined;
|
|
134
136
|
customer_item_code?: string | null | undefined;
|
|
135
137
|
item_group?: string | null | undefined;
|
|
@@ -156,8 +158,6 @@ export declare const SalesInvoiceItem: z.ZodObject<{
|
|
|
156
158
|
actual_qty?: number | null | undefined;
|
|
157
159
|
item_tax_rate?: string | null | undefined;
|
|
158
160
|
expense_account?: string | null | undefined;
|
|
159
|
-
cost_center?: string | null | undefined;
|
|
160
|
-
project?: string | null | undefined;
|
|
161
161
|
purchase_order?: string | null | undefined;
|
|
162
162
|
purchase_order_item?: string | null | undefined;
|
|
163
163
|
delivered_qty?: number | null | undefined;
|
|
@@ -196,6 +196,8 @@ export declare const SalesInvoiceItem: z.ZodObject<{
|
|
|
196
196
|
sales_invoice_item?: string | null | undefined;
|
|
197
197
|
delivery_note?: string | null | undefined;
|
|
198
198
|
dn_detail?: string | null | undefined;
|
|
199
|
+
cost_center?: string | null | undefined;
|
|
200
|
+
project?: string | null | undefined;
|
|
199
201
|
barcode?: string | null | undefined;
|
|
200
202
|
customer_item_code?: string | null | undefined;
|
|
201
203
|
item_group?: string | null | undefined;
|
|
@@ -225,8 +227,6 @@ export declare const SalesInvoiceItem: z.ZodObject<{
|
|
|
225
227
|
item_tax_rate?: string | null | undefined;
|
|
226
228
|
expense_account?: string | null | undefined;
|
|
227
229
|
allow_zero_valuation_rate?: unknown;
|
|
228
|
-
cost_center?: string | null | undefined;
|
|
229
|
-
project?: string | null | undefined;
|
|
230
230
|
page_break?: unknown;
|
|
231
231
|
is_fixed_asset?: unknown;
|
|
232
232
|
enable_deferred_revenue?: unknown;
|
|
@@ -488,6 +488,8 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
488
488
|
sales_invoice_item?: string | null | undefined;
|
|
489
489
|
delivery_note?: string | null | undefined;
|
|
490
490
|
dn_detail?: string | null | undefined;
|
|
491
|
+
cost_center?: string | null | undefined;
|
|
492
|
+
project?: string | null | undefined;
|
|
491
493
|
barcode?: string | null | undefined;
|
|
492
494
|
customer_item_code?: string | null | undefined;
|
|
493
495
|
item_group?: string | null | undefined;
|
|
@@ -514,8 +516,6 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
514
516
|
actual_qty?: number | null | undefined;
|
|
515
517
|
item_tax_rate?: string | null | undefined;
|
|
516
518
|
expense_account?: string | null | undefined;
|
|
517
|
-
cost_center?: string | null | undefined;
|
|
518
|
-
project?: string | null | undefined;
|
|
519
519
|
purchase_order?: string | null | undefined;
|
|
520
520
|
purchase_order_item?: string | null | undefined;
|
|
521
521
|
delivered_qty?: number | null | undefined;
|
|
@@ -554,6 +554,8 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
554
554
|
sales_invoice_item?: string | null | undefined;
|
|
555
555
|
delivery_note?: string | null | undefined;
|
|
556
556
|
dn_detail?: string | null | undefined;
|
|
557
|
+
cost_center?: string | null | undefined;
|
|
558
|
+
project?: string | null | undefined;
|
|
557
559
|
barcode?: string | null | undefined;
|
|
558
560
|
customer_item_code?: string | null | undefined;
|
|
559
561
|
item_group?: string | null | undefined;
|
|
@@ -583,8 +585,6 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
583
585
|
item_tax_rate?: string | null | undefined;
|
|
584
586
|
expense_account?: string | null | undefined;
|
|
585
587
|
allow_zero_valuation_rate?: unknown;
|
|
586
|
-
cost_center?: string | null | undefined;
|
|
587
|
-
project?: string | null | undefined;
|
|
588
588
|
page_break?: unknown;
|
|
589
589
|
is_fixed_asset?: unknown;
|
|
590
590
|
enable_deferred_revenue?: unknown;
|
|
@@ -631,8 +631,8 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
631
631
|
tax_amount_after_discount_amount: z.ZodOptional<z.ZodNumber>;
|
|
632
632
|
}, "strip", z.ZodTypeAny, {
|
|
633
633
|
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
634
|
-
included_in_print_rate: 0 | 1;
|
|
635
634
|
account_head: string;
|
|
635
|
+
included_in_print_rate: 0 | 1;
|
|
636
636
|
description?: string | undefined;
|
|
637
637
|
account_currency?: string | undefined;
|
|
638
638
|
rate?: number | undefined;
|
|
@@ -640,9 +640,9 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
640
640
|
total?: number | undefined;
|
|
641
641
|
cost_center?: string | undefined;
|
|
642
642
|
project?: string | undefined;
|
|
643
|
+
base_tax_amount?: number | undefined;
|
|
643
644
|
tax_amount?: number | undefined;
|
|
644
645
|
tax_amount_after_discount_amount?: number | undefined;
|
|
645
|
-
base_tax_amount?: number | undefined;
|
|
646
646
|
}, {
|
|
647
647
|
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
648
648
|
account_head: string;
|
|
@@ -651,12 +651,12 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
651
651
|
rate?: number | undefined;
|
|
652
652
|
base_total?: number | undefined;
|
|
653
653
|
total?: number | undefined;
|
|
654
|
+
included_in_print_rate?: unknown;
|
|
654
655
|
cost_center?: string | undefined;
|
|
655
656
|
project?: string | undefined;
|
|
656
|
-
|
|
657
|
+
base_tax_amount?: number | undefined;
|
|
657
658
|
tax_amount?: number | undefined;
|
|
658
659
|
tax_amount_after_discount_amount?: number | undefined;
|
|
659
|
-
base_tax_amount?: number | undefined;
|
|
660
660
|
}>, "many">>>;
|
|
661
661
|
base_total_taxes_and_charges: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
662
662
|
total_taxes_and_charges: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -879,6 +879,8 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
879
879
|
sales_invoice_item?: string | null | undefined;
|
|
880
880
|
delivery_note?: string | null | undefined;
|
|
881
881
|
dn_detail?: string | null | undefined;
|
|
882
|
+
cost_center?: string | null | undefined;
|
|
883
|
+
project?: string | null | undefined;
|
|
882
884
|
barcode?: string | null | undefined;
|
|
883
885
|
customer_item_code?: string | null | undefined;
|
|
884
886
|
item_group?: string | null | undefined;
|
|
@@ -905,8 +907,6 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
905
907
|
actual_qty?: number | null | undefined;
|
|
906
908
|
item_tax_rate?: string | null | undefined;
|
|
907
909
|
expense_account?: string | null | undefined;
|
|
908
|
-
cost_center?: string | null | undefined;
|
|
909
|
-
project?: string | null | undefined;
|
|
910
910
|
purchase_order?: string | null | undefined;
|
|
911
911
|
purchase_order_item?: string | null | undefined;
|
|
912
912
|
delivered_qty?: number | null | undefined;
|
|
@@ -962,10 +962,10 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
962
962
|
dispatch_address_name?: string | null | undefined;
|
|
963
963
|
dispatch_address?: string | null | undefined;
|
|
964
964
|
tax_id?: string | null | undefined;
|
|
965
|
-
discount_amount?: number | null | undefined;
|
|
966
|
-
pricing_rules?: any[] | null | undefined;
|
|
967
965
|
cost_center?: string | null | undefined;
|
|
968
966
|
project?: string | null | undefined;
|
|
967
|
+
discount_amount?: number | null | undefined;
|
|
968
|
+
pricing_rules?: any[] | null | undefined;
|
|
969
969
|
title?: string | null | undefined;
|
|
970
970
|
customer_name?: string | null | undefined;
|
|
971
971
|
return_against?: string | null | undefined;
|
|
@@ -1019,8 +1019,8 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
1019
1019
|
packed_items?: any[] | null | undefined;
|
|
1020
1020
|
taxes?: {
|
|
1021
1021
|
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
1022
|
-
included_in_print_rate: 0 | 1;
|
|
1023
1022
|
account_head: string;
|
|
1023
|
+
included_in_print_rate: 0 | 1;
|
|
1024
1024
|
description?: string | undefined;
|
|
1025
1025
|
account_currency?: string | undefined;
|
|
1026
1026
|
rate?: number | undefined;
|
|
@@ -1028,9 +1028,9 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
1028
1028
|
total?: number | undefined;
|
|
1029
1029
|
cost_center?: string | undefined;
|
|
1030
1030
|
project?: string | undefined;
|
|
1031
|
+
base_tax_amount?: number | undefined;
|
|
1031
1032
|
tax_amount?: number | undefined;
|
|
1032
1033
|
tax_amount_after_discount_amount?: number | undefined;
|
|
1033
|
-
base_tax_amount?: number | undefined;
|
|
1034
1034
|
}[] | null | undefined;
|
|
1035
1035
|
sales_team?: any[] | null | undefined;
|
|
1036
1036
|
outstanding_amount?: number | null | undefined;
|
|
@@ -1118,6 +1118,8 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
1118
1118
|
sales_invoice_item?: string | null | undefined;
|
|
1119
1119
|
delivery_note?: string | null | undefined;
|
|
1120
1120
|
dn_detail?: string | null | undefined;
|
|
1121
|
+
cost_center?: string | null | undefined;
|
|
1122
|
+
project?: string | null | undefined;
|
|
1121
1123
|
barcode?: string | null | undefined;
|
|
1122
1124
|
customer_item_code?: string | null | undefined;
|
|
1123
1125
|
item_group?: string | null | undefined;
|
|
@@ -1147,8 +1149,6 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
1147
1149
|
item_tax_rate?: string | null | undefined;
|
|
1148
1150
|
expense_account?: string | null | undefined;
|
|
1149
1151
|
allow_zero_valuation_rate?: unknown;
|
|
1150
|
-
cost_center?: string | null | undefined;
|
|
1151
|
-
project?: string | null | undefined;
|
|
1152
1152
|
page_break?: unknown;
|
|
1153
1153
|
is_fixed_asset?: unknown;
|
|
1154
1154
|
enable_deferred_revenue?: unknown;
|
|
@@ -1187,10 +1187,10 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
1187
1187
|
dispatch_address_name?: string | null | undefined;
|
|
1188
1188
|
dispatch_address?: string | null | undefined;
|
|
1189
1189
|
tax_id?: string | null | undefined;
|
|
1190
|
-
discount_amount?: number | null | undefined;
|
|
1191
|
-
pricing_rules?: any[] | null | undefined;
|
|
1192
1190
|
cost_center?: string | null | undefined;
|
|
1193
1191
|
project?: string | null | undefined;
|
|
1192
|
+
discount_amount?: number | null | undefined;
|
|
1193
|
+
pricing_rules?: any[] | null | undefined;
|
|
1194
1194
|
title?: string | null | undefined;
|
|
1195
1195
|
customer_name?: string | null | undefined;
|
|
1196
1196
|
is_return?: unknown;
|
|
@@ -1258,12 +1258,12 @@ export declare const SalesInvoice: z.ZodObject<{
|
|
|
1258
1258
|
rate?: number | undefined;
|
|
1259
1259
|
base_total?: number | undefined;
|
|
1260
1260
|
total?: number | undefined;
|
|
1261
|
+
included_in_print_rate?: unknown;
|
|
1261
1262
|
cost_center?: string | undefined;
|
|
1262
1263
|
project?: string | undefined;
|
|
1263
|
-
|
|
1264
|
+
base_tax_amount?: number | undefined;
|
|
1264
1265
|
tax_amount?: number | undefined;
|
|
1265
1266
|
tax_amount_after_discount_amount?: number | undefined;
|
|
1266
|
-
base_tax_amount?: number | undefined;
|
|
1267
1267
|
}[] | null | undefined;
|
|
1268
1268
|
sales_team?: any[] | null | undefined;
|
|
1269
1269
|
outstanding_amount?: number | null | undefined;
|
|
@@ -1561,6 +1561,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1561
1561
|
sales_invoice_item?: string | null | undefined;
|
|
1562
1562
|
delivery_note?: string | null | undefined;
|
|
1563
1563
|
dn_detail?: string | null | undefined;
|
|
1564
|
+
cost_center?: string | null | undefined;
|
|
1565
|
+
project?: string | null | undefined;
|
|
1564
1566
|
barcode?: string | null | undefined;
|
|
1565
1567
|
customer_item_code?: string | null | undefined;
|
|
1566
1568
|
item_group?: string | null | undefined;
|
|
@@ -1587,8 +1589,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1587
1589
|
actual_qty?: number | null | undefined;
|
|
1588
1590
|
item_tax_rate?: string | null | undefined;
|
|
1589
1591
|
expense_account?: string | null | undefined;
|
|
1590
|
-
cost_center?: string | null | undefined;
|
|
1591
|
-
project?: string | null | undefined;
|
|
1592
1592
|
purchase_order?: string | null | undefined;
|
|
1593
1593
|
purchase_order_item?: string | null | undefined;
|
|
1594
1594
|
delivered_qty?: number | null | undefined;
|
|
@@ -1639,6 +1639,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1639
1639
|
sales_invoice_item?: string | null | undefined;
|
|
1640
1640
|
delivery_note?: string | null | undefined;
|
|
1641
1641
|
dn_detail?: string | null | undefined;
|
|
1642
|
+
cost_center?: string | null | undefined;
|
|
1643
|
+
project?: string | null | undefined;
|
|
1642
1644
|
barcode?: string | null | undefined;
|
|
1643
1645
|
customer_item_code?: string | null | undefined;
|
|
1644
1646
|
item_group?: string | null | undefined;
|
|
@@ -1668,8 +1670,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1668
1670
|
item_tax_rate?: string | null | undefined;
|
|
1669
1671
|
expense_account?: string | null | undefined;
|
|
1670
1672
|
allow_zero_valuation_rate?: unknown;
|
|
1671
|
-
cost_center?: string | null | undefined;
|
|
1672
|
-
project?: string | null | undefined;
|
|
1673
1673
|
page_break?: unknown;
|
|
1674
1674
|
is_fixed_asset?: unknown;
|
|
1675
1675
|
enable_deferred_revenue?: unknown;
|
|
@@ -1743,8 +1743,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1743
1743
|
parenttype: string;
|
|
1744
1744
|
parentfield: string;
|
|
1745
1745
|
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
1746
|
-
included_in_print_rate: 0 | 1;
|
|
1747
1746
|
account_head: string;
|
|
1747
|
+
included_in_print_rate: 0 | 1;
|
|
1748
1748
|
description?: string | undefined;
|
|
1749
1749
|
_user_tags?: string | null | undefined;
|
|
1750
1750
|
account_currency?: string | undefined;
|
|
@@ -1753,9 +1753,9 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1753
1753
|
total?: number | undefined;
|
|
1754
1754
|
cost_center?: string | undefined;
|
|
1755
1755
|
project?: string | undefined;
|
|
1756
|
+
base_tax_amount?: number | undefined;
|
|
1756
1757
|
tax_amount?: number | undefined;
|
|
1757
1758
|
tax_amount_after_discount_amount?: number | undefined;
|
|
1758
|
-
base_tax_amount?: number | undefined;
|
|
1759
1759
|
}, {
|
|
1760
1760
|
name: string;
|
|
1761
1761
|
owner: string;
|
|
@@ -1776,12 +1776,12 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
1776
1776
|
rate?: number | undefined;
|
|
1777
1777
|
base_total?: number | undefined;
|
|
1778
1778
|
total?: number | undefined;
|
|
1779
|
+
included_in_print_rate?: unknown;
|
|
1779
1780
|
cost_center?: string | undefined;
|
|
1780
1781
|
project?: string | undefined;
|
|
1781
|
-
|
|
1782
|
+
base_tax_amount?: number | undefined;
|
|
1782
1783
|
tax_amount?: number | undefined;
|
|
1783
1784
|
tax_amount_after_discount_amount?: number | undefined;
|
|
1784
|
-
base_tax_amount?: number | undefined;
|
|
1785
1785
|
}>, "many">>>;
|
|
1786
1786
|
base_total_taxes_and_charges: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1787
1787
|
total_taxes_and_charges: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -2113,6 +2113,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
2113
2113
|
sales_invoice_item?: string | null | undefined;
|
|
2114
2114
|
delivery_note?: string | null | undefined;
|
|
2115
2115
|
dn_detail?: string | null | undefined;
|
|
2116
|
+
cost_center?: string | null | undefined;
|
|
2117
|
+
project?: string | null | undefined;
|
|
2116
2118
|
barcode?: string | null | undefined;
|
|
2117
2119
|
customer_item_code?: string | null | undefined;
|
|
2118
2120
|
item_group?: string | null | undefined;
|
|
@@ -2139,8 +2141,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
2139
2141
|
actual_qty?: number | null | undefined;
|
|
2140
2142
|
item_tax_rate?: string | null | undefined;
|
|
2141
2143
|
expense_account?: string | null | undefined;
|
|
2142
|
-
cost_center?: string | null | undefined;
|
|
2143
|
-
project?: string | null | undefined;
|
|
2144
2144
|
purchase_order?: string | null | undefined;
|
|
2145
2145
|
purchase_order_item?: string | null | undefined;
|
|
2146
2146
|
delivered_qty?: number | null | undefined;
|
|
@@ -2197,10 +2197,10 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
2197
2197
|
dispatch_address_name?: string | null | undefined;
|
|
2198
2198
|
dispatch_address?: string | null | undefined;
|
|
2199
2199
|
tax_id?: string | null | undefined;
|
|
2200
|
-
discount_amount?: number | null | undefined;
|
|
2201
|
-
pricing_rules?: any[] | null | undefined;
|
|
2202
2200
|
cost_center?: string | null | undefined;
|
|
2203
2201
|
project?: string | null | undefined;
|
|
2202
|
+
discount_amount?: number | null | undefined;
|
|
2203
|
+
pricing_rules?: any[] | null | undefined;
|
|
2204
2204
|
title?: string | null | undefined;
|
|
2205
2205
|
customer_name?: string | null | undefined;
|
|
2206
2206
|
return_against?: string | null | undefined;
|
|
@@ -2265,8 +2265,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
2265
2265
|
parenttype: string;
|
|
2266
2266
|
parentfield: string;
|
|
2267
2267
|
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
2268
|
-
included_in_print_rate: 0 | 1;
|
|
2269
2268
|
account_head: string;
|
|
2269
|
+
included_in_print_rate: 0 | 1;
|
|
2270
2270
|
description?: string | undefined;
|
|
2271
2271
|
_user_tags?: string | null | undefined;
|
|
2272
2272
|
account_currency?: string | undefined;
|
|
@@ -2275,9 +2275,9 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
2275
2275
|
total?: number | undefined;
|
|
2276
2276
|
cost_center?: string | undefined;
|
|
2277
2277
|
project?: string | undefined;
|
|
2278
|
+
base_tax_amount?: number | undefined;
|
|
2278
2279
|
tax_amount?: number | undefined;
|
|
2279
2280
|
tax_amount_after_discount_amount?: number | undefined;
|
|
2280
|
-
base_tax_amount?: number | undefined;
|
|
2281
2281
|
}[] | null | undefined;
|
|
2282
2282
|
sales_team?: any[] | null | undefined;
|
|
2283
2283
|
outstanding_amount?: number | null | undefined;
|
|
@@ -2406,6 +2406,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
2406
2406
|
sales_invoice_item?: string | null | undefined;
|
|
2407
2407
|
delivery_note?: string | null | undefined;
|
|
2408
2408
|
dn_detail?: string | null | undefined;
|
|
2409
|
+
cost_center?: string | null | undefined;
|
|
2410
|
+
project?: string | null | undefined;
|
|
2409
2411
|
barcode?: string | null | undefined;
|
|
2410
2412
|
customer_item_code?: string | null | undefined;
|
|
2411
2413
|
item_group?: string | null | undefined;
|
|
@@ -2435,8 +2437,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
2435
2437
|
item_tax_rate?: string | null | undefined;
|
|
2436
2438
|
expense_account?: string | null | undefined;
|
|
2437
2439
|
allow_zero_valuation_rate?: unknown;
|
|
2438
|
-
cost_center?: string | null | undefined;
|
|
2439
|
-
project?: string | null | undefined;
|
|
2440
2440
|
page_break?: unknown;
|
|
2441
2441
|
is_fixed_asset?: unknown;
|
|
2442
2442
|
enable_deferred_revenue?: unknown;
|
|
@@ -2477,10 +2477,10 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
2477
2477
|
dispatch_address_name?: string | null | undefined;
|
|
2478
2478
|
dispatch_address?: string | null | undefined;
|
|
2479
2479
|
tax_id?: string | null | undefined;
|
|
2480
|
-
discount_amount?: number | null | undefined;
|
|
2481
|
-
pricing_rules?: any[] | null | undefined;
|
|
2482
2480
|
cost_center?: string | null | undefined;
|
|
2483
2481
|
project?: string | null | undefined;
|
|
2482
|
+
discount_amount?: number | null | undefined;
|
|
2483
|
+
pricing_rules?: any[] | null | undefined;
|
|
2484
2484
|
title?: string | null | undefined;
|
|
2485
2485
|
customer_name?: string | null | undefined;
|
|
2486
2486
|
is_return?: unknown;
|
|
@@ -2560,12 +2560,12 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
|
|
|
2560
2560
|
rate?: number | undefined;
|
|
2561
2561
|
base_total?: number | undefined;
|
|
2562
2562
|
total?: number | undefined;
|
|
2563
|
+
included_in_print_rate?: unknown;
|
|
2563
2564
|
cost_center?: string | undefined;
|
|
2564
2565
|
project?: string | undefined;
|
|
2565
|
-
|
|
2566
|
+
base_tax_amount?: number | undefined;
|
|
2566
2567
|
tax_amount?: number | undefined;
|
|
2567
2568
|
tax_amount_after_discount_amount?: number | undefined;
|
|
2568
|
-
base_tax_amount?: number | undefined;
|
|
2569
2569
|
}[] | null | undefined;
|
|
2570
2570
|
sales_team?: any[] | null | undefined;
|
|
2571
2571
|
outstanding_amount?: number | null | undefined;
|
|
@@ -565,8 +565,8 @@ export declare const SalesOrder: z.ZodObject<{
|
|
|
565
565
|
tax_amount_after_discount_amount: z.ZodOptional<z.ZodNumber>;
|
|
566
566
|
}, "strip", z.ZodTypeAny, {
|
|
567
567
|
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
568
|
-
included_in_print_rate: 0 | 1;
|
|
569
568
|
account_head: string;
|
|
569
|
+
included_in_print_rate: 0 | 1;
|
|
570
570
|
description?: string | undefined;
|
|
571
571
|
account_currency?: string | undefined;
|
|
572
572
|
rate?: number | undefined;
|
|
@@ -574,9 +574,9 @@ export declare const SalesOrder: z.ZodObject<{
|
|
|
574
574
|
total?: number | undefined;
|
|
575
575
|
cost_center?: string | undefined;
|
|
576
576
|
project?: string | undefined;
|
|
577
|
+
base_tax_amount?: number | undefined;
|
|
577
578
|
tax_amount?: number | undefined;
|
|
578
579
|
tax_amount_after_discount_amount?: number | undefined;
|
|
579
|
-
base_tax_amount?: number | undefined;
|
|
580
580
|
}, {
|
|
581
581
|
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
582
582
|
account_head: string;
|
|
@@ -585,12 +585,12 @@ export declare const SalesOrder: z.ZodObject<{
|
|
|
585
585
|
rate?: number | undefined;
|
|
586
586
|
base_total?: number | undefined;
|
|
587
587
|
total?: number | undefined;
|
|
588
|
+
included_in_print_rate?: unknown;
|
|
588
589
|
cost_center?: string | undefined;
|
|
589
590
|
project?: string | undefined;
|
|
590
|
-
|
|
591
|
+
base_tax_amount?: number | undefined;
|
|
591
592
|
tax_amount?: number | undefined;
|
|
592
593
|
tax_amount_after_discount_amount?: number | undefined;
|
|
593
|
-
base_tax_amount?: number | undefined;
|
|
594
594
|
}>, "many">>>;
|
|
595
595
|
base_total_taxes_and_charges: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
596
596
|
total_taxes_and_charges: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -783,10 +783,10 @@ export declare const SalesOrder: z.ZodObject<{
|
|
|
783
783
|
dispatch_address_name?: string | null | undefined;
|
|
784
784
|
dispatch_address?: string | null | undefined;
|
|
785
785
|
tax_id?: string | null | undefined;
|
|
786
|
-
discount_amount?: number | null | undefined;
|
|
787
|
-
pricing_rules?: any[] | null | undefined;
|
|
788
786
|
cost_center?: string | null | undefined;
|
|
789
787
|
project?: string | null | undefined;
|
|
788
|
+
discount_amount?: number | null | undefined;
|
|
789
|
+
pricing_rules?: any[] | null | undefined;
|
|
790
790
|
title?: string | null | undefined;
|
|
791
791
|
customer_name?: string | null | undefined;
|
|
792
792
|
po_no?: string | null | undefined;
|
|
@@ -838,8 +838,8 @@ export declare const SalesOrder: z.ZodObject<{
|
|
|
838
838
|
packed_items?: any[] | null | undefined;
|
|
839
839
|
taxes?: {
|
|
840
840
|
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
841
|
-
included_in_print_rate: 0 | 1;
|
|
842
841
|
account_head: string;
|
|
842
|
+
included_in_print_rate: 0 | 1;
|
|
843
843
|
description?: string | undefined;
|
|
844
844
|
account_currency?: string | undefined;
|
|
845
845
|
rate?: number | undefined;
|
|
@@ -847,9 +847,9 @@ export declare const SalesOrder: z.ZodObject<{
|
|
|
847
847
|
total?: number | undefined;
|
|
848
848
|
cost_center?: string | undefined;
|
|
849
849
|
project?: string | undefined;
|
|
850
|
+
base_tax_amount?: number | undefined;
|
|
850
851
|
tax_amount?: number | undefined;
|
|
851
852
|
tax_amount_after_discount_amount?: number | undefined;
|
|
852
|
-
base_tax_amount?: number | undefined;
|
|
853
853
|
}[] | null | undefined;
|
|
854
854
|
sales_team?: any[] | null | undefined;
|
|
855
855
|
payment_terms_template?: string | null | undefined;
|
|
@@ -971,10 +971,10 @@ export declare const SalesOrder: z.ZodObject<{
|
|
|
971
971
|
dispatch_address_name?: string | null | undefined;
|
|
972
972
|
dispatch_address?: string | null | undefined;
|
|
973
973
|
tax_id?: string | null | undefined;
|
|
974
|
-
discount_amount?: number | null | undefined;
|
|
975
|
-
pricing_rules?: any[] | null | undefined;
|
|
976
974
|
cost_center?: string | null | undefined;
|
|
977
975
|
project?: string | null | undefined;
|
|
976
|
+
discount_amount?: number | null | undefined;
|
|
977
|
+
pricing_rules?: any[] | null | undefined;
|
|
978
978
|
title?: string | null | undefined;
|
|
979
979
|
customer_name?: string | null | undefined;
|
|
980
980
|
po_no?: string | null | undefined;
|
|
@@ -1040,12 +1040,12 @@ export declare const SalesOrder: z.ZodObject<{
|
|
|
1040
1040
|
rate?: number | undefined;
|
|
1041
1041
|
base_total?: number | undefined;
|
|
1042
1042
|
total?: number | undefined;
|
|
1043
|
+
included_in_print_rate?: unknown;
|
|
1043
1044
|
cost_center?: string | undefined;
|
|
1044
1045
|
project?: string | undefined;
|
|
1045
|
-
|
|
1046
|
+
base_tax_amount?: number | undefined;
|
|
1046
1047
|
tax_amount?: number | undefined;
|
|
1047
1048
|
tax_amount_after_discount_amount?: number | undefined;
|
|
1048
|
-
base_tax_amount?: number | undefined;
|
|
1049
1049
|
}[] | null | undefined;
|
|
1050
1050
|
sales_team?: any[] | null | undefined;
|
|
1051
1051
|
payment_terms_template?: string | null | undefined;
|
|
@@ -17,8 +17,8 @@ export declare const SalesTaxesAndCharges: z.ZodObject<{
|
|
|
17
17
|
tax_amount_after_discount_amount: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
20
|
-
included_in_print_rate: 0 | 1;
|
|
21
20
|
account_head: string;
|
|
21
|
+
included_in_print_rate: 0 | 1;
|
|
22
22
|
description?: string | undefined;
|
|
23
23
|
account_currency?: string | undefined;
|
|
24
24
|
rate?: number | undefined;
|
|
@@ -26,9 +26,9 @@ export declare const SalesTaxesAndCharges: z.ZodObject<{
|
|
|
26
26
|
total?: number | undefined;
|
|
27
27
|
cost_center?: string | undefined;
|
|
28
28
|
project?: string | undefined;
|
|
29
|
+
base_tax_amount?: number | undefined;
|
|
29
30
|
tax_amount?: number | undefined;
|
|
30
31
|
tax_amount_after_discount_amount?: number | undefined;
|
|
31
|
-
base_tax_amount?: number | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
|
|
34
34
|
account_head: string;
|
|
@@ -37,11 +37,11 @@ export declare const SalesTaxesAndCharges: z.ZodObject<{
|
|
|
37
37
|
rate?: number | undefined;
|
|
38
38
|
base_total?: number | undefined;
|
|
39
39
|
total?: number | undefined;
|
|
40
|
+
included_in_print_rate?: unknown;
|
|
40
41
|
cost_center?: string | undefined;
|
|
41
42
|
project?: string | undefined;
|
|
42
|
-
|
|
43
|
+
base_tax_amount?: number | undefined;
|
|
43
44
|
tax_amount?: number | undefined;
|
|
44
45
|
tax_amount_after_discount_amount?: number | undefined;
|
|
45
|
-
base_tax_amount?: number | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
export type SalesTaxesAndChargesType = z.infer<typeof SalesTaxesAndCharges>;
|
|
@@ -122,8 +122,8 @@ export declare const StockReconciliation: z.ZodObject<{
|
|
|
122
122
|
}[];
|
|
123
123
|
purpose: "Stock Reconciliation" | "Opening Stock";
|
|
124
124
|
scan_mode: boolean;
|
|
125
|
-
expense_account?: string | undefined;
|
|
126
125
|
cost_center?: string | undefined;
|
|
126
|
+
expense_account?: string | undefined;
|
|
127
127
|
scan_barcode?: string | undefined;
|
|
128
128
|
reconciliation_json?: string | undefined;
|
|
129
129
|
workflow_state?: string | undefined;
|
|
@@ -149,8 +149,8 @@ export declare const StockReconciliation: z.ZodObject<{
|
|
|
149
149
|
}[];
|
|
150
150
|
purpose: "Stock Reconciliation" | "Opening Stock";
|
|
151
151
|
set_posting_time?: boolean | undefined;
|
|
152
|
-
expense_account?: string | undefined;
|
|
153
152
|
cost_center?: string | undefined;
|
|
153
|
+
expense_account?: string | undefined;
|
|
154
154
|
scan_barcode?: string | undefined;
|
|
155
155
|
reconciliation_json?: string | undefined;
|
|
156
156
|
scan_mode?: boolean | undefined;
|