Shift Ended

Event type: 1

{
  "event": {
    "type": 1,
    "guid": "4f5e3b8f48687807521a",
    "order": 1264
  },
  "customer": {
    "identifier": "9bd9ca2666e77754b82b",
    "url": "example.hellotess.com",
    "port": 443
  },
  "data": {
    "users": [
      {
        "key": "4f0fb797d1bb15999115",
        "totalSalesBoniert": 5666,
        "totalSalesPaid": 5666,
        "totalSalesHandedOver": 0,
        "totalSalesTakenOver": 0,
        "totalSalesDiff": 0,
        "voidedArticles": [],
        "username": "helloTESS SUPPORT"
      }
    ],
    "taxRates": [
      {
        "key": 500,
        "actualTax": 260,
        "netSales": 5190,
        "totalSales": 5450
      }
    ],
    "taxRatesPerMainArticleGroup": [
      {
        "key": "undefined",
        "taxRates": [
          {
            "key": 500,
            "actualTax": 260,
            "netSales": 5190,
            "totalSales": 5450
          }
        ]
      }
    ],
    "articleSalesByPLU": [
      {
        "key": "10000-330",
        "name": "Pizza Tonno 1 Stück",
        "articleGroupName": "Pizza 1 Stück",
        "totalSales": 1400,
        "percentOfTotalSales": 25.7,
        "articleCount": 4,
        "articlePrice": 350,
        "plu": 19002,
        "totalSalesNetto": 1330,
        "totalPriceBeforeDiscount": 1400,
        "totalDiscount": 0,
        "totalDiscountNetto": 0,
        "totalPriceBeforeDiscountNetto": 1330,
        "taxRates": [
          {
            "key": 500,
            "name": 500,
            "totalSales": 1400,
            "articleCount": 4,
            "totalPriceBeforeDiscount": 1400,
            "totalDiscount": 0,
            "totalSalesNetto": 1330,
            "totalDiscountNetto": 0,
            "totalPriceBeforeDiscountNetto": 1330,
            "percentOfTotalSales": 25.69,
            "netProductionCost": 0
          }
        ],
        "articleId": "f3344bdfa2b844e2a957",
        "articleUID": "89bc3488-6qb8-4415-b8fb-dc07db41d099",
        "storeId": null
      }
    ],
    "profitSalesByPlu": [],
    "articleSalesByPaymentMethod": [
      {
        "key": 1,
        "name": "BAR",
        "totalSales": 3450,
        "totalSalesAfterCorrection": 3450,
        "totalExpenseItemSales": 0,
        "articleCount": 12,
        "tip": 0,
        "totalSalesAfterCounting": 0,
        "invoices": [],
        "totalTransactions": 3,
        "roomNumber": "",
        "abbreviation": "",
        "topGroups": []
      }
    ],
    "topGroups": [
      {
        "key": "11ac9ee51b3efe5a5651",
        "name": "Speisen",
        "totalSales": 5200,
        "totalSalesNetto": 4952,
        "percentOfTotalSales": 95.4,
        "numberOfSales": 27,
        "percentNumberOfSales": 96.4,
        "percentOfTotalSalesNetto": 0,
        "taxRates": [
          {
            "key": 500,
            "name": 500,
            "totalSales": 5200,
            "totalSalesNetto": 4952,
            "numberOfSales": 27,
            "percentOfTotalSales": 95.4,
            "percentOfTotalSalesNetto": 0
          }
        ],
        "sihotAccount": "undefined",
        "sihotTaxRate": "∞",
        "familyGroups": []
      }
    ],
    "familyGroups": [
      {
        "key": 19,
        "name": "Pizza 1 Stück",
        "totalSales": 5450,
        "percentOfTotalSales": 100,
        "percentOfTotalSalesNetto": 100,
        "taxRates": [
          {
            "key": 500,
            "name": 500,
            "totalSales": 5450,
            "totalSalesNetto": 5190,
            "count": 28,
            "percentOfTotalSales": 100,
            "percentOfTotalSalesNetto": 100
          }
        ],
        "count": 28,
        "articleSalesByPLU": []
      }
    ],
    "turnoverGroups": [
      {
        "key": "$total",
        "name": "Total",
        "totalSales": 0,
        "percentOfTotalSales": 0,
        "percentOfTotalSalesNetto": 0,
        "totalSalesNetto": 0,
        "taxRates": [],
        "count": 0
      }
    ],
    "tables": [
      {
        "key": "9014de915b0b747518a3",
        "name": 31,
        "totalSales": 54.5,
        "totalSalesNetto": 51.9,
        "percentOfTotalSales": 0,
        "percentOfTotalSalesNetto": 100,
        "invoices": 5,
        "taxRates": [
          {
            "key": 500,
            "name": 5,
            "totalSales": 5450,
            "totalSalesNetto": 5190,
            "percentOfTotalSales": 100,
            "percentOfTotalSalesNetto": 100
          }
        ]
      }
    ],
    "rooms": [
      {
        "key": "ca1327b5533cc3558933",
        "name": "Restaurant",
        "totalSales": 5450,
        "totalSalesNetto": 5190,
        "percentOfTotalSales": 100,
        "percentOfTotalSalesNetto": 100,
        "invoices": 5,
        "taxRates": [
          {
            "key": 500,
            "name": 5,
            "totalSales": 5450,
            "totalSalesNetto": 5190,
            "percentOfTotalSales": 100,
            "percentOfTotalSalesNetto": 100
          }
        ]
      }
    ],
    "discountReasons": [],
    "voidedReasons": [
      {
        "key": "cd0ef27a8ecf07d9995d",
        "name": "Fehlbuchung",
        "totalSales": 300,
        "articleCount": 1
      }
    ],
    "voidedArticles": [
      {
        "key": 19003,
        "name": "Pizza Funghi 1 Stück",
        "totalSales": 100,
        "articleCount": 1,
        "voidReasons": "Fehlbuchung",
        "waiterName": "helloTESS SUPPORT"
      }
    ],
    "totalVoidedItemSales": 300,
    "totalVoidedItemCount": 1,
    "totalDiscountedItemSales": 0,
    "totalDiscountedItemCount": 0,
    "discountedArticles": [],
    "totalBookedItemsCount": 28,
    "totalSales": 5450,
    "totalSalesForPercentages": 5450,
    "totalNetSales": 5190,
    "totalNetProductionCosts": 0,
    "totalNetProductionCostsInPercent": 0,
    "totalNetProfitMargin": 0,
    "totalTax": 260,
    "totalExpenseItemSales": 0,
    "totalExpenseItemSalesCount": 0,
    "totalCustomers": 10,
    "earningsPerCustomerNet": 519,
    "earningsPerCustomerGross": 545,
    "totalInvoices": 10,
    "invReturnedArticles": [],
    "totalInvReturnedItemSales": 0,
    "totalInvReturnedItemCount": 0,
    "cardUsage": [
      {
        "key": "Total",
        "name": "Total",
        "paymentMethodId": "",
        "credited": 900,
        "debited": 720,
        "difference": 180,
        "depositCredited": 0,
        "depositDebited": 0,
        "stornoVoucher": 300,
        "paymentMethodName": ""
      }
    ],
    "restanten": [],
    "subventions": [
      {
        "key": "Total",
        "name": "Total",
        "debitSubventionAmount": 0,
        "creditSubventionAmount": 0
      }
    ],
    "hourlySales": [
      {
        "key": 0,
        "name": 0,
        "hour": 9,
        "hourBis": 10,
        "totalSales": 2000,
        "totalSalesNetto": 1903,
        "articleCount": 17,
        "totalInvoices": 2,
        "percentOfTotalSales": "36.7",
        "percentOfTotalSalesNetto": "36.7"
      }
    ],
    "hourlySalesPerEmployeeRaw": [
      {
        "key": "4f0fb797d1bb13000115",
        "name": "helloTESS SUPPORT",
        "hours": [
          {
            "hour": 9,
            "hourBis": 10,
            "grossSales": 2000,
            "netSales": 1905,
            "articleCount": 17,
            "percentOfTotalHourlySales": "100.0",
            "totalGuests": 7,
            "taxRates": [
              {
                "key": 500,
                "gross": 2000
              }
            ],
            "grossSalesFormated": "20.00",
            "netSalesFormated": "19.05"
          }
        ]
      }
    ],
    "hourlySalesPerEmployee": [
      {
        "key": "4f0fb797d1bb13000115",
        "name": "helloTESS SUPPORT",
        "hour": 9,
        "hourBis": 10,
        "grossSales": 2000,
        "netSales": 1905,
        "articleCount": 17,
        "totalGuests": 7,
        "grossSalesFormated": "20.00",
        "netSalesFormated": "19.05",
        "percentOfTotalHourlySales": "100.0"
      }
    ],
    "usergroups": [
      {
        "key": "Total",
        "name": "Total",
        "subventionAmount": 0,
        "debitAmount": 2000,
        "creditAmount": 0,
        "purchaseAmount": 2000,
        "barAmount": 0,
        "voucherAmount": 0
      }
    ],
    "voucherArticles": [],
    "totalVoucherSales": 0,
    "totalVoucherCount": 0,
    "dynamicGroups": [],
    "terminals": [
      {
        "key": "KK",
        "name": "KK",
        "totalSales": 5450,
        "totalSalesNetto": 5190,
        "taxRates": [
          {
            "key": 500,
            "name": 500,
            "totalSales": 5450,
            "totalSalesNetto": 5190
          }
        ],
        "count": 28
      }
    ],
    "foreignCurrencies": [],
    "invoices": [
      {
        "key": "Total",
        "name": "Total",
        "totalPrice": 0,
        "totalPriceRaw": 0
      }
    ],
    "shifts": [
      {
        "key": "7876647666192bb26ee24",
        "number": 39,
        "startTime": "2022-11-09 09:03:36",
        "endTime": "2022-11-09 10:45:17",
        "terminalId": "KK",
        "totalSales": 5450,
        "totalSalesNetto": 5190,
        "count": 28,
        "taxRates": [
          {
            "key": 500,
            "name": 500,
            "totalSales": 5450,
            "totalSalesNetto": 5190,
            "count": 28
          }
        ],
        "storeId": "b82310aa4f998b291efc",
        "storeUID": "510031d0-dfce-0000-2efc-e300003a91c8",
        "startTimeUTC": "2022-11-09T08:03:36.000Z",
        "endTimeUTC": "2022-11-09T09:45:17.000Z",
        "isTakeAway": "Ja"
      }
    ],
    "customersPerPostCode": [],
    "totalBreakageItemCount": 0,
    "totalBreakageItemSales": 0,
    "breakageArticles": [],
    "reduceForeignCurrenciesAmount": 0,
    "costOfSalesFeatureEnabled": false,
    "totalProductCountWithProductionCosts": 0,
    "totalProductCountForProductionCosts": 0,
    "costOfSalesAccuracyInPercent": 100,
    "cardDiscountGroups": [],
    "cardDiscountGroupsSummary": [],
    "articleDiscountGroups": [],
    "inventoryArticles": [],
    "totalPaidSales": 5450,
    "totalPaidNetSales": 5190
  }
}