repzo 1.0.288 → 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 +1 -0
- package/lib/types/index.d.ts +73 -0
- package/package.json +1 -1
- package/src/types/index.ts +73 -0
package/changelog.md
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
- add: approval @maramalshen
|
|
18
18
|
- add: apps-management, reset-company-namespace & test-reset-company-namespace @maramalshen
|
|
19
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
|
|
20
21
|
|
|
21
22
|
### Changed
|
|
22
23
|
|
package/lib/types/index.d.ts
CHANGED
|
@@ -6043,6 +6043,12 @@ export declare namespace Service {
|
|
|
6043
6043
|
total_float_rounded?: number;
|
|
6044
6044
|
total_float_rounded_sum?: number;
|
|
6045
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;
|
|
6046
6052
|
taxable_amount_float?: number;
|
|
6047
6053
|
taxable_amount_float_rounded_sum?: number;
|
|
6048
6054
|
taxable_amount_float_rounded?: number;
|
|
@@ -6055,6 +6061,7 @@ export declare namespace Service {
|
|
|
6055
6061
|
pre_total_float_rounded?: number;
|
|
6056
6062
|
pre_total_float_rounded_sum?: number;
|
|
6057
6063
|
pre_total_before_tax?: number;
|
|
6064
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6058
6065
|
pre_taxable_amount_float?: number;
|
|
6059
6066
|
pre_taxable_amount_float_rounded?: number;
|
|
6060
6067
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6067,6 +6074,7 @@ export declare namespace Service {
|
|
|
6067
6074
|
return_total_float_rounded?: number;
|
|
6068
6075
|
return_total_float_rounded_sum?: number;
|
|
6069
6076
|
return_total_before_tax?: number;
|
|
6077
|
+
return_total_before_deduction_and_tax?: number;
|
|
6070
6078
|
return_taxable_amount_float?: number;
|
|
6071
6079
|
return_taxable_amount_float_rounded?: number;
|
|
6072
6080
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6252,6 +6260,12 @@ export declare namespace Service {
|
|
|
6252
6260
|
total_float_rounded?: number;
|
|
6253
6261
|
total_float_rounded_sum?: number;
|
|
6254
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;
|
|
6255
6269
|
taxable_amount_float?: number;
|
|
6256
6270
|
taxable_amount_float_rounded_sum?: number;
|
|
6257
6271
|
taxable_amount_float_rounded?: number;
|
|
@@ -6264,6 +6278,7 @@ export declare namespace Service {
|
|
|
6264
6278
|
pre_total_float_rounded?: number;
|
|
6265
6279
|
pre_total_float_rounded_sum?: number;
|
|
6266
6280
|
pre_total_before_tax?: number;
|
|
6281
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6267
6282
|
pre_taxable_amount_float?: number;
|
|
6268
6283
|
pre_taxable_amount_float_rounded?: number;
|
|
6269
6284
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6276,6 +6291,7 @@ export declare namespace Service {
|
|
|
6276
6291
|
return_total_float_rounded?: number;
|
|
6277
6292
|
return_total_float_rounded_sum?: number;
|
|
6278
6293
|
return_total_before_tax?: number;
|
|
6294
|
+
return_total_before_deduction_and_tax?: number;
|
|
6279
6295
|
return_taxable_amount_float?: number;
|
|
6280
6296
|
return_taxable_amount_float_rounded?: number;
|
|
6281
6297
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6649,6 +6665,12 @@ export declare namespace Service {
|
|
|
6649
6665
|
total_float_rounded?: number;
|
|
6650
6666
|
total_float_rounded_sum?: number;
|
|
6651
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;
|
|
6652
6674
|
taxable_amount_float?: number;
|
|
6653
6675
|
taxable_amount_float_rounded_sum?: number;
|
|
6654
6676
|
taxable_amount_float_rounded?: number;
|
|
@@ -6661,6 +6683,7 @@ export declare namespace Service {
|
|
|
6661
6683
|
pre_total_float_rounded?: number;
|
|
6662
6684
|
pre_total_float_rounded_sum?: number;
|
|
6663
6685
|
pre_total_before_tax?: number;
|
|
6686
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6664
6687
|
pre_taxable_amount_float?: number;
|
|
6665
6688
|
pre_taxable_amount_float_rounded?: number;
|
|
6666
6689
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6673,6 +6696,7 @@ export declare namespace Service {
|
|
|
6673
6696
|
return_total_float_rounded?: number;
|
|
6674
6697
|
return_total_float_rounded_sum?: number;
|
|
6675
6698
|
return_total_before_tax?: number;
|
|
6699
|
+
return_total_before_deduction_and_tax?: number;
|
|
6676
6700
|
return_taxable_amount_float?: number;
|
|
6677
6701
|
return_taxable_amount_float_rounded?: number;
|
|
6678
6702
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6819,6 +6843,17 @@ export declare namespace Service {
|
|
|
6819
6843
|
taxable_subtotal: number;
|
|
6820
6844
|
tax_amount: number;
|
|
6821
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;
|
|
6822
6857
|
pre_subtotal?: number;
|
|
6823
6858
|
pre_discount_amount?: number;
|
|
6824
6859
|
pre_taxable_subtotal?: number;
|
|
@@ -6932,6 +6967,17 @@ export declare namespace Service {
|
|
|
6932
6967
|
taxable_subtotal: number;
|
|
6933
6968
|
tax_amount: number;
|
|
6934
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;
|
|
6935
6981
|
pre_subtotal?: number;
|
|
6936
6982
|
pre_discount_amount?: number;
|
|
6937
6983
|
pre_taxable_subtotal?: number;
|
|
@@ -7046,6 +7092,17 @@ export declare namespace Service {
|
|
|
7046
7092
|
taxable_subtotal?: number;
|
|
7047
7093
|
tax_amount?: number;
|
|
7048
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;
|
|
7049
7106
|
pre_subtotal?: number;
|
|
7050
7107
|
pre_discount_amount?: number;
|
|
7051
7108
|
pre_taxable_subtotal?: number;
|
|
@@ -11240,6 +11297,12 @@ export declare namespace Service {
|
|
|
11240
11297
|
total_float_rounded?: number;
|
|
11241
11298
|
total_float_rounded_sum?: number;
|
|
11242
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;
|
|
11243
11306
|
taxable_amount_float?: number;
|
|
11244
11307
|
taxable_amount_float_rounded_sum?: number;
|
|
11245
11308
|
taxable_amount_float_rounded?: number;
|
|
@@ -11257,6 +11320,7 @@ export declare namespace Service {
|
|
|
11257
11320
|
pre_total_float_rounded?: number;
|
|
11258
11321
|
pre_total_float_rounded_sum?: number;
|
|
11259
11322
|
pre_total_before_tax?: number;
|
|
11323
|
+
pre_total_before_deduction_and_tax?: number;
|
|
11260
11324
|
pre_taxable_amount_float?: number;
|
|
11261
11325
|
pre_taxable_amount_float_rounded?: number;
|
|
11262
11326
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -11274,6 +11338,7 @@ export declare namespace Service {
|
|
|
11274
11338
|
return_total_float_rounded?: number;
|
|
11275
11339
|
return_total_float_rounded_sum?: number;
|
|
11276
11340
|
return_total_before_tax?: number;
|
|
11341
|
+
return_total_before_deduction_and_tax?: number;
|
|
11277
11342
|
return_taxable_amount_float?: number;
|
|
11278
11343
|
return_taxable_amount_float_rounded?: number;
|
|
11279
11344
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -11447,6 +11512,12 @@ export declare namespace Service {
|
|
|
11447
11512
|
total_float_rounded?: number;
|
|
11448
11513
|
total_float_rounded_sum?: number;
|
|
11449
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;
|
|
11450
11521
|
taxable_amount_float?: number;
|
|
11451
11522
|
taxable_amount_float_rounded_sum?: number;
|
|
11452
11523
|
taxable_amount_float_rounded?: number;
|
|
@@ -11464,6 +11535,7 @@ export declare namespace Service {
|
|
|
11464
11535
|
pre_total_float_rounded?: number;
|
|
11465
11536
|
pre_total_float_rounded_sum?: number;
|
|
11466
11537
|
pre_total_before_tax?: number;
|
|
11538
|
+
pre_total_before_deduction_and_tax?: number;
|
|
11467
11539
|
pre_taxable_amount_float?: number;
|
|
11468
11540
|
pre_taxable_amount_float_rounded?: number;
|
|
11469
11541
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -11481,6 +11553,7 @@ export declare namespace Service {
|
|
|
11481
11553
|
return_total_float_rounded?: number;
|
|
11482
11554
|
return_total_float_rounded_sum?: number;
|
|
11483
11555
|
return_total_before_tax?: number;
|
|
11556
|
+
return_total_before_deduction_and_tax?: number;
|
|
11484
11557
|
return_taxable_amount_float?: number;
|
|
11485
11558
|
return_taxable_amount_float_rounded?: number;
|
|
11486
11559
|
return_taxable_amount_float_rounded_sum?: number;
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -6683,6 +6683,12 @@ export namespace Service {
|
|
|
6683
6683
|
total_float_rounded?: number;
|
|
6684
6684
|
total_float_rounded_sum?: number;
|
|
6685
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;
|
|
6686
6692
|
taxable_amount_float?: number;
|
|
6687
6693
|
taxable_amount_float_rounded_sum?: number;
|
|
6688
6694
|
taxable_amount_float_rounded?: number;
|
|
@@ -6695,6 +6701,7 @@ export namespace Service {
|
|
|
6695
6701
|
pre_total_float_rounded?: number;
|
|
6696
6702
|
pre_total_float_rounded_sum?: number;
|
|
6697
6703
|
pre_total_before_tax?: number;
|
|
6704
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6698
6705
|
pre_taxable_amount_float?: number;
|
|
6699
6706
|
pre_taxable_amount_float_rounded?: number;
|
|
6700
6707
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6707,6 +6714,7 @@ export namespace Service {
|
|
|
6707
6714
|
return_total_float_rounded?: number;
|
|
6708
6715
|
return_total_float_rounded_sum?: number;
|
|
6709
6716
|
return_total_before_tax?: number;
|
|
6717
|
+
return_total_before_deduction_and_tax?: number;
|
|
6710
6718
|
return_taxable_amount_float?: number;
|
|
6711
6719
|
return_taxable_amount_float_rounded?: number;
|
|
6712
6720
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6875,6 +6883,12 @@ export namespace Service {
|
|
|
6875
6883
|
total_float_rounded?: number;
|
|
6876
6884
|
total_float_rounded_sum?: number;
|
|
6877
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;
|
|
6878
6892
|
taxable_amount_float?: number;
|
|
6879
6893
|
taxable_amount_float_rounded_sum?: number;
|
|
6880
6894
|
taxable_amount_float_rounded?: number;
|
|
@@ -6887,6 +6901,7 @@ export namespace Service {
|
|
|
6887
6901
|
pre_total_float_rounded?: number;
|
|
6888
6902
|
pre_total_float_rounded_sum?: number;
|
|
6889
6903
|
pre_total_before_tax?: number;
|
|
6904
|
+
pre_total_before_deduction_and_tax?: number;
|
|
6890
6905
|
pre_taxable_amount_float?: number;
|
|
6891
6906
|
pre_taxable_amount_float_rounded?: number;
|
|
6892
6907
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -6899,6 +6914,7 @@ export namespace Service {
|
|
|
6899
6914
|
return_total_float_rounded?: number;
|
|
6900
6915
|
return_total_float_rounded_sum?: number;
|
|
6901
6916
|
return_total_before_tax?: number;
|
|
6917
|
+
return_total_before_deduction_and_tax?: number;
|
|
6902
6918
|
return_taxable_amount_float?: number;
|
|
6903
6919
|
return_taxable_amount_float_rounded?: number;
|
|
6904
6920
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -7240,6 +7256,12 @@ export namespace Service {
|
|
|
7240
7256
|
total_float_rounded?: number;
|
|
7241
7257
|
total_float_rounded_sum?: number;
|
|
7242
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;
|
|
7243
7265
|
taxable_amount_float?: number;
|
|
7244
7266
|
taxable_amount_float_rounded_sum?: number;
|
|
7245
7267
|
taxable_amount_float_rounded?: number;
|
|
@@ -7252,6 +7274,7 @@ export namespace Service {
|
|
|
7252
7274
|
pre_total_float_rounded?: number;
|
|
7253
7275
|
pre_total_float_rounded_sum?: number;
|
|
7254
7276
|
pre_total_before_tax?: number;
|
|
7277
|
+
pre_total_before_deduction_and_tax?: number;
|
|
7255
7278
|
pre_taxable_amount_float?: number;
|
|
7256
7279
|
pre_taxable_amount_float_rounded?: number;
|
|
7257
7280
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -7264,6 +7287,7 @@ export namespace Service {
|
|
|
7264
7287
|
return_total_float_rounded?: number;
|
|
7265
7288
|
return_total_float_rounded_sum?: number;
|
|
7266
7289
|
return_total_before_tax?: number;
|
|
7290
|
+
return_total_before_deduction_and_tax?: number;
|
|
7267
7291
|
return_taxable_amount_float?: number;
|
|
7268
7292
|
return_taxable_amount_float_rounded?: number;
|
|
7269
7293
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -7428,6 +7452,17 @@ export namespace Service {
|
|
|
7428
7452
|
taxable_subtotal: number;
|
|
7429
7453
|
tax_amount: number;
|
|
7430
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;
|
|
7431
7466
|
pre_subtotal?: number;
|
|
7432
7467
|
pre_discount_amount?: number;
|
|
7433
7468
|
pre_taxable_subtotal?: number;
|
|
@@ -7533,6 +7568,17 @@ export namespace Service {
|
|
|
7533
7568
|
taxable_subtotal: number;
|
|
7534
7569
|
tax_amount: number;
|
|
7535
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;
|
|
7536
7582
|
pre_subtotal?: number;
|
|
7537
7583
|
pre_discount_amount?: number;
|
|
7538
7584
|
pre_taxable_subtotal?: number;
|
|
@@ -7639,6 +7685,17 @@ export namespace Service {
|
|
|
7639
7685
|
taxable_subtotal?: number;
|
|
7640
7686
|
tax_amount?: number;
|
|
7641
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;
|
|
7642
7699
|
pre_subtotal?: number;
|
|
7643
7700
|
pre_discount_amount?: number;
|
|
7644
7701
|
pre_taxable_subtotal?: number;
|
|
@@ -11948,6 +12005,12 @@ export namespace Service {
|
|
|
11948
12005
|
total_float_rounded?: number;
|
|
11949
12006
|
total_float_rounded_sum?: number;
|
|
11950
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;
|
|
11951
12014
|
taxable_amount_float?: number;
|
|
11952
12015
|
taxable_amount_float_rounded_sum?: number;
|
|
11953
12016
|
taxable_amount_float_rounded?: number;
|
|
@@ -11965,6 +12028,7 @@ export namespace Service {
|
|
|
11965
12028
|
pre_total_float_rounded?: number;
|
|
11966
12029
|
pre_total_float_rounded_sum?: number;
|
|
11967
12030
|
pre_total_before_tax?: number;
|
|
12031
|
+
pre_total_before_deduction_and_tax?: number;
|
|
11968
12032
|
pre_taxable_amount_float?: number;
|
|
11969
12033
|
pre_taxable_amount_float_rounded?: number;
|
|
11970
12034
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -11982,6 +12046,7 @@ export namespace Service {
|
|
|
11982
12046
|
return_total_float_rounded?: number;
|
|
11983
12047
|
return_total_float_rounded_sum?: number;
|
|
11984
12048
|
return_total_before_tax?: number;
|
|
12049
|
+
return_total_before_deduction_and_tax?: number;
|
|
11985
12050
|
return_taxable_amount_float?: number;
|
|
11986
12051
|
return_taxable_amount_float_rounded?: number;
|
|
11987
12052
|
return_taxable_amount_float_rounded_sum?: number;
|
|
@@ -12129,6 +12194,12 @@ export namespace Service {
|
|
|
12129
12194
|
total_float_rounded?: number;
|
|
12130
12195
|
total_float_rounded_sum?: number;
|
|
12131
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;
|
|
12132
12203
|
taxable_amount_float?: number;
|
|
12133
12204
|
taxable_amount_float_rounded_sum?: number;
|
|
12134
12205
|
taxable_amount_float_rounded?: number;
|
|
@@ -12146,6 +12217,7 @@ export namespace Service {
|
|
|
12146
12217
|
pre_total_float_rounded?: number;
|
|
12147
12218
|
pre_total_float_rounded_sum?: number;
|
|
12148
12219
|
pre_total_before_tax?: number;
|
|
12220
|
+
pre_total_before_deduction_and_tax?: number;
|
|
12149
12221
|
pre_taxable_amount_float?: number;
|
|
12150
12222
|
pre_taxable_amount_float_rounded?: number;
|
|
12151
12223
|
pre_taxable_amount_float_rounded_sum?: number;
|
|
@@ -12163,6 +12235,7 @@ export namespace Service {
|
|
|
12163
12235
|
return_total_float_rounded?: number;
|
|
12164
12236
|
return_total_float_rounded_sum?: number;
|
|
12165
12237
|
return_total_before_tax?: number;
|
|
12238
|
+
return_total_before_deduction_and_tax?: number;
|
|
12166
12239
|
return_taxable_amount_float?: number;
|
|
12167
12240
|
return_taxable_amount_float_rounded?: number;
|
|
12168
12241
|
return_taxable_amount_float_rounded_sum?: number;
|