foodbot-cart-calculations 1.0.56 → 1.0.58
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/calculations.js +11 -2
- package/functions/promotionCalculation.js +1 -0
- package/index.js +17 -17
- package/package.json +1 -1
- package/response.json +460 -0
- package/sample.json +340 -545
package/sample.json
CHANGED
|
@@ -1,606 +1,401 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
"isPos": 1,
|
|
3
|
+
"order_items": {
|
|
4
4
|
"item_details": [
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"item_price": 325,
|
|
10
|
-
"item_price_with_modifier": 345,
|
|
11
|
-
"quantity": 1,
|
|
12
|
-
"item_display_text": "Ungrouped Combo",
|
|
13
|
-
"item_name": "Ungrouped Combo",
|
|
14
|
-
"tax_rate": 8,
|
|
15
|
-
"item_modifiers": [
|
|
16
|
-
{
|
|
17
|
-
"modifier_category_id": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
18
|
-
"modifer_cat": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
19
|
-
"modifier_caetgory_name": "Pizza modifiers",
|
|
20
|
-
"modifier_item_id": "64b8625c-bf65-4ff0-aa64-43ac4476762a",
|
|
21
|
-
"modifier_category_sequence": "0",
|
|
22
|
-
"modifier_sequence": "0undefined",
|
|
23
|
-
"modifier_item_price": 10,
|
|
24
|
-
"modifier_item_name": "Modifier 1",
|
|
25
|
-
"is_tax_rate_same": 1,
|
|
26
|
-
"tax_rate": 8,
|
|
5
|
+
{
|
|
6
|
+
"item_id": "dadb6147-f759-49dc-867e-cb9d0aa25d1d",
|
|
7
|
+
"category_id": "e46ace5b-8f14-11f0-a5b4-12b5681bf65d",
|
|
8
|
+
"item_price": 99,
|
|
27
9
|
"quantity": 1,
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
10
|
+
"item_display_text": "Monch Burge",
|
|
11
|
+
"item_name": "Monch Burge",
|
|
12
|
+
"tax_rate": 16,
|
|
13
|
+
"item_modifiers": [],
|
|
14
|
+
"isPackage": 0,
|
|
15
|
+
"item_price_with_modifier": 99,
|
|
16
|
+
"package_items": [],
|
|
17
|
+
"item_event": "new",
|
|
18
|
+
"actual_price": 0,
|
|
33
19
|
"tax_id": [
|
|
34
|
-
{
|
|
35
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
"modifier_trx_id": "zO3pFxSk",
|
|
39
|
-
"linked_product": {
|
|
40
|
-
"product_id": "2be54724-d750-45a6-a6e6-1e5ff49c06ce",
|
|
41
|
-
"purchase_type": "2",
|
|
42
|
-
"is_purchasable": 1,
|
|
43
|
-
"item_name": "Kiwiburger",
|
|
44
|
-
"category_name": "Combo",
|
|
45
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
46
|
-
"product_tax_id": [
|
|
47
20
|
{
|
|
48
|
-
|
|
21
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021"
|
|
49
22
|
}
|
|
50
|
-
|
|
51
|
-
|
|
23
|
+
],
|
|
24
|
+
"ieps_tax": {
|
|
52
25
|
"status": 0,
|
|
53
26
|
"ieps_details": {
|
|
54
|
-
|
|
55
|
-
|
|
27
|
+
"type": "",
|
|
28
|
+
"tax_id": 0
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"menu_id": "6bdd9eaf-dd18-4946-8aee-03c0f98db58a",
|
|
32
|
+
"item_trx_id": "b2A8B3vz",
|
|
33
|
+
"tax_amount": "13.650000",
|
|
34
|
+
"tax_array": [
|
|
35
|
+
{
|
|
36
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021",
|
|
37
|
+
"tax_label": "IVA 16%",
|
|
38
|
+
"tax_rate": 16,
|
|
39
|
+
"tax_sequence": 1,
|
|
40
|
+
"base_price_effected": 0,
|
|
41
|
+
"tax_amount": "13.650000",
|
|
42
|
+
"base_price": "85.34",
|
|
43
|
+
"tax_rate_quantity": 0
|
|
56
44
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
45
|
+
],
|
|
46
|
+
"tax_amount_modifier": "13.650000",
|
|
47
|
+
"total_tax_amount": "13.650000",
|
|
48
|
+
"stk_seq_id": 1,
|
|
49
|
+
"order_version": 2,
|
|
50
|
+
"wa_user_info": {
|
|
51
|
+
"user_id": 1000221,
|
|
52
|
+
"user_name": "POS Manager"
|
|
53
|
+
},
|
|
54
|
+
"sync": true,
|
|
55
|
+
"pos_user_id": 1000221,
|
|
56
|
+
"promotion_discount": 0,
|
|
57
|
+
"points_discount": 0,
|
|
58
|
+
"points_discount_modifier": 0
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"item_id": "dadb6147-f759-49dc-867e-cb9d0aa25d1d",
|
|
62
|
+
"category_id": "e46ace5b-8f14-11f0-a5b4-12b5681bf65d",
|
|
63
|
+
"item_price": 99,
|
|
71
64
|
"quantity": 1,
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
65
|
+
"item_display_text": "Monch Burge",
|
|
66
|
+
"item_name": "Monch Burge",
|
|
67
|
+
"tax_rate": 16,
|
|
68
|
+
"item_modifiers": [],
|
|
69
|
+
"isPackage": 0,
|
|
70
|
+
"item_price_with_modifier": 99,
|
|
71
|
+
"package_items": [],
|
|
72
|
+
"item_event": "new",
|
|
73
|
+
"actual_price": 0,
|
|
77
74
|
"tax_id": [
|
|
78
|
-
{
|
|
79
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"modifier_trx_id": "lVhgkTSv",
|
|
83
|
-
"linked_product": {
|
|
84
|
-
"product_id": "2be54724-d750-45a6-a6e6-1e5ff49c06ce",
|
|
85
|
-
"purchase_type": "2",
|
|
86
|
-
"is_purchasable": 1,
|
|
87
|
-
"item_name": "Monch Burge",
|
|
88
|
-
"category_name": "Combo",
|
|
89
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
90
|
-
"product_tax_id": [
|
|
91
75
|
{
|
|
92
|
-
|
|
76
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021"
|
|
93
77
|
}
|
|
94
|
-
|
|
95
|
-
|
|
78
|
+
],
|
|
79
|
+
"ieps_tax": {
|
|
96
80
|
"status": 0,
|
|
97
81
|
"ieps_details": {
|
|
98
|
-
|
|
99
|
-
|
|
82
|
+
"type": "",
|
|
83
|
+
"tax_id": 0
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"menu_id": "6bdd9eaf-dd18-4946-8aee-03c0f98db58a",
|
|
87
|
+
"item_trx_id": "0ZQABEmf",
|
|
88
|
+
"tax_amount": "13.650000",
|
|
89
|
+
"tax_array": [
|
|
90
|
+
{
|
|
91
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021",
|
|
92
|
+
"tax_label": "IVA 16%",
|
|
93
|
+
"tax_rate": 16,
|
|
94
|
+
"tax_sequence": 1,
|
|
95
|
+
"base_price_effected": 0,
|
|
96
|
+
"tax_amount": "13.650000",
|
|
97
|
+
"base_price": "85.34",
|
|
98
|
+
"tax_rate_quantity": 0
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"tax_amount_modifier": "13.650000",
|
|
102
|
+
"total_tax_amount": "13.650000",
|
|
103
|
+
"stk_seq_id": 1,
|
|
104
|
+
"order_version": 2,
|
|
105
|
+
"wa_user_info": {
|
|
106
|
+
"user_id": 1000221,
|
|
107
|
+
"user_name": "POS Manager"
|
|
108
|
+
},
|
|
109
|
+
"sync": true,
|
|
110
|
+
"pos_user_id": 1000221,
|
|
111
|
+
"promotion_discount": 0,
|
|
112
|
+
"points_discount": 0,
|
|
113
|
+
"points_discount_modifier": 0
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"item_id": "dadb6147-f759-49dc-867e-cb9d0aa25d1d",
|
|
117
|
+
"category_id": "e46ace5b-8f14-11f0-a5b4-12b5681bf65d",
|
|
118
|
+
"item_price": 99,
|
|
119
|
+
"quantity": 1,
|
|
120
|
+
"item_display_text": "Monch Burge",
|
|
121
|
+
"item_name": "Monch Burge",
|
|
122
|
+
"tax_rate": 16,
|
|
123
|
+
"item_modifiers": [],
|
|
124
|
+
"isPackage": 0,
|
|
125
|
+
"item_price_with_modifier": 99,
|
|
126
|
+
"package_items": [],
|
|
127
|
+
"item_event": "new",
|
|
128
|
+
"actual_price": 0,
|
|
129
|
+
"tax_id": [
|
|
130
|
+
{
|
|
131
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021"
|
|
100
132
|
}
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"isPackage": 1,
|
|
106
|
-
"package_items": [
|
|
107
|
-
{
|
|
133
|
+
],
|
|
108
134
|
"ieps_tax": {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
135
|
+
"status": 0,
|
|
136
|
+
"ieps_details": {
|
|
137
|
+
"type": "",
|
|
138
|
+
"tax_id": 0
|
|
139
|
+
}
|
|
114
140
|
},
|
|
141
|
+
"menu_id": "6bdd9eaf-dd18-4946-8aee-03c0f98db58a",
|
|
142
|
+
"item_trx_id": "H11U43p9",
|
|
143
|
+
"tax_amount": "13.650000",
|
|
144
|
+
"tax_array": [
|
|
145
|
+
{
|
|
146
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021",
|
|
147
|
+
"tax_label": "IVA 16%",
|
|
148
|
+
"tax_rate": 16,
|
|
149
|
+
"tax_sequence": 1,
|
|
150
|
+
"base_price_effected": 0,
|
|
151
|
+
"tax_amount": "13.650000",
|
|
152
|
+
"base_price": "85.34",
|
|
153
|
+
"tax_rate_quantity": 0
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"tax_amount_modifier": "13.650000",
|
|
157
|
+
"total_tax_amount": "13.650000",
|
|
158
|
+
"stk_seq_id": 1,
|
|
159
|
+
"order_version": 2,
|
|
160
|
+
"wa_user_info": {
|
|
161
|
+
"user_id": 1000221,
|
|
162
|
+
"user_name": "POS Manager"
|
|
163
|
+
},
|
|
164
|
+
"sync": true,
|
|
165
|
+
"pos_user_id": 1000221,
|
|
166
|
+
"promotion_discount": 0,
|
|
167
|
+
"points_discount": 0,
|
|
168
|
+
"points_discount_modifier": 0
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"menu_id": "6bdd9eaf-dd18-4946-8aee-03c0f98db58a",
|
|
115
172
|
"item_id": "9e90ef00-c1cd-43f4-a204-d9e3e00ed1da",
|
|
116
173
|
"category_id": "100ff5ec-5e3e-11f0-b5e1-1228d12cd9c5",
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
174
|
+
"item_price": 70,
|
|
175
|
+
"item_price_with_modifier": 74,
|
|
176
|
+
"quantity": 1,
|
|
120
177
|
"item_display_text": "Large Pizza",
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"cat_items_modifiercat": [
|
|
128
|
-
{
|
|
129
|
-
"modifier_category_id": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
130
|
-
"item_id": "9e90ef00-c1cd-43f4-a204-d9e3e00ed1da",
|
|
131
|
-
"modifier_caetgory_name": "Pizza modifiers",
|
|
132
|
-
"display_text": "Pizza modifiers",
|
|
133
|
-
"is_required": 1,
|
|
134
|
-
"max_input": 3,
|
|
135
|
-
"min_input": 1,
|
|
136
|
-
"item_quantity": 3,
|
|
137
|
-
"cat_items_modifiercat_modifieritems": [
|
|
138
|
-
{
|
|
139
|
-
"modifier_item_id": "64b8625c-bf65-4ff0-aa64-43ac4476762a",
|
|
178
|
+
"item_name": "Large Pizza",
|
|
179
|
+
"tax_rate": 16,
|
|
180
|
+
"item_modifiers": [
|
|
181
|
+
{
|
|
140
182
|
"modifier_category_id": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"price": 10,
|
|
144
|
-
"tax_rate": 8,
|
|
145
|
-
"is_tax_rate_same": 1,
|
|
146
|
-
"tax_id": [
|
|
147
|
-
{
|
|
148
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
149
|
-
}
|
|
150
|
-
],
|
|
151
|
-
"linked_product": {
|
|
152
|
-
"product_id": "2be54724-d750-45a6-a6e6-1e5ff49c06ce",
|
|
153
|
-
"purchase_type": "2",
|
|
154
|
-
"is_purchasable": 1,
|
|
155
|
-
"item_name": "Kiwiburger",
|
|
156
|
-
"category_name": "Combo",
|
|
157
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
158
|
-
"product_tax_id": [
|
|
159
|
-
{
|
|
160
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
"ieps_tax": {
|
|
164
|
-
"status": 0,
|
|
165
|
-
"ieps_details": {
|
|
166
|
-
"type": "",
|
|
167
|
-
"tax_id": 0
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
{
|
|
183
|
+
"modifer_cat": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
184
|
+
"modifier_caetgory_name": "Pizza modifiers",
|
|
173
185
|
"modifier_item_id": "59bcebc1-1ac4-4779-a64d-cd14a1f2f55b",
|
|
174
|
-
"
|
|
186
|
+
"modifier_category_sequence": "0",
|
|
187
|
+
"modifier_sequence": "0undefined",
|
|
188
|
+
"modifier_item_price": 1,
|
|
175
189
|
"modifier_item_name": "Modifier 2",
|
|
176
|
-
"modifier_item_image": null,
|
|
177
|
-
"price": 10,
|
|
178
|
-
"tax_rate": 8,
|
|
179
190
|
"is_tax_rate_same": 1,
|
|
191
|
+
"tax_rate": 16,
|
|
192
|
+
"quantity": 1,
|
|
193
|
+
"item_id": "9e90ef00-c1cd-43f4-a204-d9e3e00ed1da",
|
|
180
194
|
"tax_id": [
|
|
181
|
-
{
|
|
182
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
183
|
-
}
|
|
184
|
-
],
|
|
185
|
-
"linked_product": {
|
|
186
|
-
"product_id": "2be54724-d750-45a6-a6e6-1e5ff49c06ce",
|
|
187
|
-
"purchase_type": "2",
|
|
188
|
-
"is_purchasable": 1,
|
|
189
|
-
"item_name": "Monch Burge",
|
|
190
|
-
"category_name": "Combo",
|
|
191
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
192
|
-
"product_tax_id": [
|
|
193
195
|
{
|
|
194
|
-
|
|
196
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021"
|
|
195
197
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
],
|
|
199
|
+
"modifier_trx_id": "uDW4x89i",
|
|
200
|
+
"linked_product": "",
|
|
201
|
+
"tax_amount": "0.140000",
|
|
202
|
+
"tax_array": [
|
|
203
|
+
{
|
|
204
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021",
|
|
205
|
+
"tax_label": "IVA 16%",
|
|
206
|
+
"tax_rate": 16,
|
|
207
|
+
"tax_sequence": 1,
|
|
208
|
+
"base_price_effected": 0,
|
|
209
|
+
"tax_amount": "0.140000",
|
|
210
|
+
"base_price": "0.86",
|
|
211
|
+
"tax_rate_quantity": 0
|
|
202
212
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
"modifier_item_id": "daf7c6c9-0c31-43b9-a526-d40d192c6b5a",
|
|
213
|
+
],
|
|
214
|
+
"stk_seq_id": 2
|
|
215
|
+
},
|
|
216
|
+
{
|
|
208
217
|
"modifier_category_id": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
218
|
+
"modifer_cat": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
219
|
+
"modifier_caetgory_name": "Pizza modifiers",
|
|
220
|
+
"modifier_item_id": "daf7c6c9-0c31-43b9-a526-d40d192c6b5a",
|
|
221
|
+
"modifier_category_sequence": "0",
|
|
222
|
+
"modifier_sequence": "0undefined",
|
|
223
|
+
"modifier_item_price": 1,
|
|
209
224
|
"modifier_item_name": "Modifier 3",
|
|
210
|
-
"modifier_item_image": null,
|
|
211
|
-
"price": 10,
|
|
212
|
-
"tax_rate": 8,
|
|
213
225
|
"is_tax_rate_same": 1,
|
|
226
|
+
"tax_rate": 16,
|
|
227
|
+
"quantity": 2,
|
|
228
|
+
"item_id": "9e90ef00-c1cd-43f4-a204-d9e3e00ed1da",
|
|
214
229
|
"tax_id": [
|
|
215
|
-
{
|
|
216
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
217
|
-
}
|
|
218
|
-
],
|
|
219
|
-
"linked_product": {
|
|
220
|
-
"product_id": "2be54724-d750-45a6-a6e6-1e5ff49c06ce",
|
|
221
|
-
"purchase_type": "2",
|
|
222
|
-
"is_purchasable": 1,
|
|
223
|
-
"item_name": "Chicken burger",
|
|
224
|
-
"category_name": "Combo",
|
|
225
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
226
|
-
"product_tax_id": [
|
|
227
230
|
{
|
|
228
|
-
|
|
231
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021"
|
|
229
232
|
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
],
|
|
234
|
+
"modifier_trx_id": "EC0J76AH",
|
|
235
|
+
"linked_product": "",
|
|
236
|
+
"tax_amount": "0.280000",
|
|
237
|
+
"tax_array": [
|
|
238
|
+
{
|
|
239
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021",
|
|
240
|
+
"tax_label": "IVA 16%",
|
|
241
|
+
"tax_rate": 16,
|
|
242
|
+
"tax_sequence": 1,
|
|
243
|
+
"base_price_effected": 0,
|
|
244
|
+
"tax_amount": "0.280000",
|
|
245
|
+
"base_price": "1.72",
|
|
246
|
+
"tax_rate_quantity": 0
|
|
236
247
|
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
"modifier_item_id": "35bf8105-f454-4d5a-a905-660c19740710",
|
|
248
|
+
],
|
|
249
|
+
"stk_seq_id": 2
|
|
250
|
+
},
|
|
251
|
+
{
|
|
242
252
|
"modifier_category_id": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
253
|
+
"modifer_cat": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
254
|
+
"modifier_caetgory_name": "Pizza modifiers",
|
|
255
|
+
"modifier_item_id": "35bf8105-f454-4d5a-a905-660c19740710",
|
|
256
|
+
"modifier_category_sequence": "0",
|
|
257
|
+
"modifier_sequence": "0undefined",
|
|
258
|
+
"modifier_item_price": 1,
|
|
243
259
|
"modifier_item_name": "Modifier 4",
|
|
244
|
-
"modifier_item_image": null,
|
|
245
|
-
"price": 10,
|
|
246
|
-
"tax_rate": 8,
|
|
247
260
|
"is_tax_rate_same": 1,
|
|
261
|
+
"tax_rate": 16,
|
|
262
|
+
"quantity": 1,
|
|
263
|
+
"item_id": "9e90ef00-c1cd-43f4-a204-d9e3e00ed1da",
|
|
248
264
|
"tax_id": [
|
|
249
|
-
{
|
|
250
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
251
|
-
}
|
|
252
|
-
],
|
|
253
|
-
"linked_product": {
|
|
254
|
-
"product_id": "2be54724-d750-45a6-a6e6-1e5ff49c06ce",
|
|
255
|
-
"purchase_type": "2",
|
|
256
|
-
"is_purchasable": 1,
|
|
257
|
-
"item_name": "Green chile cheeseburger",
|
|
258
|
-
"category_name": "Combo",
|
|
259
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
260
|
-
"product_tax_id": [
|
|
261
265
|
{
|
|
262
|
-
|
|
263
|
-
}
|
|
264
|
-
],
|
|
265
|
-
"ieps_tax": {
|
|
266
|
-
"status": 0,
|
|
267
|
-
"ieps_details": {
|
|
268
|
-
"type": "",
|
|
269
|
-
"tax_id": 0
|
|
266
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021"
|
|
270
267
|
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"modifier_item_id": "793dae4a-0764-4515-8ae6-bb29d8f7a3b7",
|
|
276
|
-
"modifier_category_id": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
277
|
-
"modifier_item_name": "Modifier 5",
|
|
278
|
-
"modifier_item_image": null,
|
|
279
|
-
"price": 10,
|
|
280
|
-
"tax_rate": 8,
|
|
281
|
-
"is_tax_rate_same": 1,
|
|
282
|
-
"tax_id": [
|
|
283
|
-
{
|
|
284
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
285
|
-
}
|
|
286
268
|
],
|
|
287
|
-
"
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
"item_name": "Chicken burger",
|
|
292
|
-
"category_name": "Combo",
|
|
293
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
294
|
-
"product_tax_id": [
|
|
269
|
+
"modifier_trx_id": "EpWpPRku",
|
|
270
|
+
"linked_product": "",
|
|
271
|
+
"tax_amount": "0.140000",
|
|
272
|
+
"tax_array": [
|
|
295
273
|
{
|
|
296
|
-
|
|
274
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021",
|
|
275
|
+
"tax_label": "IVA 16%",
|
|
276
|
+
"tax_rate": 16,
|
|
277
|
+
"tax_sequence": 1,
|
|
278
|
+
"base_price_effected": 0,
|
|
279
|
+
"tax_amount": "0.140000",
|
|
280
|
+
"base_price": "0.86",
|
|
281
|
+
"tax_rate_quantity": 0
|
|
297
282
|
}
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
"status": 0,
|
|
301
|
-
"ieps_details": {
|
|
302
|
-
"type": "",
|
|
303
|
-
"tax_id": 0
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
]
|
|
309
|
-
}
|
|
310
|
-
],
|
|
311
|
-
"quantity_index": 0,
|
|
312
|
-
"package_index": 0,
|
|
313
|
-
"quantity": 1,
|
|
314
|
-
"type": "ungrouped",
|
|
315
|
-
"modifiers": [
|
|
316
|
-
{
|
|
317
|
-
"modifier_category_id": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
318
|
-
"modifer_cat": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
319
|
-
"modifier_caetgory_name": "Pizza modifiers",
|
|
320
|
-
"modifier_item_id": "64b8625c-bf65-4ff0-aa64-43ac4476762a",
|
|
321
|
-
"modifier_category_sequence": "0",
|
|
322
|
-
"modifier_sequence": "0undefined",
|
|
323
|
-
"modifier_item_price": 10,
|
|
324
|
-
"modifier_item_name": "Modifier 1",
|
|
325
|
-
"is_tax_rate_same": 1,
|
|
326
|
-
"tax_rate": 8,
|
|
327
|
-
"quantity": 1,
|
|
328
|
-
"item_id": "9e90ef00-c1cd-43f4-a204-d9e3e00ed1da",
|
|
329
|
-
"quantityIndex": 0,
|
|
330
|
-
"packageIndex": 0,
|
|
331
|
-
"type": "ungrouped",
|
|
332
|
-
"modifier_index": 0,
|
|
333
|
-
"tax_id": [
|
|
334
|
-
{
|
|
335
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
336
|
-
}
|
|
337
|
-
],
|
|
338
|
-
"modifier_trx_id": "zO3pFxSk",
|
|
339
|
-
"linked_product": {
|
|
340
|
-
"product_id": "2be54724-d750-45a6-a6e6-1e5ff49c06ce",
|
|
341
|
-
"purchase_type": "2",
|
|
342
|
-
"is_purchasable": 1,
|
|
343
|
-
"item_name": "Kiwiburger",
|
|
344
|
-
"category_name": "Combo",
|
|
345
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
346
|
-
"product_tax_id": [
|
|
347
|
-
{
|
|
348
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
349
|
-
}
|
|
350
|
-
],
|
|
351
|
-
"ieps_tax": {
|
|
352
|
-
"status": 0,
|
|
353
|
-
"ieps_details": {
|
|
354
|
-
"type": "",
|
|
355
|
-
"tax_id": 0
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"modifier_category_id": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
362
|
-
"modifer_cat": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
363
|
-
"modifier_caetgory_name": "Pizza modifiers",
|
|
364
|
-
"modifier_item_id": "59bcebc1-1ac4-4779-a64d-cd14a1f2f55b",
|
|
365
|
-
"modifier_category_sequence": "0",
|
|
366
|
-
"modifier_sequence": "0undefined",
|
|
367
|
-
"modifier_item_price": 10,
|
|
368
|
-
"modifier_item_name": "Modifier 2",
|
|
369
|
-
"is_tax_rate_same": 1,
|
|
370
|
-
"tax_rate": 8,
|
|
371
|
-
"quantity": 1,
|
|
372
|
-
"item_id": "9e90ef00-c1cd-43f4-a204-d9e3e00ed1da",
|
|
373
|
-
"quantityIndex": 0,
|
|
374
|
-
"packageIndex": 0,
|
|
375
|
-
"type": "ungrouped",
|
|
376
|
-
"modifier_index": 0,
|
|
377
|
-
"tax_id": [
|
|
378
|
-
{
|
|
379
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
380
|
-
}
|
|
381
|
-
],
|
|
382
|
-
"modifier_trx_id": "lVhgkTSv",
|
|
383
|
-
"linked_product": {
|
|
384
|
-
"product_id": "2be54724-d750-45a6-a6e6-1e5ff49c06ce",
|
|
385
|
-
"purchase_type": "2",
|
|
386
|
-
"is_purchasable": 1,
|
|
387
|
-
"item_name": "Monch Burge",
|
|
388
|
-
"category_name": "Combo",
|
|
389
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
390
|
-
"product_tax_id": [
|
|
391
|
-
{
|
|
392
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
393
|
-
}
|
|
394
|
-
],
|
|
395
|
-
"ieps_tax": {
|
|
396
|
-
"status": 0,
|
|
397
|
-
"ieps_details": {
|
|
398
|
-
"type": "",
|
|
399
|
-
"tax_id": 0
|
|
400
|
-
}
|
|
401
|
-
}
|
|
283
|
+
],
|
|
284
|
+
"stk_seq_id": 2
|
|
402
285
|
}
|
|
403
|
-
}
|
|
404
286
|
],
|
|
405
|
-
"
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
"modifier_caetgory_name": "Pizza modifiers",
|
|
410
|
-
"modifier_item_id": "64b8625c-bf65-4ff0-aa64-43ac4476762a",
|
|
411
|
-
"modifier_category_sequence": "0",
|
|
412
|
-
"modifier_sequence": "0undefined",
|
|
413
|
-
"modifier_item_price": 10,
|
|
414
|
-
"modifier_item_name": "Modifier 1",
|
|
415
|
-
"is_tax_rate_same": 1,
|
|
416
|
-
"tax_rate": 8,
|
|
417
|
-
"quantity": 1,
|
|
418
|
-
"item_id": "9e90ef00-c1cd-43f4-a204-d9e3e00ed1da",
|
|
419
|
-
"quantityIndex": 0,
|
|
420
|
-
"packageIndex": 0,
|
|
421
|
-
"type": "ungrouped",
|
|
422
|
-
"modifier_index": 0,
|
|
423
|
-
"tax_id": [
|
|
424
|
-
{
|
|
425
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
426
|
-
}
|
|
427
|
-
],
|
|
428
|
-
"modifier_trx_id": "zO3pFxSk",
|
|
429
|
-
"linked_product": {
|
|
430
|
-
"product_id": "2be54724-d750-45a6-a6e6-1e5ff49c06ce",
|
|
431
|
-
"purchase_type": "2",
|
|
432
|
-
"is_purchasable": 1,
|
|
433
|
-
"item_name": "Kiwiburger",
|
|
434
|
-
"category_name": "Combo",
|
|
435
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
436
|
-
"product_tax_id": [
|
|
437
|
-
{
|
|
438
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
439
|
-
}
|
|
440
|
-
],
|
|
441
|
-
"ieps_tax": {
|
|
442
|
-
"status": 0,
|
|
443
|
-
"ieps_details": {
|
|
444
|
-
"type": "",
|
|
445
|
-
"tax_id": 0
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"modifier_category_id": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
452
|
-
"modifer_cat": "cf9b55fc-268b-4ad9-bf6a-c77cf173acb9",
|
|
453
|
-
"modifier_caetgory_name": "Pizza modifiers",
|
|
454
|
-
"modifier_item_id": "59bcebc1-1ac4-4779-a64d-cd14a1f2f55b",
|
|
455
|
-
"modifier_category_sequence": "0",
|
|
456
|
-
"modifier_sequence": "0undefined",
|
|
457
|
-
"modifier_item_price": 10,
|
|
458
|
-
"modifier_item_name": "Modifier 2",
|
|
459
|
-
"is_tax_rate_same": 1,
|
|
460
|
-
"tax_rate": 8,
|
|
461
|
-
"quantity": 1,
|
|
462
|
-
"item_id": "9e90ef00-c1cd-43f4-a204-d9e3e00ed1da",
|
|
463
|
-
"quantityIndex": 0,
|
|
464
|
-
"packageIndex": 0,
|
|
465
|
-
"type": "ungrouped",
|
|
466
|
-
"modifier_index": 0,
|
|
467
|
-
"tax_id": [
|
|
468
|
-
{
|
|
469
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
470
|
-
}
|
|
471
|
-
],
|
|
472
|
-
"modifier_trx_id": "lVhgkTSv",
|
|
473
|
-
"linked_product": {
|
|
474
|
-
"product_id": "2be54724-d750-45a6-a6e6-1e5ff49c06ce",
|
|
475
|
-
"purchase_type": "2",
|
|
476
|
-
"is_purchasable": 1,
|
|
477
|
-
"item_name": "Monch Burge",
|
|
478
|
-
"category_name": "Combo",
|
|
479
|
-
"category_id": "9b5eb505-8d73-11f0-a5b4-12b5681bf65d",
|
|
480
|
-
"product_tax_id": [
|
|
481
|
-
{
|
|
482
|
-
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f"
|
|
483
|
-
}
|
|
484
|
-
],
|
|
485
|
-
"ieps_tax": {
|
|
486
|
-
"status": 0,
|
|
487
|
-
"ieps_details": {
|
|
488
|
-
"type": "",
|
|
489
|
-
"tax_id": 0
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
]
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"ieps_tax": {
|
|
498
|
-
"status": 0,
|
|
499
|
-
"ieps_details": {
|
|
500
|
-
"type": "",
|
|
501
|
-
"tax_id": 0
|
|
502
|
-
}
|
|
503
|
-
},
|
|
504
|
-
"item_id": "ffec78d0-d7b8-47a4-a18a-83e81ced1f73",
|
|
505
|
-
"category_id": "100ff5ec-5e3e-11f0-b5e1-1228d12cd9c5",
|
|
506
|
-
"item_name": "Chicken burger",
|
|
507
|
-
"item_description": "A chicken burger, also referred to as a chicken sandwich in the United States, is a chicken patty served on a hamburger bun with similar condiments and toppings as found on hamburgers",
|
|
508
|
-
"price": 81.25,
|
|
509
|
-
"item_display_text": "Chicken burger",
|
|
510
|
-
"tax_rate": 0,
|
|
287
|
+
"isPackage": 0,
|
|
288
|
+
"package_items": [],
|
|
289
|
+
"actual_price": 0,
|
|
290
|
+
"item_event": "new",
|
|
511
291
|
"tax_id": [
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
292
|
+
{
|
|
293
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021"
|
|
294
|
+
}
|
|
515
295
|
],
|
|
516
|
-
"cat_items_modifiercat": [],
|
|
517
|
-
"quantity_index": 0,
|
|
518
|
-
"package_index": 1,
|
|
519
|
-
"quantity": 1,
|
|
520
|
-
"type": "ungrouped",
|
|
521
|
-
"modifiers": [],
|
|
522
|
-
"item_modifiers": []
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
296
|
"ieps_tax": {
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
297
|
+
"status": 0,
|
|
298
|
+
"ieps_details": {
|
|
299
|
+
"type": "",
|
|
300
|
+
"tax_id": 0
|
|
301
|
+
}
|
|
531
302
|
},
|
|
532
|
-
"
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
303
|
+
"item_trx_id": "AIbvQuCt",
|
|
304
|
+
"special_instruction": "",
|
|
305
|
+
"tax_amount": "9.650000",
|
|
306
|
+
"tax_array": [
|
|
307
|
+
{
|
|
308
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021",
|
|
309
|
+
"tax_label": "IVA 16%",
|
|
310
|
+
"tax_rate": 16,
|
|
311
|
+
"tax_sequence": 1,
|
|
312
|
+
"base_price_effected": 0,
|
|
313
|
+
"tax_amount": "9.650000",
|
|
314
|
+
"base_price": "60.34",
|
|
315
|
+
"tax_rate_quantity": 0
|
|
316
|
+
}
|
|
543
317
|
],
|
|
544
|
-
"
|
|
545
|
-
"
|
|
546
|
-
"
|
|
547
|
-
"
|
|
548
|
-
"
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
}
|
|
559
|
-
],
|
|
560
|
-
"ieps_tax": {
|
|
561
|
-
"status": 0,
|
|
562
|
-
"ieps_details": {
|
|
563
|
-
"type": "",
|
|
564
|
-
"tax_id": 0
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
|
-
"item_trx_id": "40DVjt0C",
|
|
568
|
-
"special_instruction": ""
|
|
569
|
-
}
|
|
318
|
+
"tax_amount_modifier": "10.210000",
|
|
319
|
+
"total_tax_amount": "10.210000",
|
|
320
|
+
"stk_seq_id": 2,
|
|
321
|
+
"order_version": 3,
|
|
322
|
+
"wa_user_info": {
|
|
323
|
+
"user_id": 1000221,
|
|
324
|
+
"user_name": "POS Manager"
|
|
325
|
+
},
|
|
326
|
+
"sync": true,
|
|
327
|
+
"pos_user_id": 1000221,
|
|
328
|
+
"promotion_discount": 0,
|
|
329
|
+
"points_discount": 0,
|
|
330
|
+
"points_discount_modifier": 0
|
|
331
|
+
}
|
|
570
332
|
]
|
|
571
|
-
|
|
572
|
-
|
|
333
|
+
},
|
|
334
|
+
"tax_settings": [
|
|
573
335
|
{
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
336
|
+
"tax_id": "425a195c-3b37-11ed-af0e-42010ad46021",
|
|
337
|
+
"tax_label": "IVA 16%",
|
|
338
|
+
"tax_rate": 16,
|
|
339
|
+
"tax_sequence": 1,
|
|
340
|
+
"base_price_effected": 0
|
|
579
341
|
},
|
|
580
342
|
{
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
343
|
+
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f",
|
|
344
|
+
"tax_label": "IVA 8%",
|
|
345
|
+
"tax_rate": 8,
|
|
346
|
+
"tax_sequence": 1,
|
|
347
|
+
"base_price_effected": 0
|
|
586
348
|
},
|
|
587
349
|
{
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
350
|
+
"tax_id": "e47296aa-b5ae-449f-ab5f-ff50f43a648a",
|
|
351
|
+
"tax_label": "Sin IVA",
|
|
352
|
+
"tax_rate": 0,
|
|
353
|
+
"tax_sequence": 3,
|
|
354
|
+
"base_price_effected": 0
|
|
593
355
|
},
|
|
594
356
|
{
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
357
|
+
"tax_id": "21036b00-bdb4-4485-aaba-d088a721a67f1",
|
|
358
|
+
"tax_label": "IEPS 8%",
|
|
359
|
+
"tax_rate": 8,
|
|
360
|
+
"tax_sequence": 2,
|
|
361
|
+
"base_price_effected": 0
|
|
600
362
|
}
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
363
|
+
],
|
|
364
|
+
"tax_type": 2,
|
|
365
|
+
"store_value": "84859.00",
|
|
366
|
+
"store_value_without_roundoff": "84859.00",
|
|
367
|
+
"loyalty_points_details": {
|
|
368
|
+
"points": "84859.00",
|
|
369
|
+
"redeemable": "yes",
|
|
370
|
+
"store_value": "84859.00",
|
|
371
|
+
"redeem_categories": [
|
|
372
|
+
{
|
|
373
|
+
"product_id": "All",
|
|
374
|
+
"category_id": "All"
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"original_store_value": "84859.00",
|
|
378
|
+
"point_amount": 371,
|
|
379
|
+
"status": true,
|
|
380
|
+
"points_redeemed": 371
|
|
381
|
+
},
|
|
382
|
+
"user_detais": {
|
|
383
|
+
"customer_id": 12,
|
|
384
|
+
"member_id": "0a424756-9357-4a3d-a595-9b33ef1961fe",
|
|
385
|
+
"first_name": "MD",
|
|
386
|
+
"last_name": "Talib",
|
|
387
|
+
"phone_number": "9899429030",
|
|
388
|
+
"country_code": "91",
|
|
389
|
+
"fb_sender_id": "9899429030",
|
|
390
|
+
"created_on": "2024-12-23 06:15:35",
|
|
391
|
+
"reward_plan_name": " Chocolate Crumble",
|
|
392
|
+
"reward_plan_id": "13",
|
|
393
|
+
"calling_code": "+52",
|
|
394
|
+
"name": "MD Talib",
|
|
395
|
+
"mobile": "9899429030"
|
|
396
|
+
},
|
|
397
|
+
"tip_type": "",
|
|
398
|
+
"tip_value": "",
|
|
399
|
+
"delivery_cost": 0,
|
|
400
|
+
"service_amount": 0
|
|
401
|
+
}
|