Configuration
The Webhook extension needs to be added by your Support Partner or by Arcavis.
In the Extension you can configure the Endpoint, where Arcavis will send requests to.
Only basic auth is possible. Please filter the Transaction Type that needs to be sent.
Payload
This is an example Payload sent by the webhook (in realtime)
{ "Id": 2000000000815, "Number": "2/815", "Title": "Sale", "TransactionTypeId": 1, "IsEndOfDayTransaction": false, "SaleDay": "2022-03-28T00:00:00", "SaleTime": "2022-03-28T10:57:13.673", "PointOfSaleId": 2, "UserId": 4, "PersonId": null, "StoreId": 1, "Amount": 31.5, "AmountOpen": 0, "AmountPayed": 31.5, "TotalQuantity": 8, "ExecutedTime": "2022-03-28T10:57:13.673", "SynchedTime": "2022-03-28T10:57:24.2338216", "CustomerDisplayName": "", "AnnulationTransactionId": null, "Remarks": null, "GroupReference": null, "TransactionPurposeId": null, "BonusPoints": null, "StatusCode": null, "TransactionArticles": [ { "TransactionId": 2000000000815, "Title": "Thomy Italian Dressing 70 cl", "SaleTitle": "", "ReceiptPosition": 1, "SetReceiptPosition": null, "SubscriptionId": null, "ArticleId": 1749, "Quantity": 3, "UnitId": 1, "IsDiscountLocked": false, "IsBonusLocked": false, "IsDiscountedOrOnSale": true, "SaleId": null, "TaxRate": 0.025, "PriceLevel": 0, "UnitPrice": 5.04, "BuyingPrice": 2.15, "Discount": 1.5, "DiscountPercent": 10, "Price": 13.6, "NetUnitPrice": 4.92, "NetDiscount": 1.46, "NetPrice": 13.27, "DiscountTitle": "10%", "ExternalReference": null, "BonusFactor": null, "Ordered": null, "Remarks": null, "ExtJson": "{}" }, { "TransactionId": 2000000000815, "Title": "Gourmets Aprikosen Halbe 1/2 420 g", "SaleTitle": "", "ReceiptPosition": 2, "SetReceiptPosition": null, "SubscriptionId": null, "ArticleId": 3746, "Quantity": 4, "UnitId": 1, "IsDiscountLocked": false, "IsBonusLocked": false, "IsDiscountedOrOnSale": false, "SaleId": null, "TaxRate": 0.025, "PriceLevel": 0, "UnitPrice": 4.38, "BuyingPrice": 1.85, "Discount": 0, "DiscountPercent": null, "Price": 17.5, "NetUnitPrice": 4.27, "NetDiscount": 0, "NetPrice": 17.07, "DiscountTitle": "", "ExternalReference": null, "BonusFactor": null, "Ordered": null, "Remarks": null, "ExtJson": "{}" }, { "TransactionId": 2000000000815, "Title": "Depot fl 25cl", "SaleTitle": "", "ReceiptPosition": 3, "SetReceiptPosition": null, "SubscriptionId": null, "ArticleId": 4117, "Quantity": 1, "UnitId": 1, "IsDiscountLocked": true, "IsBonusLocked": false, "IsDiscountedOrOnSale": false, "SaleId": null, "TaxRate": 0.077, "PriceLevel": 0, "UnitPrice": 0.42, "BuyingPrice": 0.19, "Discount": 0, "DiscountPercent": null, "Price": 0.4, "NetUnitPrice": 0.39, "NetDiscount": 0, "NetPrice": 0.37, "DiscountTitle": "", "ExternalReference": null, "BonusFactor": null, "Ordered": null, "Remarks": null, "ExtJson": "{}" } ], "TransactionPayments": [ { "TransactionId": 2000000000815, "PaymentTypeId": 1, "Title": "Cash CHF", "Debit": false, "Amount": 50, "AmountDefaultCurrency": 50, "ExchangeRate": 1, "AccountId": 200020000000000, "BoncardReferences": null, "EftCardType": null, "EftCardNumber": null, "EftTrxRef": null, "EftTrxDateTime": null, "EftAuthNumber": null, "EftTerminalId": null, "EftReqSignature": null, "TwintOrderUuid": null, "CustomerReceipt": null }, { "TransactionId": 2000000000815, "PaymentTypeId": 1, "Title": "Return CHF", "Debit": true, "Amount": 18.5, "AmountDefaultCurrency": 18.5, "ExchangeRate": 1, "AccountId": 200020000000000, "BoncardReferences": null, "EftCardType": null, "EftCardNumber": null, "EftTrxRef": null, "EftTrxDateTime": null, "EftAuthNumber": null, "EftTerminalId": null, "EftReqSignature": null, "TwintOrderUuid": null, "CustomerReceipt": null } ], "TransactionVouchers": [], "FiscalJson": null, "ExtJson": "{}", "ReservationId": null, "ReservationResourceTitle": null }