@epilot/pricing-client 3.15.3 → 3.16.1
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/definition.js +1 -1
- package/dist/index.js +5 -1
- package/dist/openapi-runtime.json +0 -17
- package/dist/openapi.d.ts +81 -517
- package/dist/openapi.json +101 -561
- package/package.json +6 -6
package/dist/openapi.json
CHANGED
|
@@ -105,6 +105,9 @@
|
|
|
105
105
|
{
|
|
106
106
|
"url": "https://pricing-api.sls.epilot.io"
|
|
107
107
|
},
|
|
108
|
+
{
|
|
109
|
+
"url": "https://pricing-api.sls.epilot.io"
|
|
110
|
+
},
|
|
108
111
|
{
|
|
109
112
|
"url": "https://pricing-api.sls.epilot.io"
|
|
110
113
|
}
|
|
@@ -191,147 +194,6 @@
|
|
|
191
194
|
}
|
|
192
195
|
]
|
|
193
196
|
}
|
|
194
|
-
},
|
|
195
|
-
"Order with Simple Prices and Dynamic Pricing": {
|
|
196
|
-
"value": {
|
|
197
|
-
"status": "quote",
|
|
198
|
-
"source_type": "manual",
|
|
199
|
-
"expires_at": "2022-06-30T16:17:00.000Z",
|
|
200
|
-
"line_items": [
|
|
201
|
-
{
|
|
202
|
-
"price_id": "632b18b5-3f50-4231-b8d5-f8c33a392ed0",
|
|
203
|
-
"product_id": "3d1c9987-a7ae-4c1c-a7ef-e12caccab4e0",
|
|
204
|
-
"price_mappings": [
|
|
205
|
-
{
|
|
206
|
-
"price_id": "632b18b5-3f50-4231-b8d5-f8c33a392ed0",
|
|
207
|
-
"frequency_unit": "yearly",
|
|
208
|
-
"value": 12000,
|
|
209
|
-
"name": "Estimated consumption",
|
|
210
|
-
"metadata": {
|
|
211
|
-
"journey_title": "P&G",
|
|
212
|
-
"step_name": "Number Inputs"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
],
|
|
216
|
-
"quantity": 16
|
|
217
|
-
}
|
|
218
|
-
],
|
|
219
|
-
"currency": "EUR",
|
|
220
|
-
"payment_method": [
|
|
221
|
-
{
|
|
222
|
-
"type": "IBAN",
|
|
223
|
-
"details": {}
|
|
224
|
-
}
|
|
225
|
-
],
|
|
226
|
-
"billing_contact": {
|
|
227
|
-
"$relation": [
|
|
228
|
-
{
|
|
229
|
-
"entity_id": "1834a54e-b68f-4f7f-a98a-fe16f11bc2a5",
|
|
230
|
-
"_tags": []
|
|
231
|
-
}
|
|
232
|
-
]
|
|
233
|
-
},
|
|
234
|
-
"billing_first_name": "Joao",
|
|
235
|
-
"billing_last_name": "Pinho",
|
|
236
|
-
"billing_email": "j.pinho@epilot.cloud",
|
|
237
|
-
"billing_company_name": "epilot cloud",
|
|
238
|
-
"billing_address": [
|
|
239
|
-
{
|
|
240
|
-
"_tags": [],
|
|
241
|
-
"street": "Im Media Park",
|
|
242
|
-
"street_number": "8a",
|
|
243
|
-
"postal_code": "52000",
|
|
244
|
-
"city": "Cologne",
|
|
245
|
-
"country": "DE",
|
|
246
|
-
"additional_info": ""
|
|
247
|
-
}
|
|
248
|
-
],
|
|
249
|
-
"delivery_address": [],
|
|
250
|
-
"dates": [
|
|
251
|
-
{
|
|
252
|
-
"_tags": [
|
|
253
|
-
"Instalation Date"
|
|
254
|
-
],
|
|
255
|
-
"dates": "",
|
|
256
|
-
"value": "2022-06-30T16:29:00.000Z"
|
|
257
|
-
}
|
|
258
|
-
]
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
"Order with Composite Prices and Dynamic Pricing": {
|
|
262
|
-
"value": {
|
|
263
|
-
"status": "quote",
|
|
264
|
-
"source_type": "manual",
|
|
265
|
-
"expires_at": "2022-06-30T16:17:00.000Z",
|
|
266
|
-
"line_items": [
|
|
267
|
-
{
|
|
268
|
-
"price_id": "b3900bf3-020c-4c58-8af9-32f2682929e3",
|
|
269
|
-
"product_id": "924f6881-7ae3-4e2e-a1dd-2d81b8fa2e32",
|
|
270
|
-
"price_mappings": [
|
|
271
|
-
{
|
|
272
|
-
"price_id": "6dc88d6f-ba33-45ee-b5d0-62641344a0d9",
|
|
273
|
-
"frequency_unit": "yearly",
|
|
274
|
-
"value": 12000,
|
|
275
|
-
"name": "Estimated consumption",
|
|
276
|
-
"metadata": {
|
|
277
|
-
"journey_title": "P&G",
|
|
278
|
-
"step_name": "Number Inputs"
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"price_id": "60eb12cd-703d-4d41-9265-577ff657bfc9",
|
|
283
|
-
"value": 10,
|
|
284
|
-
"name": "Distance to power meter",
|
|
285
|
-
"metadata": {
|
|
286
|
-
"journey_title": "P&G",
|
|
287
|
-
"step_name": "Number Inputs"
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
],
|
|
291
|
-
"quantity": 1
|
|
292
|
-
}
|
|
293
|
-
],
|
|
294
|
-
"currency": "EUR",
|
|
295
|
-
"payment_method": [
|
|
296
|
-
{
|
|
297
|
-
"type": "IBAN",
|
|
298
|
-
"details": {}
|
|
299
|
-
}
|
|
300
|
-
],
|
|
301
|
-
"billing_contact": {
|
|
302
|
-
"$relation": [
|
|
303
|
-
{
|
|
304
|
-
"entity_id": "1834a54e-b68f-4f7f-a98a-fe16f11bc2a5",
|
|
305
|
-
"_tags": []
|
|
306
|
-
}
|
|
307
|
-
]
|
|
308
|
-
},
|
|
309
|
-
"billing_first_name": "Joao",
|
|
310
|
-
"billing_last_name": "Pinho",
|
|
311
|
-
"billing_email": "j.pinho@epilot.cloud",
|
|
312
|
-
"billing_company_name": "epilot cloud",
|
|
313
|
-
"billing_address": [
|
|
314
|
-
{
|
|
315
|
-
"_tags": [],
|
|
316
|
-
"street": "Im Media Park",
|
|
317
|
-
"street_number": "8a",
|
|
318
|
-
"postal_code": "52000",
|
|
319
|
-
"city": "Cologne",
|
|
320
|
-
"country": "DE",
|
|
321
|
-
"additional_info": ""
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
"delivery_address": [],
|
|
325
|
-
"dates": [
|
|
326
|
-
{
|
|
327
|
-
"_tags": [
|
|
328
|
-
"Instalation Date"
|
|
329
|
-
],
|
|
330
|
-
"dates": "",
|
|
331
|
-
"value": "2022-06-30T16:29:00.000Z"
|
|
332
|
-
}
|
|
333
|
-
]
|
|
334
|
-
}
|
|
335
197
|
}
|
|
336
198
|
},
|
|
337
199
|
"schema": {
|
|
@@ -733,77 +595,6 @@
|
|
|
733
595
|
}
|
|
734
596
|
}
|
|
735
597
|
},
|
|
736
|
-
"/v1/validate-availability/{id}": {
|
|
737
|
-
"get": {
|
|
738
|
-
"description": "Validates an availability file, it returns an array of errors if the file is invalid",
|
|
739
|
-
"operationId": "$validateAvailabilityFile",
|
|
740
|
-
"summary": "validateAvailabilityFile",
|
|
741
|
-
"tags": [
|
|
742
|
-
"Availability API"
|
|
743
|
-
],
|
|
744
|
-
"parameters": [
|
|
745
|
-
{
|
|
746
|
-
"in": "path",
|
|
747
|
-
"name": "id",
|
|
748
|
-
"description": "Product ID that the Availability File is attached to",
|
|
749
|
-
"schema": {
|
|
750
|
-
"type": "string"
|
|
751
|
-
},
|
|
752
|
-
"required": true,
|
|
753
|
-
"example": "72c803b2-2e5d-4bd6-bffc-fad998bbbe36"
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
"in": "header",
|
|
757
|
-
"name": "X-Epilot-Org-ID",
|
|
758
|
-
"description": "The target Organization Id represented by the caller",
|
|
759
|
-
"schema": {
|
|
760
|
-
"type": "string"
|
|
761
|
-
},
|
|
762
|
-
"required": true,
|
|
763
|
-
"example": 739224
|
|
764
|
-
}
|
|
765
|
-
],
|
|
766
|
-
"responses": {
|
|
767
|
-
"200": {
|
|
768
|
-
"description": "The availability get result",
|
|
769
|
-
"content": {
|
|
770
|
-
"application/json": {
|
|
771
|
-
"schema": {
|
|
772
|
-
"$ref": "#/components/schemas/ValidateAvailabilityFileResult"
|
|
773
|
-
},
|
|
774
|
-
"examples": {
|
|
775
|
-
"Response when file has no errors": {
|
|
776
|
-
"value": {
|
|
777
|
-
"number_of_rules_parsed": 10,
|
|
778
|
-
"errors": []
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
"Response when file has errors": {
|
|
782
|
-
"value": {
|
|
783
|
-
"number_of_rules_parsed": 8,
|
|
784
|
-
"errors": [
|
|
785
|
-
"File must be UTF-8 encoded",
|
|
786
|
-
"Line 3 - Postal code is missing or invalid"
|
|
787
|
-
]
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
},
|
|
794
|
-
"400": {
|
|
795
|
-
"description": "Invalid payload",
|
|
796
|
-
"content": {
|
|
797
|
-
"application/json": {
|
|
798
|
-
"schema": {
|
|
799
|
-
"$ref": "#/components/schemas/Error"
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
},
|
|
807
598
|
"/v1/public/opportunity": {
|
|
808
599
|
"post": {
|
|
809
600
|
"deprecated": true,
|
|
@@ -933,10 +724,6 @@
|
|
|
933
724
|
"$ref": "#/components/examples/product"
|
|
934
725
|
},
|
|
935
726
|
"properties": {
|
|
936
|
-
"description": {
|
|
937
|
-
"type": "string",
|
|
938
|
-
"description": "The description for the product"
|
|
939
|
-
},
|
|
940
727
|
"code": {
|
|
941
728
|
"type": "string",
|
|
942
729
|
"description": "The product code"
|
|
@@ -1481,31 +1268,17 @@
|
|
|
1481
1268
|
"description": "The flag for prices that contain price components.",
|
|
1482
1269
|
"type": "boolean"
|
|
1483
1270
|
},
|
|
1484
|
-
"
|
|
1271
|
+
"billing_scheme": {
|
|
1485
1272
|
"type": "string",
|
|
1486
|
-
"description": "Describes how to compute the price per period. Either `per_unit
|
|
1273
|
+
"description": "Describes how to compute the price per period. Either `per_unit` or `tiered`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the tiers and tiers_mode attributes.\n\n⚠️ Tiered pricing is **not supported** yet.\n",
|
|
1487
1274
|
"enum": [
|
|
1488
|
-
"per_unit"
|
|
1489
|
-
"tiered_graduated",
|
|
1490
|
-
"tiered_volume",
|
|
1491
|
-
"tiered_flatfee"
|
|
1275
|
+
"per_unit"
|
|
1492
1276
|
]
|
|
1493
1277
|
},
|
|
1494
|
-
"tiers": {
|
|
1495
|
-
"description": "Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee.\n",
|
|
1496
|
-
"type": "array",
|
|
1497
|
-
"items": {
|
|
1498
|
-
"$ref": "#/components/schemas/PriceTier"
|
|
1499
|
-
}
|
|
1500
|
-
},
|
|
1501
1278
|
"description": {
|
|
1502
1279
|
"type": "string",
|
|
1503
1280
|
"description": "A brief description of the price."
|
|
1504
1281
|
},
|
|
1505
|
-
"long_description": {
|
|
1506
|
-
"type": "string",
|
|
1507
|
-
"description": "A detailed description of the price. This is shown on the order document and order table."
|
|
1508
|
-
},
|
|
1509
1282
|
"sales_tax": {
|
|
1510
1283
|
"deprecated": true,
|
|
1511
1284
|
"description": "The default tax rate applicable to the product.\nThis field is deprecated, use the new `tax` attribute.\n",
|
|
@@ -1537,9 +1310,20 @@
|
|
|
1537
1310
|
}
|
|
1538
1311
|
]
|
|
1539
1312
|
},
|
|
1540
|
-
"
|
|
1541
|
-
"type": "
|
|
1542
|
-
"description": "Specifies whether the price is considered `inclusive` of taxes or
|
|
1313
|
+
"tax_behavior": {
|
|
1314
|
+
"type": "string",
|
|
1315
|
+
"description": "Specifies whether the price is considered `inclusive` of taxes or `exclusive` of taxes.\nOne of `inclusive`, `exclusive`, or `unspecified`.\n",
|
|
1316
|
+
"enum": [
|
|
1317
|
+
"inclusive",
|
|
1318
|
+
"exclusive"
|
|
1319
|
+
]
|
|
1320
|
+
},
|
|
1321
|
+
"tiers_mode": {
|
|
1322
|
+
"description": "Defines the tiered pricing type of the price.",
|
|
1323
|
+
"type": "string",
|
|
1324
|
+
"enum": [
|
|
1325
|
+
"standard"
|
|
1326
|
+
]
|
|
1543
1327
|
},
|
|
1544
1328
|
"type": {
|
|
1545
1329
|
"type": "string",
|
|
@@ -1649,15 +1433,7 @@
|
|
|
1649
1433
|
"kwh",
|
|
1650
1434
|
"m",
|
|
1651
1435
|
"m2",
|
|
1652
|
-
"l"
|
|
1653
|
-
"cubic-meter",
|
|
1654
|
-
"cubic-meter-h",
|
|
1655
|
-
"ls",
|
|
1656
|
-
"a",
|
|
1657
|
-
"kva",
|
|
1658
|
-
"w",
|
|
1659
|
-
"wp",
|
|
1660
|
-
"kwp"
|
|
1436
|
+
"l"
|
|
1661
1437
|
]
|
|
1662
1438
|
},
|
|
1663
1439
|
{
|
|
@@ -1693,10 +1469,7 @@
|
|
|
1693
1469
|
"type": "string"
|
|
1694
1470
|
}
|
|
1695
1471
|
}
|
|
1696
|
-
}
|
|
1697
|
-
"required": [
|
|
1698
|
-
"pricing_model"
|
|
1699
|
-
]
|
|
1472
|
+
}
|
|
1700
1473
|
},
|
|
1701
1474
|
"CompositePrice": {
|
|
1702
1475
|
"type": "object",
|
|
@@ -1820,65 +1593,6 @@
|
|
|
1820
1593
|
]
|
|
1821
1594
|
}
|
|
1822
1595
|
},
|
|
1823
|
-
"PriceInputMappings": {
|
|
1824
|
-
"type": "array",
|
|
1825
|
-
"items": {
|
|
1826
|
-
"$ref": "#/components/schemas/PriceInputMapping"
|
|
1827
|
-
},
|
|
1828
|
-
"example": [
|
|
1829
|
-
{
|
|
1830
|
-
"price_id": "589B011B-F8D9-4F8E-AD71-BACE4B543C0F",
|
|
1831
|
-
"frequency_unit": "weekly",
|
|
1832
|
-
"value": 1000.245,
|
|
1833
|
-
"name": "avg consumption",
|
|
1834
|
-
"metadata": {
|
|
1835
|
-
"journey_title": "energy journey",
|
|
1836
|
-
"step_name": "avg consumption picker"
|
|
1837
|
-
}
|
|
1838
|
-
}
|
|
1839
|
-
]
|
|
1840
|
-
},
|
|
1841
|
-
"PriceInputMapping": {
|
|
1842
|
-
"type": "object",
|
|
1843
|
-
"properties": {
|
|
1844
|
-
"price_id": {
|
|
1845
|
-
"type": "string"
|
|
1846
|
-
},
|
|
1847
|
-
"frequency_unit": {
|
|
1848
|
-
"type": "string",
|
|
1849
|
-
"enum": [
|
|
1850
|
-
"weekly",
|
|
1851
|
-
"monthly",
|
|
1852
|
-
"every_quarter",
|
|
1853
|
-
"every_6_months",
|
|
1854
|
-
"yearly",
|
|
1855
|
-
"one_time"
|
|
1856
|
-
]
|
|
1857
|
-
},
|
|
1858
|
-
"name": {
|
|
1859
|
-
"type": "string"
|
|
1860
|
-
},
|
|
1861
|
-
"value": {
|
|
1862
|
-
"type": "number"
|
|
1863
|
-
},
|
|
1864
|
-
"metadata": {
|
|
1865
|
-
"type": "object",
|
|
1866
|
-
"additionalProperties": {
|
|
1867
|
-
"type": "string"
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
|
-
},
|
|
1871
|
-
"example": {
|
|
1872
|
-
"price_id": "589B011B-F8D9-4F8E-AD71-BACE4B543C0F",
|
|
1873
|
-
"frequency_unit": "weekly",
|
|
1874
|
-
"value": 1000.245,
|
|
1875
|
-
"name": "avg consumption",
|
|
1876
|
-
"metadata": {
|
|
1877
|
-
"journey_title": "energy journey",
|
|
1878
|
-
"step_name": "avg consumption picker"
|
|
1879
|
-
}
|
|
1880
|
-
}
|
|
1881
|
-
},
|
|
1882
1596
|
"CatalogSearch": {
|
|
1883
1597
|
"description": "A catalog search payload",
|
|
1884
1598
|
"type": "object",
|
|
@@ -2039,65 +1753,6 @@
|
|
|
2039
1753
|
]
|
|
2040
1754
|
}
|
|
2041
1755
|
},
|
|
2042
|
-
"ValidateAvailabilityFileError": {
|
|
2043
|
-
"description": "The availability rule error",
|
|
2044
|
-
"type": "object",
|
|
2045
|
-
"properties": {
|
|
2046
|
-
"line": {
|
|
2047
|
-
"description": "The line number where the error was found",
|
|
2048
|
-
"type": "number"
|
|
2049
|
-
},
|
|
2050
|
-
"msg": {
|
|
2051
|
-
"description": "The error message",
|
|
2052
|
-
"type": "string"
|
|
2053
|
-
},
|
|
2054
|
-
"data": {
|
|
2055
|
-
"description": "Data related to the error",
|
|
2056
|
-
"type": "string"
|
|
2057
|
-
}
|
|
2058
|
-
},
|
|
2059
|
-
"required": [
|
|
2060
|
-
"msg"
|
|
2061
|
-
]
|
|
2062
|
-
},
|
|
2063
|
-
"ValidateAvailabilityFileResult": {
|
|
2064
|
-
"description": "The availability map file result payload",
|
|
2065
|
-
"type": "object",
|
|
2066
|
-
"properties": {
|
|
2067
|
-
"status": {
|
|
2068
|
-
"description": "The status of the validation",
|
|
2069
|
-
"type": "string",
|
|
2070
|
-
"enum": [
|
|
2071
|
-
"success",
|
|
2072
|
-
"error"
|
|
2073
|
-
]
|
|
2074
|
-
},
|
|
2075
|
-
"rules_parsed_count": {
|
|
2076
|
-
"description": "The number of rules successfully parsed",
|
|
2077
|
-
"type": "number"
|
|
2078
|
-
},
|
|
2079
|
-
"errors": {
|
|
2080
|
-
"description": "The errors found on the file",
|
|
2081
|
-
"type": "array",
|
|
2082
|
-
"items": {
|
|
2083
|
-
"$ref": "#/components/schemas/ValidateAvailabilityFileError"
|
|
2084
|
-
}
|
|
2085
|
-
}
|
|
2086
|
-
},
|
|
2087
|
-
"required": [
|
|
2088
|
-
"status",
|
|
2089
|
-
"rules_parsed_count",
|
|
2090
|
-
"errors"
|
|
2091
|
-
],
|
|
2092
|
-
"example": {
|
|
2093
|
-
"rules_parsed_count": 8,
|
|
2094
|
-
"errors": [
|
|
2095
|
-
"File must be UTF-8 encoded",
|
|
2096
|
-
"Error on line 3 - street_number must be of type number",
|
|
2097
|
-
"Error on line 6 - start_date cant be greater than end_date"
|
|
2098
|
-
]
|
|
2099
|
-
}
|
|
2100
|
-
},
|
|
2101
1756
|
"CartDto": {
|
|
2102
1757
|
"description": "A valid cart payload from a client.",
|
|
2103
1758
|
"properties": {
|
|
@@ -2221,12 +1876,9 @@
|
|
|
2221
1876
|
"description": "A valid set of product prices, quantities, (discounts) and taxes from a client.",
|
|
2222
1877
|
"type": "array",
|
|
2223
1878
|
"items": {
|
|
2224
|
-
"
|
|
1879
|
+
"oneOf": [
|
|
2225
1880
|
{
|
|
2226
1881
|
"$ref": "#/components/schemas/PriceItemDto"
|
|
2227
|
-
},
|
|
2228
|
-
{
|
|
2229
|
-
"$ref": "#/components/schemas/CompositePriceItemDto"
|
|
2230
1882
|
}
|
|
2231
1883
|
]
|
|
2232
1884
|
}
|
|
@@ -2242,10 +1894,6 @@
|
|
|
2242
1894
|
"type": "integer",
|
|
2243
1895
|
"description": "The quantity of products being purchased."
|
|
2244
1896
|
},
|
|
2245
|
-
"price_mappings": {
|
|
2246
|
-
"description": "Price mapping information required to compute totals",
|
|
2247
|
-
"$ref": "#/components/schemas/PriceInputMappings"
|
|
2248
|
-
},
|
|
2249
1897
|
"description": {
|
|
2250
1898
|
"type": "string",
|
|
2251
1899
|
"description": "An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name."
|
|
@@ -2317,27 +1965,10 @@
|
|
|
2317
1965
|
"type": "integer",
|
|
2318
1966
|
"description": "The unit amount value"
|
|
2319
1967
|
},
|
|
2320
|
-
"unit_amount_gross": {
|
|
2321
|
-
"type": "integer",
|
|
2322
|
-
"description": "The unit gross amount value."
|
|
2323
|
-
},
|
|
2324
|
-
"unit_amount_currency": {
|
|
2325
|
-
"$ref": "#/components/schemas/Currency"
|
|
2326
|
-
},
|
|
2327
1968
|
"unit_amount_decimal": {
|
|
2328
1969
|
"description": "The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.",
|
|
2329
1970
|
"type": "string"
|
|
2330
1971
|
},
|
|
2331
|
-
"pricing_model": {
|
|
2332
|
-
"type": "string",
|
|
2333
|
-
"description": "Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n",
|
|
2334
|
-
"enum": [
|
|
2335
|
-
"per_unit",
|
|
2336
|
-
"tiered_graduated",
|
|
2337
|
-
"tiered_volume",
|
|
2338
|
-
"tiered_flatfee"
|
|
2339
|
-
]
|
|
2340
|
-
},
|
|
2341
1972
|
"_price": {
|
|
2342
1973
|
"description": "The snapshot of the price linked to the price item.",
|
|
2343
1974
|
"allOf": [
|
|
@@ -2346,10 +1977,7 @@
|
|
|
2346
1977
|
}
|
|
2347
1978
|
]
|
|
2348
1979
|
}
|
|
2349
|
-
}
|
|
2350
|
-
"required": [
|
|
2351
|
-
"pricing_model"
|
|
2352
|
-
]
|
|
1980
|
+
}
|
|
2353
1981
|
},
|
|
2354
1982
|
"CompositePriceItemDto": {
|
|
2355
1983
|
"allOf": [
|
|
@@ -2421,11 +2049,6 @@
|
|
|
2421
2049
|
"RecurrenceAmountDto": {
|
|
2422
2050
|
"type": "object",
|
|
2423
2051
|
"description": "An amount associated with a specific recurrence.",
|
|
2424
|
-
"allOf": [
|
|
2425
|
-
{
|
|
2426
|
-
"$ref": "#/components/schemas/Amounts"
|
|
2427
|
-
}
|
|
2428
|
-
],
|
|
2429
2052
|
"properties": {
|
|
2430
2053
|
"type": {
|
|
2431
2054
|
"type": "string",
|
|
@@ -2433,18 +2056,15 @@
|
|
|
2433
2056
|
},
|
|
2434
2057
|
"billing_period": {
|
|
2435
2058
|
"type": "string",
|
|
2436
|
-
"description": "The price billing period."
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
"every_6_months",
|
|
2442
|
-
"yearly"
|
|
2443
|
-
]
|
|
2059
|
+
"description": "The price billing period."
|
|
2060
|
+
},
|
|
2061
|
+
"amount_subtotal": {
|
|
2062
|
+
"type": "integer",
|
|
2063
|
+
"description": "Total of all items, with same recurrence, before (discounts or) taxes are applied."
|
|
2444
2064
|
},
|
|
2445
|
-
"
|
|
2065
|
+
"amount_total": {
|
|
2446
2066
|
"type": "integer",
|
|
2447
|
-
"description": "
|
|
2067
|
+
"description": "Total of all items, with same recurrence, after (discounts and) taxes are applied."
|
|
2448
2068
|
},
|
|
2449
2069
|
"amount_tax": {
|
|
2450
2070
|
"type": "integer",
|
|
@@ -2453,18 +2073,11 @@
|
|
|
2453
2073
|
},
|
|
2454
2074
|
"required": [
|
|
2455
2075
|
"amount_subtotal",
|
|
2456
|
-
"amount_total"
|
|
2457
|
-
"amount_subtotal_decimal",
|
|
2458
|
-
"amount_total_decimal"
|
|
2076
|
+
"amount_total"
|
|
2459
2077
|
]
|
|
2460
2078
|
},
|
|
2461
2079
|
"Cart": {
|
|
2462
2080
|
"description": "Supports shopping for products and services until ready for checkout.",
|
|
2463
|
-
"allOf": [
|
|
2464
|
-
{
|
|
2465
|
-
"$ref": "#/components/schemas/Amounts"
|
|
2466
|
-
}
|
|
2467
|
-
],
|
|
2468
2081
|
"properties": {
|
|
2469
2082
|
"id": {
|
|
2470
2083
|
"type": "string",
|
|
@@ -2500,6 +2113,16 @@
|
|
|
2500
2113
|
"line_items": {
|
|
2501
2114
|
"$ref": "#/components/schemas/PriceItems"
|
|
2502
2115
|
},
|
|
2116
|
+
"amount_subtotal": {
|
|
2117
|
+
"readOnly": true,
|
|
2118
|
+
"type": "integer",
|
|
2119
|
+
"description": "Total of all items before (discounts or) taxes are applied."
|
|
2120
|
+
},
|
|
2121
|
+
"amount_total": {
|
|
2122
|
+
"readOnly": true,
|
|
2123
|
+
"type": "integer",
|
|
2124
|
+
"description": "Total of all items after (discounts and) taxes are applied."
|
|
2125
|
+
},
|
|
2503
2126
|
"total_details": {
|
|
2504
2127
|
"$ref": "#/components/schemas/TotalDetails"
|
|
2505
2128
|
},
|
|
@@ -2546,7 +2169,7 @@
|
|
|
2546
2169
|
"$ref": "#/components/schemas/OrderStatus"
|
|
2547
2170
|
},
|
|
2548
2171
|
"line_items": {
|
|
2549
|
-
"$ref": "#/components/schemas/
|
|
2172
|
+
"$ref": "#/components/schemas/PriceItems"
|
|
2550
2173
|
},
|
|
2551
2174
|
"source_type": {
|
|
2552
2175
|
"type": "string",
|
|
@@ -2634,9 +2257,6 @@
|
|
|
2634
2257
|
"items": {
|
|
2635
2258
|
"$ref": "#/components/schemas/PriceItem"
|
|
2636
2259
|
}
|
|
2637
|
-
},
|
|
2638
|
-
"total_details": {
|
|
2639
|
-
"$ref": "#/components/schemas/TotalDetails"
|
|
2640
2260
|
}
|
|
2641
2261
|
}
|
|
2642
2262
|
},
|
|
@@ -2646,13 +2266,8 @@
|
|
|
2646
2266
|
"example": {
|
|
2647
2267
|
"$ref": "#/components/examples/price-item"
|
|
2648
2268
|
},
|
|
2649
|
-
"allOf": [
|
|
2650
|
-
{
|
|
2651
|
-
"$ref": "#/components/schemas/Amounts"
|
|
2652
|
-
}
|
|
2653
|
-
],
|
|
2654
2269
|
"properties": {
|
|
2655
|
-
"
|
|
2270
|
+
"id": {
|
|
2656
2271
|
"type": "string",
|
|
2657
2272
|
"description": "price item id",
|
|
2658
2273
|
"readOnly": true
|
|
@@ -2665,15 +2280,11 @@
|
|
|
2665
2280
|
"description": "The unit amount value",
|
|
2666
2281
|
"readOnly": true
|
|
2667
2282
|
},
|
|
2668
|
-
"
|
|
2283
|
+
"amount_subtotal": {
|
|
2669
2284
|
"type": "integer",
|
|
2670
|
-
"description": "
|
|
2285
|
+
"description": "Total before any (discounts or) taxes are applied.",
|
|
2671
2286
|
"readOnly": true
|
|
2672
2287
|
},
|
|
2673
|
-
"amount_tax": {
|
|
2674
|
-
"type": "integer",
|
|
2675
|
-
"description": "Total tax amount for this line item."
|
|
2676
|
-
},
|
|
2677
2288
|
"unit_amount_net": {
|
|
2678
2289
|
"type": "integer",
|
|
2679
2290
|
"description": "Net unit amount without taxes or discounts.",
|
|
@@ -2683,6 +2294,11 @@
|
|
|
2683
2294
|
"description": "The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.",
|
|
2684
2295
|
"type": "string"
|
|
2685
2296
|
},
|
|
2297
|
+
"amount_total": {
|
|
2298
|
+
"type": "integer",
|
|
2299
|
+
"description": "Total after (discounts and) taxes.",
|
|
2300
|
+
"readOnly": true
|
|
2301
|
+
},
|
|
2686
2302
|
"currency": {
|
|
2687
2303
|
"$ref": "#/components/schemas/Currency"
|
|
2688
2304
|
},
|
|
@@ -2743,35 +2359,6 @@
|
|
|
2743
2359
|
}
|
|
2744
2360
|
]
|
|
2745
2361
|
}
|
|
2746
|
-
},
|
|
2747
|
-
"price_mappings": {
|
|
2748
|
-
"description": "Price mapping information required to compute totals",
|
|
2749
|
-
"$ref": "#/components/schemas/PriceInputMappings"
|
|
2750
|
-
},
|
|
2751
|
-
"on_request_approved": {
|
|
2752
|
-
"type": "boolean",
|
|
2753
|
-
"description": "When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'."
|
|
2754
|
-
}
|
|
2755
|
-
}
|
|
2756
|
-
},
|
|
2757
|
-
"Amounts": {
|
|
2758
|
-
"type": "object",
|
|
2759
|
-
"properties": {
|
|
2760
|
-
"amount_subtotal": {
|
|
2761
|
-
"type": "integer",
|
|
2762
|
-
"description": "Total of all items before (discounts or) taxes are applied."
|
|
2763
|
-
},
|
|
2764
|
-
"amount_subtotal_decimal": {
|
|
2765
|
-
"type": "string",
|
|
2766
|
-
"description": "Total of all items before (discounts or) taxes are applied, as a string with all the decimal places."
|
|
2767
|
-
},
|
|
2768
|
-
"amount_total": {
|
|
2769
|
-
"type": "integer",
|
|
2770
|
-
"description": "Total of all items after (discounts and) taxes are applied."
|
|
2771
|
-
},
|
|
2772
|
-
"amount_total_decimal": {
|
|
2773
|
-
"type": "string",
|
|
2774
|
-
"description": "Total of all items after (discounts and) taxes are applied, as a string with all the decimal places."
|
|
2775
2362
|
}
|
|
2776
2363
|
}
|
|
2777
2364
|
},
|
|
@@ -2795,20 +2382,11 @@
|
|
|
2795
2382
|
"recurring"
|
|
2796
2383
|
]
|
|
2797
2384
|
},
|
|
2798
|
-
"
|
|
2799
|
-
"type": "
|
|
2800
|
-
"description": "
|
|
2801
|
-
"enum": [
|
|
2802
|
-
"per_unit",
|
|
2803
|
-
"tiered_graduated",
|
|
2804
|
-
"tiered_volume",
|
|
2805
|
-
"tiered_flatfee"
|
|
2806
|
-
]
|
|
2385
|
+
"on_request_approved": {
|
|
2386
|
+
"type": "boolean",
|
|
2387
|
+
"description": "When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'."
|
|
2807
2388
|
}
|
|
2808
|
-
}
|
|
2809
|
-
"required": [
|
|
2810
|
-
"pricing_model"
|
|
2811
|
-
]
|
|
2389
|
+
}
|
|
2812
2390
|
},
|
|
2813
2391
|
"TaxAmount": {
|
|
2814
2392
|
"type": "object",
|
|
@@ -2868,11 +2446,6 @@
|
|
|
2868
2446
|
"type": "object",
|
|
2869
2447
|
"description": "An amount associated with a specific recurrence.",
|
|
2870
2448
|
"readOnly": true,
|
|
2871
|
-
"allOf": [
|
|
2872
|
-
{
|
|
2873
|
-
"$ref": "#/components/schemas/Amounts"
|
|
2874
|
-
}
|
|
2875
|
-
],
|
|
2876
2449
|
"properties": {
|
|
2877
2450
|
"type": {
|
|
2878
2451
|
"type": "string",
|
|
@@ -2880,33 +2453,24 @@
|
|
|
2880
2453
|
},
|
|
2881
2454
|
"billing_period": {
|
|
2882
2455
|
"type": "string",
|
|
2883
|
-
"description": "The price billing period."
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
"every_6_months",
|
|
2889
|
-
"yearly"
|
|
2890
|
-
]
|
|
2456
|
+
"description": "The price billing period."
|
|
2457
|
+
},
|
|
2458
|
+
"amount_subtotal": {
|
|
2459
|
+
"type": "integer",
|
|
2460
|
+
"description": "Total of all items, with same recurrence, before (discounts or) taxes are applied."
|
|
2891
2461
|
},
|
|
2892
|
-
"
|
|
2462
|
+
"amount_total": {
|
|
2893
2463
|
"type": "integer",
|
|
2894
|
-
"description": "
|
|
2464
|
+
"description": "Total of all items, with same recurrence, after (discounts and) taxes are applied."
|
|
2895
2465
|
},
|
|
2896
2466
|
"amount_tax": {
|
|
2897
2467
|
"type": "integer",
|
|
2898
2468
|
"description": "Total of all items taxes, with same recurrence."
|
|
2899
|
-
},
|
|
2900
|
-
"currency": {
|
|
2901
|
-
"$ref": "#/components/schemas/Currency",
|
|
2902
|
-
"description": "Currency"
|
|
2903
2469
|
}
|
|
2904
2470
|
},
|
|
2905
2471
|
"required": [
|
|
2906
2472
|
"amount_subtotal",
|
|
2907
|
-
"amount_total"
|
|
2908
|
-
"amount_subtotal_decimal",
|
|
2909
|
-
"amount_total_decimal"
|
|
2473
|
+
"amount_total"
|
|
2910
2474
|
]
|
|
2911
2475
|
},
|
|
2912
2476
|
"TotalDetails": {
|
|
@@ -2962,9 +2526,6 @@
|
|
|
2962
2526
|
"oneOf": [
|
|
2963
2527
|
{
|
|
2964
2528
|
"$ref": "#/components/schemas/PriceItem"
|
|
2965
|
-
},
|
|
2966
|
-
{
|
|
2967
|
-
"$ref": "#/components/schemas/CompositePriceItem"
|
|
2968
2529
|
}
|
|
2969
2530
|
]
|
|
2970
2531
|
}
|
|
@@ -2977,19 +2538,8 @@
|
|
|
2977
2538
|
"type": "integer",
|
|
2978
2539
|
"description": "Total of all items after (discounts and) taxes are applied."
|
|
2979
2540
|
},
|
|
2980
|
-
"unit_amount_gross": {
|
|
2981
|
-
"type": "integer",
|
|
2982
|
-
"description": "The unit gross amount value."
|
|
2983
|
-
},
|
|
2984
|
-
"amount_tax": {
|
|
2985
|
-
"type": "integer",
|
|
2986
|
-
"description": "This is the sum of all the price item tax amounts."
|
|
2987
|
-
},
|
|
2988
2541
|
"total_details": {
|
|
2989
2542
|
"$ref": "#/components/schemas/TotalDetails"
|
|
2990
|
-
},
|
|
2991
|
-
"currency": {
|
|
2992
|
-
"$ref": "#/components/schemas/Currency"
|
|
2993
2543
|
}
|
|
2994
2544
|
}
|
|
2995
2545
|
},
|
|
@@ -3000,7 +2550,8 @@
|
|
|
3000
2550
|
"monthly",
|
|
3001
2551
|
"every_quarter",
|
|
3002
2552
|
"every_6_months",
|
|
3003
|
-
"yearly"
|
|
2553
|
+
"yearly",
|
|
2554
|
+
"one_time"
|
|
3004
2555
|
]
|
|
3005
2556
|
},
|
|
3006
2557
|
"SalesTax": {
|
|
@@ -3330,6 +2881,7 @@
|
|
|
3330
2881
|
"required": [
|
|
3331
2882
|
"type",
|
|
3332
2883
|
"rate",
|
|
2884
|
+
"behavior",
|
|
3333
2885
|
"_id",
|
|
3334
2886
|
"_title",
|
|
3335
2887
|
"_org",
|
|
@@ -3380,6 +2932,15 @@
|
|
|
3380
2932
|
"rate": {
|
|
3381
2933
|
"type": "number"
|
|
3382
2934
|
},
|
|
2935
|
+
"behavior": {
|
|
2936
|
+
"type": "string",
|
|
2937
|
+
"enum": [
|
|
2938
|
+
"Exclusive",
|
|
2939
|
+
"Inclusive",
|
|
2940
|
+
"exclusive",
|
|
2941
|
+
"inclusive"
|
|
2942
|
+
]
|
|
2943
|
+
},
|
|
3383
2944
|
"active": {
|
|
3384
2945
|
"type": "boolean"
|
|
3385
2946
|
},
|
|
@@ -3394,6 +2955,7 @@
|
|
|
3394
2955
|
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
3395
2956
|
"type": "VAT",
|
|
3396
2957
|
"description": "Tax description",
|
|
2958
|
+
"behavior": "Exclusive",
|
|
3397
2959
|
"active": "true",
|
|
3398
2960
|
"region": "DE",
|
|
3399
2961
|
"region_label": "Germany",
|
|
@@ -3425,37 +2987,6 @@
|
|
|
3425
2987
|
"type": "string"
|
|
3426
2988
|
}
|
|
3427
2989
|
}
|
|
3428
|
-
},
|
|
3429
|
-
"PriceTier": {
|
|
3430
|
-
"type": "object",
|
|
3431
|
-
"properties": {
|
|
3432
|
-
"up_to": {
|
|
3433
|
-
"type": "number",
|
|
3434
|
-
"nullable": true
|
|
3435
|
-
},
|
|
3436
|
-
"flat_fee_amount": {
|
|
3437
|
-
"type": "number"
|
|
3438
|
-
},
|
|
3439
|
-
"flat_fee_amount_decimal": {
|
|
3440
|
-
"type": "string"
|
|
3441
|
-
},
|
|
3442
|
-
"unit_amount": {
|
|
3443
|
-
"type": "number"
|
|
3444
|
-
},
|
|
3445
|
-
"unit_amount_decimal": {
|
|
3446
|
-
"type": "string"
|
|
3447
|
-
},
|
|
3448
|
-
"display_mode": {
|
|
3449
|
-
"$ref": "#/components/schemas/PriceTierDisplayMode"
|
|
3450
|
-
}
|
|
3451
|
-
}
|
|
3452
|
-
},
|
|
3453
|
-
"PriceTierDisplayMode": {
|
|
3454
|
-
"type": "string",
|
|
3455
|
-
"enum": [
|
|
3456
|
-
"hidden",
|
|
3457
|
-
"on_request"
|
|
3458
|
-
]
|
|
3459
2990
|
}
|
|
3460
2991
|
},
|
|
3461
2992
|
"examples": {
|
|
@@ -3559,9 +3090,10 @@
|
|
|
3559
3090
|
"type": "one_time",
|
|
3560
3091
|
"active": true,
|
|
3561
3092
|
"sales_tax": "standard",
|
|
3562
|
-
"
|
|
3093
|
+
"tax_behavior": "inclusive",
|
|
3563
3094
|
"description": "Winter Sale",
|
|
3564
3095
|
"billing_scheme": "per_unit",
|
|
3096
|
+
"tiers_mode": "Standard",
|
|
3565
3097
|
"_created_at": "2021-11-10T18:02:58.318Z",
|
|
3566
3098
|
"_updated_at": "2021-11-10T18:02:58.318Z",
|
|
3567
3099
|
"_title": "Winter Sale"
|
|
@@ -3594,9 +3126,10 @@
|
|
|
3594
3126
|
"type": "one_time",
|
|
3595
3127
|
"active": true,
|
|
3596
3128
|
"sales_tax": "standard",
|
|
3597
|
-
"
|
|
3129
|
+
"tax_behavior": "inclusive",
|
|
3598
3130
|
"description": "Winter Sale",
|
|
3599
3131
|
"billing_scheme": "per_unit",
|
|
3132
|
+
"tiers_mode": "Standard",
|
|
3600
3133
|
"_created_at": "2021-11-10T18:02:58.318Z",
|
|
3601
3134
|
"_updated_at": "2021-11-10T18:02:58.318Z",
|
|
3602
3135
|
"_title": "Winter Sale"
|
|
@@ -3645,6 +3178,7 @@
|
|
|
3645
3178
|
"tax": {
|
|
3646
3179
|
"_id": "24641e82-0690-4135-8b43-ef12a9b1c5dc",
|
|
3647
3180
|
"rate": "19",
|
|
3181
|
+
"behavior": "Inclusive",
|
|
3648
3182
|
"_schema": "tax",
|
|
3649
3183
|
"_org": "728",
|
|
3650
3184
|
"_created_at": "2021-09-24T15:06:13.859Z",
|
|
@@ -3664,7 +3198,7 @@
|
|
|
3664
3198
|
"unit_amount_currency": "EUR",
|
|
3665
3199
|
"unit_amount_decimal": "1000",
|
|
3666
3200
|
"sales_tax": "standard",
|
|
3667
|
-
"
|
|
3201
|
+
"tax_behavior": "inclusive",
|
|
3668
3202
|
"price_display_in_journeys": "show_price",
|
|
3669
3203
|
"type": "one_time",
|
|
3670
3204
|
"billing_period": "weekly",
|
|
@@ -3776,6 +3310,7 @@
|
|
|
3776
3310
|
"tax": {
|
|
3777
3311
|
"_id": "24641e82-0690-4135-8b43-ef12a9b1c5dc",
|
|
3778
3312
|
"rate": "19",
|
|
3313
|
+
"behavior": "Inclusive",
|
|
3779
3314
|
"_schema": "tax",
|
|
3780
3315
|
"_org": "728",
|
|
3781
3316
|
"_created_at": "2021-09-24T15:06:13.859Z",
|
|
@@ -3795,7 +3330,7 @@
|
|
|
3795
3330
|
"unit_amount_currency": "EUR",
|
|
3796
3331
|
"unit_amount_decimal": "500",
|
|
3797
3332
|
"sales_tax": "standard",
|
|
3798
|
-
"
|
|
3333
|
+
"tax_behavior": "inclusive",
|
|
3799
3334
|
"price_display_in_journeys": "show_price",
|
|
3800
3335
|
"type": "one_time",
|
|
3801
3336
|
"billing_period": "weekly",
|
|
@@ -3917,9 +3452,10 @@
|
|
|
3917
3452
|
"renewal_duration_unit": "years",
|
|
3918
3453
|
"active": true,
|
|
3919
3454
|
"sales_tax": "reduced",
|
|
3920
|
-
"
|
|
3455
|
+
"tax_behavior": "inclusive",
|
|
3921
3456
|
"description": "Monthly",
|
|
3922
3457
|
"billing_scheme": "per_unit",
|
|
3458
|
+
"tiers_mode": "Standard",
|
|
3923
3459
|
"_schema": "price",
|
|
3924
3460
|
"_org": "728",
|
|
3925
3461
|
"_created_at": "2021-11-10T14:40:27.695Z",
|
|
@@ -4014,7 +3550,7 @@
|
|
|
4014
3550
|
"unit_amount_currency": "EUR",
|
|
4015
3551
|
"unit_amount_decimal": "99",
|
|
4016
3552
|
"sales_tax": "standard",
|
|
4017
|
-
"
|
|
3553
|
+
"tax_behavior": "inclusive",
|
|
4018
3554
|
"price_display_in_journeys": "show_price",
|
|
4019
3555
|
"type": "recurring",
|
|
4020
3556
|
"billing_period": "yearly",
|
|
@@ -4075,6 +3611,7 @@
|
|
|
4075
3611
|
"tax": {
|
|
4076
3612
|
"_id": "24641e82-0690-4135-8b43-ef12a9b1c5dc",
|
|
4077
3613
|
"rate": "19",
|
|
3614
|
+
"behavior": "Inclusive",
|
|
4078
3615
|
"_schema": "tax",
|
|
4079
3616
|
"_org": "728",
|
|
4080
3617
|
"_created_at": "2021-09-24T15:06:13.859Z",
|
|
@@ -4305,6 +3842,7 @@
|
|
|
4305
3842
|
"tax": {
|
|
4306
3843
|
"_id": "18bbbc2e-2c37-4f91-924a-07ae60d830e4",
|
|
4307
3844
|
"type": "VAT",
|
|
3845
|
+
"behavior": "Exclusive",
|
|
4308
3846
|
"active": true,
|
|
4309
3847
|
"region": "DE",
|
|
4310
3848
|
"_schema": "tax",
|
|
@@ -4333,6 +3871,7 @@
|
|
|
4333
3871
|
"tax": {
|
|
4334
3872
|
"_id": "18bbbc2e-2c37-4f91-924a-07ae60d830e4",
|
|
4335
3873
|
"type": "VAT",
|
|
3874
|
+
"behavior": "Exclusive",
|
|
4336
3875
|
"active": true,
|
|
4337
3876
|
"region": "DE",
|
|
4338
3877
|
"_schema": "tax",
|
|
@@ -4370,6 +3909,7 @@
|
|
|
4370
3909
|
"unit_amount_currency": "EUR",
|
|
4371
3910
|
"unit_amount_decimal": "100.00",
|
|
4372
3911
|
"sales_tax": "standard",
|
|
3912
|
+
"tax_behavior": "exclusive",
|
|
4373
3913
|
"price_display_in_journeys": "show_price",
|
|
4374
3914
|
"type": "one_time",
|
|
4375
3915
|
"_schema": "price",
|
|
@@ -4404,7 +3944,7 @@
|
|
|
4404
3944
|
"unit_amount_currency": "EUR",
|
|
4405
3945
|
"unit_amount_decimal": "100.00",
|
|
4406
3946
|
"sales_tax": "standard",
|
|
4407
|
-
"
|
|
3947
|
+
"tax_behavior": "exclusive",
|
|
4408
3948
|
"price_display_in_journeys": "show_price",
|
|
4409
3949
|
"type": "one_time",
|
|
4410
3950
|
"_schema": "price",
|
|
@@ -4457,7 +3997,7 @@
|
|
|
4457
3997
|
"unit_amount_currency": "EUR",
|
|
4458
3998
|
"unit_amount_decimal": "555666.77",
|
|
4459
3999
|
"sales_tax": "standard",
|
|
4460
|
-
"
|
|
4000
|
+
"tax_behavior": "inclusive",
|
|
4461
4001
|
"price_display_in_journeys": "show_as_starting_price",
|
|
4462
4002
|
"type": "one_time",
|
|
4463
4003
|
"_schema": "price",
|
|
@@ -4562,6 +4102,7 @@
|
|
|
4562
4102
|
"tax": {
|
|
4563
4103
|
"_id": "18bbbc2e-2c37-4f91-924a-07ae60d830e4",
|
|
4564
4104
|
"type": "VAT",
|
|
4105
|
+
"behavior": "Exclusive",
|
|
4565
4106
|
"active": true,
|
|
4566
4107
|
"region": "DE",
|
|
4567
4108
|
"_schema": "tax",
|
|
@@ -4787,7 +4328,7 @@
|
|
|
4787
4328
|
"unit_amount_currency": "EUR",
|
|
4788
4329
|
"unit_amount_decimal": "1000",
|
|
4789
4330
|
"sales_tax": "standard",
|
|
4790
|
-
"
|
|
4331
|
+
"tax_behavior": "inclusive",
|
|
4791
4332
|
"price_display_in_journeys": "show_price",
|
|
4792
4333
|
"type": "one_time",
|
|
4793
4334
|
"billing_period": "weekly",
|
|
@@ -4809,8 +4350,7 @@
|
|
|
4809
4350
|
"_id": "9c36c23b-1574-4193-beff-b1b5e1124bc7",
|
|
4810
4351
|
"_org": "728",
|
|
4811
4352
|
"_created_at": "2022-06-03T16:04:10.369Z",
|
|
4812
|
-
"_updated_at": "2022-06-03T16:04:10.369Z"
|
|
4813
|
-
"pricing_model": "per_unit"
|
|
4353
|
+
"_updated_at": "2022-06-03T16:04:10.369Z"
|
|
4814
4354
|
}
|
|
4815
4355
|
},
|
|
4816
4356
|
"composite-price": {
|
|
@@ -4836,7 +4376,7 @@
|
|
|
4836
4376
|
"unit_amount_currency": "EUR",
|
|
4837
4377
|
"unit_amount_decimal": "100.00",
|
|
4838
4378
|
"sales_tax": "standard",
|
|
4839
|
-
"
|
|
4379
|
+
"tax_behavior": "exclusive",
|
|
4840
4380
|
"price_display_in_journeys": "show_price",
|
|
4841
4381
|
"type": "one_time",
|
|
4842
4382
|
"_schema": "price",
|
|
@@ -4871,7 +4411,7 @@
|
|
|
4871
4411
|
"unit_amount_currency": "EUR",
|
|
4872
4412
|
"unit_amount_decimal": "100.00",
|
|
4873
4413
|
"sales_tax": "standard",
|
|
4874
|
-
"
|
|
4414
|
+
"tax_behavior": "exclusive",
|
|
4875
4415
|
"price_display_in_journeys": "show_price",
|
|
4876
4416
|
"type": "one_time",
|
|
4877
4417
|
"_schema": "price",
|
|
@@ -4912,6 +4452,7 @@
|
|
|
4912
4452
|
"amount": 600,
|
|
4913
4453
|
"tax": {
|
|
4914
4454
|
"active": true,
|
|
4455
|
+
"behavior": "Exclusive",
|
|
4915
4456
|
"description": "Without Behaviour",
|
|
4916
4457
|
"rate": 6,
|
|
4917
4458
|
"region": "DE",
|
|
@@ -4932,7 +4473,7 @@
|
|
|
4932
4473
|
"unit_amount_currency": "EUR",
|
|
4933
4474
|
"unit_amount_decimal": "100.00",
|
|
4934
4475
|
"sales_tax": "standard",
|
|
4935
|
-
"
|
|
4476
|
+
"tax_behavior": "exclusive",
|
|
4936
4477
|
"price_display_in_journeys": "show_price",
|
|
4937
4478
|
"type": "one_time",
|
|
4938
4479
|
"billing_period": "weekly",
|
|
@@ -4954,8 +4495,7 @@
|
|
|
4954
4495
|
"_id": "7e24ff5d-d580-4136-a32f-19191eed039a",
|
|
4955
4496
|
"_org": "728",
|
|
4956
4497
|
"_created_at": "2022-06-03T16:04:10.369Z",
|
|
4957
|
-
"_updated_at": "2022-06-03T16:04:10.369Z"
|
|
4958
|
-
"pricing_model": "per_unit"
|
|
4498
|
+
"_updated_at": "2022-06-03T16:04:10.369Z"
|
|
4959
4499
|
},
|
|
4960
4500
|
"_product": {
|
|
4961
4501
|
"name": "Cool box",
|