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": 2027,
40
"percentage": "10.00",
41
"description": "Loyalty discount"
42
}
43
],
44
"freeText": "Product instructions etc",
45
"customAttributes": [
46
{ "Warranty": "2 years" },
47
{ "Valid until": "2024-01-14" }
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",
64
"amount": 13243,
65
"attributes": {
66
"cardType": "PaymentCard",
67
"maskedPAN": "401288******1881",
68
"timeStamp": "2022-01-14T06:02:23Z",
69
"terminalId": "BS-4545F9",
70
"referenceNumber": "12315352349",
71
"authorizationCode": "HIU456",
72
"authorizationMethodType": "00948",
73
"transactionId": "123e4567-e89b-12d3-a456-426655440000",
74
"transactionType": "PURCHASE"
75
},
76
"customAttributes": [
77
{ "key": "value" },
78
{ "key2": "value2" },
79
{ "key3": "value3" }
80
]
81
},
82
{
83
"type": "LOYALTY",
84
"amount": 18243,
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": 5000,
98
"attributes": {
99
"handedAmount": 5000
100
}
101
}
102
],
103
"customAttributes": [
104
{ "key": "value" },
105
{ "key2": "value2" },
106
{ "key3": "value3" }
107
],
108
"receiptNumber": "89942344234",
109
"receiptTimeStamp": "2022-01-14T06:02:20.715Z",
110
"currencyISOCode": "EUR",
111
"totalVATAmount": 1884,
112
"totalPriceExcVAT": 16359,
113
"totalPriceIncVAT": 18243
114
}
Copied!
Copy link