repzo 1.0.287 → 1.0.289
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/changelog.md +2 -0
- package/lib/types/index.d.ts +77 -0
- package/package.json +1 -1
- package/src/types/index.ts +77 -0
package/changelog.md
CHANGED
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
- add: workorder-request @maramalshen
|
|
17
17
|
- add: approval @maramalshen
|
|
18
18
|
- add: apps-management, reset-company-namespace & test-reset-company-namespace @maramalshen
|
|
19
|
+
- add: `rep_can_edit_invoice_discount` & `rep_can_edit_sales_order_discount` to RepPermissions and the Rep find-params filters — gate the header discount overwrite (`overwriteDeductionFixed`/`overwriteDeductionRatio`) on invoices and Sales Orders @mkhamis
|
|
20
|
+
- add: header total `total_before_deduction_and_tax` (+ `pre_`/`return_` legs) on FullInvoice, Proforma and Cart (Schema, CreateBody, UpdateBody) — `total_before_tax + totalDeductionBeforeTax`, i.e. the net-of-tax subtotal before the cart (header) deduction; net of tax for inclusive-tax lines too, unlike `taxable_subtotal`. The Proforma types were also missing the `total_before_tax` / `pre_` / `return_` trio the backend has stored all along, so those are added alongside @mkhamis
|
|
19
21
|
|
|
20
22
|
### Changed
|
|
21
23
|
|
package/lib/types/index.d.ts
CHANGED
|
@@ -2512,6 +2512,8 @@ export declare namespace Service {
|
|
|
2512
2512
|
rep_can_submit_multiple_item_status_products?: boolean;
|
|
2513
2513
|
rep_can_edit_return_product_price?: boolean;
|
|
2514
2514
|
rep_can_overwrite_partial_return_invoice_price?: boolean;
|
|
2515
|
+
rep_can_edit_invoice_discount?: boolean;
|
|
2516
|
+
rep_can_edit_sales_order_discount?: boolean;
|
|
2515
2517
|
rep_can_skip_cart_calculation_until_checkout?: boolean;
|
|
2516
2518
|
rep_can_start_day_without_gps_signal?: boolean;
|
|
2517
2519
|
rep_can_start_day_with_outstanding_settlement_balance?: boolean;
|
|
@@ -2799,6 +2801,8 @@ export declare namespace Service {
|
|
|
2799
2801
|
"permissions.rep_can_create_pull_from_client_assigned_to_approval_request"?: boolean;
|
|
2800
2802
|
"permissions.rep_can_print_payment_after_allowance_period"?: boolean;
|
|
2801
2803
|
"permissions.rep_can_overwrite_partial_return_invoice_price"?: boolean;
|
|
2804
|
+
"permissions.rep_can_edit_invoice_discount"?: boolean;
|
|
2805
|
+
"permissions.rep_can_edit_sales_order_discount"?: boolean;
|
|
2802
2806
|
"permissions.rep_can_create_payment"?: boolean;
|
|
2803
2807
|
"permissions.rep_can_print_offline_invoice"?: boolean;
|
|
2804
2808
|
"permissions.rep_can_print_offline_sales_order"?: boolean;
|
|
@@ -6039,6 +6043,12 @@ export declare namespace Service {
|
|
|
6039
6043
|
total_float_rounded?: number;
|
|
6040
6044
|
total_float_rounded_sum?: number;
|
|
6041
6045
|
total_before_tax?: number;
|
|
6046
|
+
/**
|
|
6047
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
6048
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
6049
|
+
* `taxable_subtotal`.
|
|
6050
|
+
*/
|
|
6051
|
+
total_before_deduction_and_tax?: number;
|
|
6042
6052
|
taxable_amount_float?: number;
|
|
6043
6053
|
taxable_amount_float_rounded_sum?: number;
|
|
6044
6054
|
taxable_amount_float_rounded?: number;
|
|
@@ -6051,6 +6061,7 @@ export declare namespace Service {
|
|
|
6051
6061
|
pre_total_float_rounded?: number;
|
|
6052
6062
|
pre_total_float_rounded_sum?: number;
|
|
6053
6063
|
pre_total_before_tax?: number;
|
|
6064
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6054
6065
|
pre_taxable_amount_float?: number;
|
|
6055
6066
|
pre_taxable_amount_float_rounded?: number;
|
|
6056
6067
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6063,6 +6074,7 @@ export declare namespace Service {
|
|
|
6063
6074
|
return_total_float_rounded?: number;
|
|
6064
6075
|
return_total_float_rounded_sum?: number;
|
|
6065
6076
|
return_total_before_tax?: number;
|
|
6077
|
+
return_total_before_deduction_and_tax?: number;
|
|
6066
6078
|
return_taxable_amount_float?: number;
|
|
6067
6079
|
return_taxable_amount_float_rounded?: number;
|
|
6068
6080
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6248,6 +6260,12 @@ export declare namespace Service {
|
|
|
6248
6260
|
total_float_rounded?: number;
|
|
6249
6261
|
total_float_rounded_sum?: number;
|
|
6250
6262
|
total_before_tax?: number;
|
|
6263
|
+
/**
|
|
6264
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
6265
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
6266
|
+
* `taxable_subtotal`.
|
|
6267
|
+
*/
|
|
6268
|
+
total_before_deduction_and_tax?: number;
|
|
6251
6269
|
taxable_amount_float?: number;
|
|
6252
6270
|
taxable_amount_float_rounded_sum?: number;
|
|
6253
6271
|
taxable_amount_float_rounded?: number;
|
|
@@ -6260,6 +6278,7 @@ export declare namespace Service {
|
|
|
6260
6278
|
pre_total_float_rounded?: number;
|
|
6261
6279
|
pre_total_float_rounded_sum?: number;
|
|
6262
6280
|
pre_total_before_tax?: number;
|
|
6281
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6263
6282
|
pre_taxable_amount_float?: number;
|
|
6264
6283
|
pre_taxable_amount_float_rounded?: number;
|
|
6265
6284
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6272,6 +6291,7 @@ export declare namespace Service {
|
|
|
6272
6291
|
return_total_float_rounded?: number;
|
|
6273
6292
|
return_total_float_rounded_sum?: number;
|
|
6274
6293
|
return_total_before_tax?: number;
|
|
6294
|
+
return_total_before_deduction_and_tax?: number;
|
|
6275
6295
|
return_taxable_amount_float?: number;
|
|
6276
6296
|
return_taxable_amount_float_rounded?: number;
|
|
6277
6297
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6645,6 +6665,12 @@ export declare namespace Service {
|
|
|
6645
6665
|
total_float_rounded?: number;
|
|
6646
6666
|
total_float_rounded_sum?: number;
|
|
6647
6667
|
total_before_tax?: number;
|
|
6668
|
+
/**
|
|
6669
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
6670
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
6671
|
+
* `taxable_subtotal`.
|
|
6672
|
+
*/
|
|
6673
|
+
total_before_deduction_and_tax?: number;
|
|
6648
6674
|
taxable_amount_float?: number;
|
|
6649
6675
|
taxable_amount_float_rounded_sum?: number;
|
|
6650
6676
|
taxable_amount_float_rounded?: number;
|
|
@@ -6657,6 +6683,7 @@ export declare namespace Service {
|
|
|
6657
6683
|
pre_total_float_rounded?: number;
|
|
6658
6684
|
pre_total_float_rounded_sum?: number;
|
|
6659
6685
|
pre_total_before_tax?: number;
|
|
6686
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6660
6687
|
pre_taxable_amount_float?: number;
|
|
6661
6688
|
pre_taxable_amount_float_rounded?: number;
|
|
6662
6689
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6669,6 +6696,7 @@ export declare namespace Service {
|
|
|
6669
6696
|
return_total_float_rounded?: number;
|
|
6670
6697
|
return_total_float_rounded_sum?: number;
|
|
6671
6698
|
return_total_before_tax?: number;
|
|
6699
|
+
return_total_before_deduction_and_tax?: number;
|
|
6672
6700
|
return_taxable_amount_float?: number;
|
|
6673
6701
|
return_taxable_amount_float_rounded?: number;
|
|
6674
6702
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6815,6 +6843,17 @@ export declare namespace Service {
|
|
|
6815
6843
|
taxable_subtotal: number;
|
|
6816
6844
|
tax_amount: number;
|
|
6817
6845
|
total: number;
|
|
6846
|
+
total_before_tax?: number;
|
|
6847
|
+
/**
|
|
6848
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
6849
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
6850
|
+
* `taxable_subtotal`.
|
|
6851
|
+
*/
|
|
6852
|
+
total_before_deduction_and_tax?: number;
|
|
6853
|
+
pre_total_before_tax?: number;
|
|
6854
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6855
|
+
return_total_before_tax?: number;
|
|
6856
|
+
return_total_before_deduction_and_tax?: number;
|
|
6818
6857
|
pre_subtotal?: number;
|
|
6819
6858
|
pre_discount_amount?: number;
|
|
6820
6859
|
pre_taxable_subtotal?: number;
|
|
@@ -6928,6 +6967,17 @@ export declare namespace Service {
|
|
|
6928
6967
|
taxable_subtotal: number;
|
|
6929
6968
|
tax_amount: number;
|
|
6930
6969
|
total: number;
|
|
6970
|
+
total_before_tax?: number;
|
|
6971
|
+
/**
|
|
6972
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
6973
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
6974
|
+
* `taxable_subtotal`.
|
|
6975
|
+
*/
|
|
6976
|
+
total_before_deduction_and_tax?: number;
|
|
6977
|
+
pre_total_before_tax?: number;
|
|
6978
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6979
|
+
return_total_before_tax?: number;
|
|
6980
|
+
return_total_before_deduction_and_tax?: number;
|
|
6931
6981
|
pre_subtotal?: number;
|
|
6932
6982
|
pre_discount_amount?: number;
|
|
6933
6983
|
pre_taxable_subtotal?: number;
|
|
@@ -7042,6 +7092,17 @@ export declare namespace Service {
|
|
|
7042
7092
|
taxable_subtotal?: number;
|
|
7043
7093
|
tax_amount?: number;
|
|
7044
7094
|
total?: number;
|
|
7095
|
+
total_before_tax?: number;
|
|
7096
|
+
/**
|
|
7097
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
7098
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
7099
|
+
* `taxable_subtotal`.
|
|
7100
|
+
*/
|
|
7101
|
+
total_before_deduction_and_tax?: number;
|
|
7102
|
+
pre_total_before_tax?: number;
|
|
7103
|
+
pre_total_before_deduction_and_tax?: number;
|
|
7104
|
+
return_total_before_tax?: number;
|
|
7105
|
+
return_total_before_deduction_and_tax?: number;
|
|
7045
7106
|
pre_subtotal?: number;
|
|
7046
7107
|
pre_discount_amount?: number;
|
|
7047
7108
|
pre_taxable_subtotal?: number;
|
|
@@ -11236,6 +11297,12 @@ export declare namespace Service {
|
|
|
11236
11297
|
total_float_rounded?: number;
|
|
11237
11298
|
total_float_rounded_sum?: number;
|
|
11238
11299
|
total_before_tax?: number;
|
|
11300
|
+
/**
|
|
11301
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
11302
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
11303
|
+
* `taxable_subtotal`.
|
|
11304
|
+
*/
|
|
11305
|
+
total_before_deduction_and_tax?: number;
|
|
11239
11306
|
taxable_amount_float?: number;
|
|
11240
11307
|
taxable_amount_float_rounded_sum?: number;
|
|
11241
11308
|
taxable_amount_float_rounded?: number;
|
|
@@ -11253,6 +11320,7 @@ export declare namespace Service {
|
|
|
11253
11320
|
pre_total_float_rounded?: number;
|
|
11254
11321
|
pre_total_float_rounded_sum?: number;
|
|
11255
11322
|
pre_total_before_tax?: number;
|
|
11323
|
+
pre_total_before_deduction_and_tax?: number;
|
|
11256
11324
|
pre_taxable_amount_float?: number;
|
|
11257
11325
|
pre_taxable_amount_float_rounded?: number;
|
|
11258
11326
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -11270,6 +11338,7 @@ export declare namespace Service {
|
|
|
11270
11338
|
return_total_float_rounded?: number;
|
|
11271
11339
|
return_total_float_rounded_sum?: number;
|
|
11272
11340
|
return_total_before_tax?: number;
|
|
11341
|
+
return_total_before_deduction_and_tax?: number;
|
|
11273
11342
|
return_taxable_amount_float?: number;
|
|
11274
11343
|
return_taxable_amount_float_rounded?: number;
|
|
11275
11344
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -11443,6 +11512,12 @@ export declare namespace Service {
|
|
|
11443
11512
|
total_float_rounded?: number;
|
|
11444
11513
|
total_float_rounded_sum?: number;
|
|
11445
11514
|
total_before_tax?: number;
|
|
11515
|
+
/**
|
|
11516
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
11517
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
11518
|
+
* `taxable_subtotal`.
|
|
11519
|
+
*/
|
|
11520
|
+
total_before_deduction_and_tax?: number;
|
|
11446
11521
|
taxable_amount_float?: number;
|
|
11447
11522
|
taxable_amount_float_rounded_sum?: number;
|
|
11448
11523
|
taxable_amount_float_rounded?: number;
|
|
@@ -11460,6 +11535,7 @@ export declare namespace Service {
|
|
|
11460
11535
|
pre_total_float_rounded?: number;
|
|
11461
11536
|
pre_total_float_rounded_sum?: number;
|
|
11462
11537
|
pre_total_before_tax?: number;
|
|
11538
|
+
pre_total_before_deduction_and_tax?: number;
|
|
11463
11539
|
pre_taxable_amount_float?: number;
|
|
11464
11540
|
pre_taxable_amount_float_rounded?: number;
|
|
11465
11541
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -11477,6 +11553,7 @@ export declare namespace Service {
|
|
|
11477
11553
|
return_total_float_rounded?: number;
|
|
11478
11554
|
return_total_float_rounded_sum?: number;
|
|
11479
11555
|
return_total_before_tax?: number;
|
|
11556
|
+
return_total_before_deduction_and_tax?: number;
|
|
11480
11557
|
return_taxable_amount_float?: number;
|
|
11481
11558
|
return_taxable_amount_float_rounded?: number;
|
|
11482
11559
|
return_taxable_amount_float_rounded_sum?: number;
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -2928,6 +2928,8 @@ export namespace Service {
|
|
|
2928
2928
|
rep_can_submit_multiple_item_status_products?: boolean;
|
|
2929
2929
|
rep_can_edit_return_product_price?: boolean;
|
|
2930
2930
|
rep_can_overwrite_partial_return_invoice_price?: boolean;
|
|
2931
|
+
rep_can_edit_invoice_discount?: boolean;
|
|
2932
|
+
rep_can_edit_sales_order_discount?: boolean;
|
|
2931
2933
|
rep_can_skip_cart_calculation_until_checkout?: boolean;
|
|
2932
2934
|
rep_can_start_day_without_gps_signal?: boolean;
|
|
2933
2935
|
rep_can_start_day_with_outstanding_settlement_balance?: boolean;
|
|
@@ -3233,6 +3235,8 @@ export namespace Service {
|
|
|
3233
3235
|
"permissions.rep_can_create_pull_from_client_assigned_to_approval_request"?: boolean;
|
|
3234
3236
|
"permissions.rep_can_print_payment_after_allowance_period"?: boolean;
|
|
3235
3237
|
"permissions.rep_can_overwrite_partial_return_invoice_price"?: boolean;
|
|
3238
|
+
"permissions.rep_can_edit_invoice_discount"?: boolean;
|
|
3239
|
+
"permissions.rep_can_edit_sales_order_discount"?: boolean;
|
|
3236
3240
|
"permissions.rep_can_create_payment"?: boolean;
|
|
3237
3241
|
"permissions.rep_can_print_offline_invoice"?: boolean;
|
|
3238
3242
|
"permissions.rep_can_print_offline_sales_order"?: boolean;
|
|
@@ -6679,6 +6683,12 @@ export namespace Service {
|
|
|
6679
6683
|
total_float_rounded?: number;
|
|
6680
6684
|
total_float_rounded_sum?: number;
|
|
6681
6685
|
total_before_tax?: number;
|
|
6686
|
+
/**
|
|
6687
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
6688
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
6689
|
+
* `taxable_subtotal`.
|
|
6690
|
+
*/
|
|
6691
|
+
total_before_deduction_and_tax?: number;
|
|
6682
6692
|
taxable_amount_float?: number;
|
|
6683
6693
|
taxable_amount_float_rounded_sum?: number;
|
|
6684
6694
|
taxable_amount_float_rounded?: number;
|
|
@@ -6691,6 +6701,7 @@ export namespace Service {
|
|
|
6691
6701
|
pre_total_float_rounded?: number;
|
|
6692
6702
|
pre_total_float_rounded_sum?: number;
|
|
6693
6703
|
pre_total_before_tax?: number;
|
|
6704
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6694
6705
|
pre_taxable_amount_float?: number;
|
|
6695
6706
|
pre_taxable_amount_float_rounded?: number;
|
|
6696
6707
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6703,6 +6714,7 @@ export namespace Service {
|
|
|
6703
6714
|
return_total_float_rounded?: number;
|
|
6704
6715
|
return_total_float_rounded_sum?: number;
|
|
6705
6716
|
return_total_before_tax?: number;
|
|
6717
|
+
return_total_before_deduction_and_tax?: number;
|
|
6706
6718
|
return_taxable_amount_float?: number;
|
|
6707
6719
|
return_taxable_amount_float_rounded?: number;
|
|
6708
6720
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6871,6 +6883,12 @@ export namespace Service {
|
|
|
6871
6883
|
total_float_rounded?: number;
|
|
6872
6884
|
total_float_rounded_sum?: number;
|
|
6873
6885
|
total_before_tax?: number;
|
|
6886
|
+
/**
|
|
6887
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
6888
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
6889
|
+
* `taxable_subtotal`.
|
|
6890
|
+
*/
|
|
6891
|
+
total_before_deduction_and_tax?: number;
|
|
6874
6892
|
taxable_amount_float?: number;
|
|
6875
6893
|
taxable_amount_float_rounded_sum?: number;
|
|
6876
6894
|
taxable_amount_float_rounded?: number;
|
|
@@ -6883,6 +6901,7 @@ export namespace Service {
|
|
|
6883
6901
|
pre_total_float_rounded?: number;
|
|
6884
6902
|
pre_total_float_rounded_sum?: number;
|
|
6885
6903
|
pre_total_before_tax?: number;
|
|
6904
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6886
6905
|
pre_taxable_amount_float?: number;
|
|
6887
6906
|
pre_taxable_amount_float_rounded?: number;
|
|
6888
6907
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6895,6 +6914,7 @@ export namespace Service {
|
|
|
6895
6914
|
return_total_float_rounded?: number;
|
|
6896
6915
|
return_total_float_rounded_sum?: number;
|
|
6897
6916
|
return_total_before_tax?: number;
|
|
6917
|
+
return_total_before_deduction_and_tax?: number;
|
|
6898
6918
|
return_taxable_amount_float?: number;
|
|
6899
6919
|
return_taxable_amount_float_rounded?: number;
|
|
6900
6920
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -7236,6 +7256,12 @@ export namespace Service {
|
|
|
7236
7256
|
total_float_rounded?: number;
|
|
7237
7257
|
total_float_rounded_sum?: number;
|
|
7238
7258
|
total_before_tax?: number;
|
|
7259
|
+
/**
|
|
7260
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
7261
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
7262
|
+
* `taxable_subtotal`.
|
|
7263
|
+
*/
|
|
7264
|
+
total_before_deduction_and_tax?: number;
|
|
7239
7265
|
taxable_amount_float?: number;
|
|
7240
7266
|
taxable_amount_float_rounded_sum?: number;
|
|
7241
7267
|
taxable_amount_float_rounded?: number;
|
|
@@ -7248,6 +7274,7 @@ export namespace Service {
|
|
|
7248
7274
|
pre_total_float_rounded?: number;
|
|
7249
7275
|
pre_total_float_rounded_sum?: number;
|
|
7250
7276
|
pre_total_before_tax?: number;
|
|
7277
|
+
pre_total_before_deduction_and_tax?: number;
|
|
7251
7278
|
pre_taxable_amount_float?: number;
|
|
7252
7279
|
pre_taxable_amount_float_rounded?: number;
|
|
7253
7280
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -7260,6 +7287,7 @@ export namespace Service {
|
|
|
7260
7287
|
return_total_float_rounded?: number;
|
|
7261
7288
|
return_total_float_rounded_sum?: number;
|
|
7262
7289
|
return_total_before_tax?: number;
|
|
7290
|
+
return_total_before_deduction_and_tax?: number;
|
|
7263
7291
|
return_taxable_amount_float?: number;
|
|
7264
7292
|
return_taxable_amount_float_rounded?: number;
|
|
7265
7293
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -7424,6 +7452,17 @@ export namespace Service {
|
|
|
7424
7452
|
taxable_subtotal: number;
|
|
7425
7453
|
tax_amount: number;
|
|
7426
7454
|
total: number;
|
|
7455
|
+
total_before_tax?: number;
|
|
7456
|
+
/**
|
|
7457
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
7458
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
7459
|
+
* `taxable_subtotal`.
|
|
7460
|
+
*/
|
|
7461
|
+
total_before_deduction_and_tax?: number;
|
|
7462
|
+
pre_total_before_tax?: number;
|
|
7463
|
+
pre_total_before_deduction_and_tax?: number;
|
|
7464
|
+
return_total_before_tax?: number;
|
|
7465
|
+
return_total_before_deduction_and_tax?: number;
|
|
7427
7466
|
pre_subtotal?: number;
|
|
7428
7467
|
pre_discount_amount?: number;
|
|
7429
7468
|
pre_taxable_subtotal?: number;
|
|
@@ -7529,6 +7568,17 @@ export namespace Service {
|
|
|
7529
7568
|
taxable_subtotal: number;
|
|
7530
7569
|
tax_amount: number;
|
|
7531
7570
|
total: number;
|
|
7571
|
+
total_before_tax?: number;
|
|
7572
|
+
/**
|
|
7573
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
7574
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
7575
|
+
* `taxable_subtotal`.
|
|
7576
|
+
*/
|
|
7577
|
+
total_before_deduction_and_tax?: number;
|
|
7578
|
+
pre_total_before_tax?: number;
|
|
7579
|
+
pre_total_before_deduction_and_tax?: number;
|
|
7580
|
+
return_total_before_tax?: number;
|
|
7581
|
+
return_total_before_deduction_and_tax?: number;
|
|
7532
7582
|
pre_subtotal?: number;
|
|
7533
7583
|
pre_discount_amount?: number;
|
|
7534
7584
|
pre_taxable_subtotal?: number;
|
|
@@ -7635,6 +7685,17 @@ export namespace Service {
|
|
|
7635
7685
|
taxable_subtotal?: number;
|
|
7636
7686
|
tax_amount?: number;
|
|
7637
7687
|
total?: number;
|
|
7688
|
+
total_before_tax?: number;
|
|
7689
|
+
/**
|
|
7690
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
7691
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
7692
|
+
* `taxable_subtotal`.
|
|
7693
|
+
*/
|
|
7694
|
+
total_before_deduction_and_tax?: number;
|
|
7695
|
+
pre_total_before_tax?: number;
|
|
7696
|
+
pre_total_before_deduction_and_tax?: number;
|
|
7697
|
+
return_total_before_tax?: number;
|
|
7698
|
+
return_total_before_deduction_and_tax?: number;
|
|
7638
7699
|
pre_subtotal?: number;
|
|
7639
7700
|
pre_discount_amount?: number;
|
|
7640
7701
|
pre_taxable_subtotal?: number;
|
|
@@ -11944,6 +12005,12 @@ export namespace Service {
|
|
|
11944
12005
|
total_float_rounded?: number;
|
|
11945
12006
|
total_float_rounded_sum?: number;
|
|
11946
12007
|
total_before_tax?: number;
|
|
12008
|
+
/**
|
|
12009
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
12010
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
12011
|
+
* `taxable_subtotal`.
|
|
12012
|
+
*/
|
|
12013
|
+
total_before_deduction_and_tax?: number;
|
|
11947
12014
|
taxable_amount_float?: number;
|
|
11948
12015
|
taxable_amount_float_rounded_sum?: number;
|
|
11949
12016
|
taxable_amount_float_rounded?: number;
|
|
@@ -11961,6 +12028,7 @@ export namespace Service {
|
|
|
11961
12028
|
pre_total_float_rounded?: number;
|
|
11962
12029
|
pre_total_float_rounded_sum?: number;
|
|
11963
12030
|
pre_total_before_tax?: number;
|
|
12031
|
+
pre_total_before_deduction_and_tax?: number;
|
|
11964
12032
|
pre_taxable_amount_float?: number;
|
|
11965
12033
|
pre_taxable_amount_float_rounded?: number;
|
|
11966
12034
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -11978,6 +12046,7 @@ export namespace Service {
|
|
|
11978
12046
|
return_total_float_rounded?: number;
|
|
11979
12047
|
return_total_float_rounded_sum?: number;
|
|
11980
12048
|
return_total_before_tax?: number;
|
|
12049
|
+
return_total_before_deduction_and_tax?: number;
|
|
11981
12050
|
return_taxable_amount_float?: number;
|
|
11982
12051
|
return_taxable_amount_float_rounded?: number;
|
|
11983
12052
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -12125,6 +12194,12 @@ export namespace Service {
|
|
|
12125
12194
|
total_float_rounded?: number;
|
|
12126
12195
|
total_float_rounded_sum?: number;
|
|
12127
12196
|
total_before_tax?: number;
|
|
12197
|
+
/**
|
|
12198
|
+
* `total_before_tax + totalDeductionBeforeTax`: net of tax and before the
|
|
12199
|
+
* cart (header) deduction. Net of tax for inclusive-tax lines too, unlike
|
|
12200
|
+
* `taxable_subtotal`.
|
|
12201
|
+
*/
|
|
12202
|
+
total_before_deduction_and_tax?: number;
|
|
12128
12203
|
taxable_amount_float?: number;
|
|
12129
12204
|
taxable_amount_float_rounded_sum?: number;
|
|
12130
12205
|
taxable_amount_float_rounded?: number;
|
|
@@ -12142,6 +12217,7 @@ export namespace Service {
|
|
|
12142
12217
|
pre_total_float_rounded?: number;
|
|
12143
12218
|
pre_total_float_rounded_sum?: number;
|
|
12144
12219
|
pre_total_before_tax?: number;
|
|
12220
|
+
pre_total_before_deduction_and_tax?: number;
|
|
12145
12221
|
pre_taxable_amount_float?: number;
|
|
12146
12222
|
pre_taxable_amount_float_rounded?: number;
|
|
12147
12223
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -12159,6 +12235,7 @@ export namespace Service {
|
|
|
12159
12235
|
return_total_float_rounded?: number;
|
|
12160
12236
|
return_total_float_rounded_sum?: number;
|
|
12161
12237
|
return_total_before_tax?: number;
|
|
12238
|
+
return_total_before_deduction_and_tax?: number;
|
|
12162
12239
|
return_taxable_amount_float?: number;
|
|
12163
12240
|
return_taxable_amount_float_rounded?: number;
|
|
12164
12241
|
return_taxable_amount_float_rounded_sum?: number;
|