@dodobrands/pos-receipts-plugin-contracts 5.12.8
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 +180 -0
- package/LICENSE +201 -0
- package/dist/index.cjs +93 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +445 -0
- package/dist/index.d.ts +445 -0
- package/dist/index.js +61 -0
- package/dist/index.js.map +1 -0
- package/examples/example-1.json +93 -0
- package/examples/example-2.json +115 -0
- package/examples/example-3.json +115 -0
- package/examples/example-4.json +139 -0
- package/examples/example-5.1.json +130 -0
- package/examples/example-5.2.json +139 -0
- package/examples/example-6.json +81 -0
- package/examples/example-7.json +76 -0
- package/examples/readme.md +45 -0
- package/package.json +47 -0
- package/readme.md +18 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"CashFromCustomer": 3000,
|
|
3
|
+
"CashRegister": {
|
|
4
|
+
"Number": "31",
|
|
5
|
+
"ShouldCalculateTax": true,
|
|
6
|
+
"UUId": "0022487FBA1EBC6511EBA824DC4AE652"
|
|
7
|
+
},
|
|
8
|
+
"Customer": {
|
|
9
|
+
"Email": null,
|
|
10
|
+
"Identifiers": {
|
|
11
|
+
"NIP": "1231216692"
|
|
12
|
+
},
|
|
13
|
+
"Name": "Tom Riddle"
|
|
14
|
+
},
|
|
15
|
+
"Taxpayer": {
|
|
16
|
+
"IdentificationNumber": null
|
|
17
|
+
},
|
|
18
|
+
"Order": {
|
|
19
|
+
"CreateDate": "2021-05-05T17:28:08.4431623+03:00",
|
|
20
|
+
"Id": "0022487FBA1EBC6911EBADAD751DBC7D",
|
|
21
|
+
"Number": "24",
|
|
22
|
+
"PaymentType": "Cash",
|
|
23
|
+
"PaymentTypeEnum": 0,
|
|
24
|
+
"OrderSource": 2,
|
|
25
|
+
"Price": {
|
|
26
|
+
"Discount": 0,
|
|
27
|
+
"TotalPrice": 2560
|
|
28
|
+
},
|
|
29
|
+
"DeliveryDate": "2021-05-05T18:28:08.4431623+03:00",
|
|
30
|
+
"OrderType": 3,
|
|
31
|
+
"Products": [
|
|
32
|
+
{
|
|
33
|
+
"AddedIngredients": [],
|
|
34
|
+
"Id": "000D3A240C71BE9A11E719BE2AB1F41E",
|
|
35
|
+
"Name": "4 Cheese 10\"",
|
|
36
|
+
"PricePerProduct": {
|
|
37
|
+
"Discount": 0,
|
|
38
|
+
"Price": 245,
|
|
39
|
+
"Taxes": [
|
|
40
|
+
{
|
|
41
|
+
"Rate": 11,
|
|
42
|
+
"Type": "VAT"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"Quantity": 1,
|
|
47
|
+
"RemovedIngredients": []
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"AddedIngredients": [],
|
|
51
|
+
"Id": "000D3A240C71BE9A11E719BE2AB1F5FC",
|
|
52
|
+
"Name": "4 Cheese 12\"",
|
|
53
|
+
"PricePerProduct": {
|
|
54
|
+
"Discount": 0,
|
|
55
|
+
"Price": 375,
|
|
56
|
+
"Taxes": [
|
|
57
|
+
{
|
|
58
|
+
"Rate": 11,
|
|
59
|
+
"Type": "VAT"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"Quantity": 3,
|
|
64
|
+
"RemovedIngredients": []
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"AddedIngredients": [],
|
|
68
|
+
"Id": "000D3A39D824A82E11EA1CB2A6661ED2",
|
|
69
|
+
"Name": "Dodo Supreme 12\"",
|
|
70
|
+
"PricePerProduct": {
|
|
71
|
+
"Discount": 0,
|
|
72
|
+
"Price": 565,
|
|
73
|
+
"Taxes": [
|
|
74
|
+
{
|
|
75
|
+
"Rate": 11,
|
|
76
|
+
"Type": "VAT"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"Quantity": 1,
|
|
81
|
+
"RemovedIngredients": ["томаты", "чеснок"]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"AddedIngredients": [],
|
|
85
|
+
"Id": "000D3A24D2B7A94311E8AF7D16D63A0E",
|
|
86
|
+
"Name": "Half & Half pizza 4 Cheese + Dodo Supreme",
|
|
87
|
+
"PricePerProduct": {
|
|
88
|
+
"Discount": 0,
|
|
89
|
+
"Price": 625,
|
|
90
|
+
"Taxes": [
|
|
91
|
+
{
|
|
92
|
+
"Rate": 11,
|
|
93
|
+
"Type": "VAT"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"Quantity": 1,
|
|
98
|
+
"RemovedIngredients": ["red onion"]
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"Organization": {
|
|
103
|
+
"Address": "71-75 Shelton Street, London, WC2H 9JQ, United Kingdom",
|
|
104
|
+
"Name": "Yukon Ltd Limited",
|
|
105
|
+
"Requisites": {
|
|
106
|
+
"VAT": "123456",
|
|
107
|
+
"SOME-OTHER-REQ-1": "1166313070681",
|
|
108
|
+
"SOME-OTHER-REQ-2": ""
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"Store": {
|
|
112
|
+
"Address": "Platform 8 7/4, Kings Cross Station, London, N1 9AP, United Kingdom"
|
|
113
|
+
},
|
|
114
|
+
"PreviousReceipts": []
|
|
115
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"CashFromCustomer": 0,
|
|
3
|
+
"CashRegister": {
|
|
4
|
+
"Number": "31",
|
|
5
|
+
"ShouldCalculateTax": true,
|
|
6
|
+
"UUId": "0022487FBA1EBC6511EBA824DC4AE652"
|
|
7
|
+
},
|
|
8
|
+
"Customer": {
|
|
9
|
+
"Email": "pochta@mail.ru",
|
|
10
|
+
"Identifiers": {
|
|
11
|
+
"NIP": "1231216692"
|
|
12
|
+
},
|
|
13
|
+
"Name": "Tom Riddle"
|
|
14
|
+
},
|
|
15
|
+
"Taxpayer": {
|
|
16
|
+
"IdentificationNumber": null
|
|
17
|
+
},
|
|
18
|
+
"Order": {
|
|
19
|
+
"CreateDate": "2021-05-06T10:22:55.6099431+03:00",
|
|
20
|
+
"Id": "0022487FBA1EBC6A11EBAE3BC5AEEB4F",
|
|
21
|
+
"Number": "1",
|
|
22
|
+
"PaymentType": "BankCard",
|
|
23
|
+
"PaymentTypeEnum": 1,
|
|
24
|
+
"OrderSource": 2,
|
|
25
|
+
"Price": {
|
|
26
|
+
"Discount": 0,
|
|
27
|
+
"TotalPrice": 1024
|
|
28
|
+
},
|
|
29
|
+
"DeliveryDate": "2021-05-06T11:22:55.6099431+03:00",
|
|
30
|
+
"OrderType": 3,
|
|
31
|
+
"Products": [
|
|
32
|
+
{
|
|
33
|
+
"AddedIngredients": [],
|
|
34
|
+
"Id": "000D3A39D824A82E11EA1CB2A6661ED2",
|
|
35
|
+
"Name": "Dodo Supreme 12\"",
|
|
36
|
+
"PricePerProduct": {
|
|
37
|
+
"Discount": 0,
|
|
38
|
+
"Price": 565,
|
|
39
|
+
"Taxes": [
|
|
40
|
+
{
|
|
41
|
+
"Rate": 11,
|
|
42
|
+
"Type": "VAT"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"Quantity": 1,
|
|
47
|
+
"RemovedIngredients": []
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"AddedIngredients": [],
|
|
51
|
+
"Id": "000D3A39D824A82E11EA1CB2A6661ED2",
|
|
52
|
+
"Name": "Dodo Supreme 12\"",
|
|
53
|
+
"PricePerProduct": {
|
|
54
|
+
"Discount": 0,
|
|
55
|
+
"Price": 343,
|
|
56
|
+
"Taxes": [
|
|
57
|
+
{
|
|
58
|
+
"Rate": 11,
|
|
59
|
+
"Type": "VAT"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"Quantity": 1,
|
|
64
|
+
"RemovedIngredients": []
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"AddedIngredients": [],
|
|
68
|
+
"Id": "000D3A240C71BE9A11E719BE2AD13D0D",
|
|
69
|
+
"Name": "Coca Cola Zero 500 ml",
|
|
70
|
+
"PricePerProduct": {
|
|
71
|
+
"Discount": 0,
|
|
72
|
+
"Price": 58,
|
|
73
|
+
"Taxes": [
|
|
74
|
+
{
|
|
75
|
+
"Rate": 20,
|
|
76
|
+
"Type": "VAT"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"Quantity": 1,
|
|
81
|
+
"RemovedIngredients": []
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"AddedIngredients": [],
|
|
85
|
+
"Id": "000D3A23B0DC80DC11E7571ACB3BC29C",
|
|
86
|
+
"Name": "Fanta Orange 2 l",
|
|
87
|
+
"PricePerProduct": {
|
|
88
|
+
"Discount": 0,
|
|
89
|
+
"Price": 58,
|
|
90
|
+
"Taxes": [
|
|
91
|
+
{
|
|
92
|
+
"Rate": 20,
|
|
93
|
+
"Type": "VAT"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"Quantity": 1,
|
|
98
|
+
"RemovedIngredients": []
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"Organization": {
|
|
103
|
+
"Address": "71-75 Shelton Street, London, WC2H 9JQ, United Kingdom",
|
|
104
|
+
"Name": "Yukon Ltd Limited",
|
|
105
|
+
"Requisites": {
|
|
106
|
+
"VAT": "123456",
|
|
107
|
+
"SOME-OTHER-REQ-1": "1166313070681",
|
|
108
|
+
"SOME-OTHER-REQ-2": ""
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"Store": {
|
|
112
|
+
"Address": "Platform 8 7/4, Kings Cross Station, London, N1 9AP, United Kingdom"
|
|
113
|
+
},
|
|
114
|
+
"PreviousReceipts": []
|
|
115
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"CashFromCustomer": 1490,
|
|
3
|
+
"CashRegister": {
|
|
4
|
+
"Number": "31",
|
|
5
|
+
"ShouldCalculateTax": true,
|
|
6
|
+
"UUId": "0022487FBA1EBC6511EBA824DC4AE652"
|
|
7
|
+
},
|
|
8
|
+
"Customer": {
|
|
9
|
+
"Email": "pochta@mail.ru",
|
|
10
|
+
"Identifiers": {
|
|
11
|
+
"NIP": "1231216692"
|
|
12
|
+
},
|
|
13
|
+
"Name": "Tom Riddle"
|
|
14
|
+
},
|
|
15
|
+
"Taxpayer": {
|
|
16
|
+
"IdentificationNumber": null
|
|
17
|
+
},
|
|
18
|
+
"Order": {
|
|
19
|
+
"CreateDate": "2021-05-06T10:30:49.1656075+03:00",
|
|
20
|
+
"Id": "0022487FBA1EBC6A11EBAE3CC10A1286",
|
|
21
|
+
"Number": "2",
|
|
22
|
+
"PaymentType": "Cash",
|
|
23
|
+
"PaymentTypeEnum": 0,
|
|
24
|
+
"OrderSource": 2,
|
|
25
|
+
"Price": {
|
|
26
|
+
"Discount": 500,
|
|
27
|
+
"TotalPrice": 1489
|
|
28
|
+
},
|
|
29
|
+
"DeliveryDate": "2021-05-06T11:30:49.1656075+03:00",
|
|
30
|
+
"OrderType": 3,
|
|
31
|
+
"Products": [
|
|
32
|
+
{
|
|
33
|
+
"AddedIngredients": [],
|
|
34
|
+
"Id": "000D3A39D824A82E11EA1CB2A6661ED6",
|
|
35
|
+
"Name": "Dodo Supreme 14\"",
|
|
36
|
+
"PricePerProduct": {
|
|
37
|
+
"Discount": 0,
|
|
38
|
+
"Price": 695,
|
|
39
|
+
"Taxes": [
|
|
40
|
+
{
|
|
41
|
+
"Rate": 11,
|
|
42
|
+
"Type": "VAT"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"Quantity": 1,
|
|
47
|
+
"RemovedIngredients": []
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"AddedIngredients": [],
|
|
51
|
+
"Id": "000D3A39D824A82E11EA1CB2A6661ED6",
|
|
52
|
+
"Name": "Dodo Supreme 14\"",
|
|
53
|
+
"PricePerProduct": {
|
|
54
|
+
"Discount": 0,
|
|
55
|
+
"Price": 695,
|
|
56
|
+
"Taxes": [
|
|
57
|
+
{
|
|
58
|
+
"Rate": 11,
|
|
59
|
+
"Type": "VAT"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"Quantity": 1,
|
|
64
|
+
"RemovedIngredients": []
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"AddedIngredients": [],
|
|
68
|
+
"Id": "000D3A39D824A82E11EA1CB2A6661ED0",
|
|
69
|
+
"Name": "Dodo Supreme 10\"",
|
|
70
|
+
"PricePerProduct": {
|
|
71
|
+
"Discount": 0,
|
|
72
|
+
"Price": 343,
|
|
73
|
+
"Taxes": [
|
|
74
|
+
{
|
|
75
|
+
"Rate": 11,
|
|
76
|
+
"Type": "VAT"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"Quantity": 1,
|
|
81
|
+
"RemovedIngredients": []
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"AddedIngredients": [],
|
|
85
|
+
"Id": "000D3A240C71BE9A11E719BE2AB2D427",
|
|
86
|
+
"Name": "Dodster 1 pcs.",
|
|
87
|
+
"PricePerProduct": {
|
|
88
|
+
"Discount": 0,
|
|
89
|
+
"Price": 146,
|
|
90
|
+
"Taxes": [
|
|
91
|
+
{
|
|
92
|
+
"Rate": 11,
|
|
93
|
+
"Type": "VAT"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"Quantity": 1,
|
|
98
|
+
"RemovedIngredients": []
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"AddedIngredients": [],
|
|
102
|
+
"Id": "000D3A240C71BE9A11E719BE2ACAB58D",
|
|
103
|
+
"Name": "Sprite 0,5 l",
|
|
104
|
+
"PricePerProduct": {
|
|
105
|
+
"Discount": 0,
|
|
106
|
+
"Price": 87,
|
|
107
|
+
"Taxes": []
|
|
108
|
+
},
|
|
109
|
+
"Quantity": 1,
|
|
110
|
+
"RemovedIngredients": []
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"AddedIngredients": [],
|
|
114
|
+
"Id": "000D3A240C71BE9A11E719BE2AB264A6",
|
|
115
|
+
"Name": "Dip BBQ sauce 1 pcs.",
|
|
116
|
+
"PricePerProduct": {
|
|
117
|
+
"Discount": 0,
|
|
118
|
+
"Price": 23,
|
|
119
|
+
"Taxes": []
|
|
120
|
+
},
|
|
121
|
+
"Quantity": 1,
|
|
122
|
+
"RemovedIngredients": []
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"Organization": {
|
|
127
|
+
"Address": "71-75 Shelton Street, London, WC2H 9JQ, United Kingdom",
|
|
128
|
+
"Name": "Yukon Ltd Limited",
|
|
129
|
+
"Requisites": {
|
|
130
|
+
"VAT": "123456",
|
|
131
|
+
"SOME-OTHER-REQ-1": "1166313070681",
|
|
132
|
+
"SOME-OTHER-REQ-2": ""
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"Store": {
|
|
136
|
+
"Address": "Platform 8 7/4, Kings Cross Station, London, N1 9AP, United Kingdom"
|
|
137
|
+
},
|
|
138
|
+
"PreviousReceipts": []
|
|
139
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"CashFromCustomer": 1759,
|
|
3
|
+
"CashRegister": {
|
|
4
|
+
"Number": "31",
|
|
5
|
+
"ShouldCalculateTax": true,
|
|
6
|
+
"UUId": "0022487FBA1EBC6511EBA824DC4AE652"
|
|
7
|
+
},
|
|
8
|
+
"Customer": {
|
|
9
|
+
"Email": "pochta@mail.ru",
|
|
10
|
+
"Identifiers": {
|
|
11
|
+
"NIP": "1231216692"
|
|
12
|
+
},
|
|
13
|
+
"Name": "Tom Riddle"
|
|
14
|
+
},
|
|
15
|
+
"Taxpayer": {
|
|
16
|
+
"IdentificationNumber": null
|
|
17
|
+
},
|
|
18
|
+
"Order": {
|
|
19
|
+
"CreateDate": "2021-05-06T10:36:03.8482820+03:00",
|
|
20
|
+
"Id": "0022487FBA1EBC6A11EBAE3D63D1B487",
|
|
21
|
+
"Number": "3",
|
|
22
|
+
"PaymentType": "Cash",
|
|
23
|
+
"PaymentTypeEnum": 0,
|
|
24
|
+
"OrderSource": 2,
|
|
25
|
+
"Price": {
|
|
26
|
+
"Discount": 0,
|
|
27
|
+
"TotalPrice": 1759
|
|
28
|
+
},
|
|
29
|
+
"DeliveryDate": "2021-05-06T10:36:03.8482820+03:00",
|
|
30
|
+
"OrderType": 3,
|
|
31
|
+
"Products": [
|
|
32
|
+
{
|
|
33
|
+
"AddedIngredients": [
|
|
34
|
+
{
|
|
35
|
+
"Name": "Chicken fillet",
|
|
36
|
+
"Price": 79,
|
|
37
|
+
"Quantity": 1
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"Name": "Cheese (Feta) ",
|
|
41
|
+
"Price": 79,
|
|
42
|
+
"Quantity": 1
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"Name": "Bacon (slice)",
|
|
46
|
+
"Price": 79,
|
|
47
|
+
"Quantity": 1
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"Id": "000D3A240C71BE9A11E719BE2AB25A5D",
|
|
51
|
+
"Name": "Farmhouse 12\"",
|
|
52
|
+
"PricePerProduct": {
|
|
53
|
+
"Discount": 100,
|
|
54
|
+
"Price": 732,
|
|
55
|
+
"Taxes": [
|
|
56
|
+
{
|
|
57
|
+
"Rate": 11,
|
|
58
|
+
"Type": "VAT"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"Quantity": 1,
|
|
63
|
+
"RemovedIngredients": []
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"AddedIngredients": [],
|
|
67
|
+
"Id": "000D3A240C71BE9A11E719BE2AB25A5D",
|
|
68
|
+
"Name": "Farmhouse 12\"",
|
|
69
|
+
"PricePerProduct": {
|
|
70
|
+
"Discount": 100,
|
|
71
|
+
"Price": 495,
|
|
72
|
+
"Taxes": [
|
|
73
|
+
{
|
|
74
|
+
"Rate": 11,
|
|
75
|
+
"Type": "VAT"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"Quantity": 1,
|
|
80
|
+
"RemovedIngredients": []
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"AddedIngredients": [
|
|
84
|
+
{
|
|
85
|
+
"Name": "Chicken fillet",
|
|
86
|
+
"Price": 79,
|
|
87
|
+
"Quantity": 1
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"Name": "Cheese (Feta) ",
|
|
91
|
+
"Price": 79,
|
|
92
|
+
"Quantity": 1
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"Name": "Bacon (slice)",
|
|
96
|
+
"Price": 79,
|
|
97
|
+
"Quantity": 1
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"Id": "000D3A240C71BE9A11E719BE2AB25A5D",
|
|
101
|
+
"Name": "Farmhouse 12\"",
|
|
102
|
+
"PricePerProduct": {
|
|
103
|
+
"Discount": 0,
|
|
104
|
+
"Price": 732,
|
|
105
|
+
"Taxes": [
|
|
106
|
+
{
|
|
107
|
+
"Rate": 11,
|
|
108
|
+
"Type": "VAT"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"Quantity": 1,
|
|
113
|
+
"RemovedIngredients": []
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"Organization": {
|
|
118
|
+
"Address": "71-75 Shelton Street, London, WC2H 9JQ, United Kingdom",
|
|
119
|
+
"Name": "Yukon Ltd Limited",
|
|
120
|
+
"Requisites": {
|
|
121
|
+
"VAT": "123456",
|
|
122
|
+
"SOME-OTHER-REQ-1": "1166313070681",
|
|
123
|
+
"SOME-OTHER-REQ-2": ""
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"Store": {
|
|
127
|
+
"Address": "Platform 8 7/4, Kings Cross Station, London, N1 9AP, United Kingdom"
|
|
128
|
+
},
|
|
129
|
+
"PreviousReceipts": []
|
|
130
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"CashFromCustomer": 1759,
|
|
3
|
+
"CashRegister": {
|
|
4
|
+
"Number": "31",
|
|
5
|
+
"ShouldCalculateTax": true,
|
|
6
|
+
"UUId": "0022487FBA1EBC6511EBA824DC4AE652"
|
|
7
|
+
},
|
|
8
|
+
"Customer": {
|
|
9
|
+
"Email": "pochta@mail.ru",
|
|
10
|
+
"Identifiers": {
|
|
11
|
+
"NIP": "1231216692"
|
|
12
|
+
},
|
|
13
|
+
"Name": "Tom Riddle"
|
|
14
|
+
},
|
|
15
|
+
"Taxpayer": {
|
|
16
|
+
"IdentificationNumber": null
|
|
17
|
+
},
|
|
18
|
+
"Order": {
|
|
19
|
+
"CreateDate": "2021-05-06T10:36:04.0000000+03:00",
|
|
20
|
+
"Id": "0022487FBA1EBC6A11EBAE3D63D1B487",
|
|
21
|
+
"Number": "3",
|
|
22
|
+
"PaymentType": "Cash",
|
|
23
|
+
"PaymentTypeEnum": 0,
|
|
24
|
+
"OrderSource": 2,
|
|
25
|
+
"Price": {
|
|
26
|
+
"Discount": 0,
|
|
27
|
+
"TotalPrice": 1759
|
|
28
|
+
},
|
|
29
|
+
"DeliveryDate": "2021-05-06T10:36:04.0000000+03:00",
|
|
30
|
+
"OrderType": 3,
|
|
31
|
+
"Products": [
|
|
32
|
+
{
|
|
33
|
+
"AddedIngredients": [
|
|
34
|
+
{
|
|
35
|
+
"Name": "Chicken",
|
|
36
|
+
"Price": 79,
|
|
37
|
+
"Quantity": 1
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"Name": "Brynza",
|
|
41
|
+
"Price": 79,
|
|
42
|
+
"Quantity": 1
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"Name": "Bacon",
|
|
46
|
+
"Price": null,
|
|
47
|
+
"Quantity": 1
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"Id": "000D3A240C71BE9A11E719BE2AB25A5D",
|
|
51
|
+
"Name": "Farmhouse 12\"",
|
|
52
|
+
"PricePerProduct": {
|
|
53
|
+
"Discount": 100,
|
|
54
|
+
"Price": 732,
|
|
55
|
+
"Taxes": [
|
|
56
|
+
{
|
|
57
|
+
"Rate": 11,
|
|
58
|
+
"Type": "VAT"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"Quantity": 1,
|
|
63
|
+
"RemovedIngredients": []
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"AddedIngredients": [],
|
|
67
|
+
"Id": "000D3A240C71BE9A11E719BE2AB25A5D",
|
|
68
|
+
"Name": "Farmhouse 12\"",
|
|
69
|
+
"PricePerProduct": {
|
|
70
|
+
"Discount": 100,
|
|
71
|
+
"Price": 495,
|
|
72
|
+
"Taxes": [
|
|
73
|
+
{
|
|
74
|
+
"Rate": 11,
|
|
75
|
+
"Type": "VAT"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"Quantity": 1,
|
|
80
|
+
"RemovedIngredients": []
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"AddedIngredients": [
|
|
84
|
+
{
|
|
85
|
+
"Name": "Chicken",
|
|
86
|
+
"Price": 79,
|
|
87
|
+
"Quantity": 1
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"Name": "Brynza",
|
|
91
|
+
"Price": 79,
|
|
92
|
+
"Quantity": 1
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"Name": "Bacon",
|
|
96
|
+
"Price": null,
|
|
97
|
+
"Quantity": 1
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"Id": "000D3A240C71BE9A11E719BE2AB25A5D",
|
|
101
|
+
"Name": "Farmhouse 12\"",
|
|
102
|
+
"PricePerProduct": {
|
|
103
|
+
"Discount": 0,
|
|
104
|
+
"Price": 732,
|
|
105
|
+
"Taxes": [
|
|
106
|
+
{
|
|
107
|
+
"Rate": 11,
|
|
108
|
+
"Type": "VAT"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"Quantity": 1,
|
|
113
|
+
"RemovedIngredients": []
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"Organization": {
|
|
118
|
+
"Address": "71-75 Shelton Street, London, WC2H 9JQ, United Kingdom",
|
|
119
|
+
"Name": "Yukon Ltd Limited",
|
|
120
|
+
"Requisites": {
|
|
121
|
+
"VAT": "123456",
|
|
122
|
+
"SOME-OTHER-REQ-1": "1166313070681",
|
|
123
|
+
"SOME-OTHER-REQ-2": ""
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"Store": {
|
|
127
|
+
"Address": "Platform 8 7/4, Kings Cross Station, London, N1 9AP, United Kingdom"
|
|
128
|
+
},
|
|
129
|
+
"PreviousReceipts": [
|
|
130
|
+
{
|
|
131
|
+
"Id": 1,
|
|
132
|
+
"PrintDateTime": "2021-05-06T10:36:06.0000000+03:00",
|
|
133
|
+
"Type": "Sell",
|
|
134
|
+
"Identifier": "1",
|
|
135
|
+
"CashboxId": "1",
|
|
136
|
+
"PaymentType": 0
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|