Search…
ReceiptHero JSON
Please check HeroJSON Specification for implementation details!
1
{
2
"merchant": {
3
"name": "Global Receipt Delicatesse",
4
"companyID": "123456-7",
5
"branch": {
6
"name": "Receipt Restaurant",
7
"subName":"FastFood",
8
"email": "[email protected]",
9
"phone": "040-5086462",
10
"address": {
11
"streetAddress": "Itsenäisyydenkatu 17 a 15",
12
"city": "Tampere",
13
"zipCode": "33500",
14
"country": "Finland"
15
}
16
}
17
},
18
"products": [
19
{
20
"name": "Ground Control",
21
"EANCode": "42222130165",
22
"quantity": "4",
23
"productId": "1234",
24
"quantityCode": "PCS",
25
"unitPriceIncVAT": 5180,
26
"unitPriceIncVATDecimal": "51,80",
27
"totalAmountExcVAT": 18836,
28
"totalAmountIncVAT": 20720,
29
"vats": [
30
{
31
"VATRate": "24",
32
"VATAmount": 1884,
33
"totalAmountExcVAT": 18836,
34
"totalAmountIncVAT": 20720
35
}
36
],
37
"discounts": [
38
{
39
"amount": 0,
40
"percentage": "0.00",
41
"description": ""
42
}
43
],
44
"freeText": "Product instructions etc",
45
"customAttributes": [
46
{ "Warranty": "2 years" },
47
{ "Valid until": "2020-11-26" }
48
]
49
}
50
],
51
"freeText": "Custom greetings etc",
52
"vats": [
53
{
54
"VATRate": "24",
55
"totalVATAmount": 1884,
56
"totalAmountExcVAT": 18836,
57
"totalAmountIncVAT": 20720,
58
"VATCode": "A"
59
}
60
],
61
"payments": [
62
{
63
"type": "CARD,CASH,VOUCHER,LOYALTY",
64
"amount": 20720,
65
"attributes": {
66
"cardType": "PaymentCard",
67
"maskedPAN": "401288******1881",
68
"timeStamp": "2018-11-26T12:35:34.678Z",
69
"terminalId": "BS-4545F9",
70
"unixTimeStamp": 1543235735,
71
"referenceNumber": "12315352349",
72
"authorizationCode": "HIU456HDDF67FH",
73
"authorizationMethodType": "00948",
74
"transactionId": "123e4567-e89b-12d3-a456-426655440000"
75
},
76
"customAttributes": [
77
{ "key": "value" },
78
{ "key2": "value2" },
79
{ "key3": "value3" }
80
]
81
},
82
{
83
"type": "LOYALTY",
84
"amount": 20720,
85
"attributes": {
86
"cardType": "Plussa",
87
"maskedPAN": "1881"
88
},
89
"customAttributes": [
90
{ "ExtraBonus": "234 points" },
91
{ "key2": "value2" },
92
{ "key3": "value3" }
93
]
94
},
95
{
96
"type": "CASH",
97
"amount": 34920,
98
"attributes": {
99
"handedAmount": 40000
100
}
101
}
102
],
103
"customAttributes": [
104
{ "key": "value" },
105
{ "key2": "value2" },
106
{ "key3": "value3" }
107
],
108
"receiptNumber": "89942344234",
109
"receiptTimeStamp": "2018-11-26T12:35:34.678Z",
110
"currencyISOCode": "EUR",
111
"totalVATAmount": 1884,
112
"totalPriceExcVAT": 18836,
113
"totalPriceIncVAT": 20720,
114
}
Copied!
Last modified 1d ago
Copy link