﻿=== RESTIGO LOG (detailed) ===
Time: 2025-12-10 19:08:49.535
Endpoint: income
Provider: og_tech
ZNumber: 1
StatusCode: 200
OK: True
--------------------------------------------------------------------------------
SUMMARY (from request):
    תאריכים: 2024-08-22 -> 2025-12-10 (Transactions: 2025-12-10)
    Z: 1 | Customers: 1 | AvgDelivery: 1
    משמרת משמרת 1 (shiftID-1) | סה"כ: 123923.90 | זיכויים#0 סכום 0.00 | הנחות#0 סכום 0.00
        ערוץ מסעדה (2) | הזמנות: 11 | סה"כ: 123923.90 | זיכויים#: 0
            מזומן / cash | סה"כ: 0.00 | זיכויים#: 0 | לקוחות: 0 | נספר ב-Z: כן
            שיקים / checks | סה"כ: 0.00 | זיכויים#: 0 | לקוחות: 0 | נספר ב-Z: כן
            אשראי / credit | סה"כ: 23.90 | זיכויים#: 0 | לקוחות: 0 | נספר ב-Z: כן
            העברה / bank | סה"כ: 0.00 | זיכויים#: 0 | לקוחות: 0 | נספר ב-Z: כן


RESPONSE ERROR:
    status=error, error_no=-1, message=point of sale not found
--------------------------------------------------------------------------------
REQUEST JSON (pretty):
{
  "restigo": {
    "branch_id": 17,
    "key": "***",
    "income": {
      "startDate": "2024-08-22",
      "endDate": "2025-12-10",
      "transactionsDate": "2025-12-10",
      "zNumber": "1",
      "totalCustomers": 1,
      "averageDeliveryTime": 1,
      "breakdownShifts": [
        {
          "shiftType": "shiftID-1",
          "shiftName": "משמרת 1",
          "totalCharged": 123923.9,
          "totalRefunded": 0,
          "sumRefunded": 0.0,
          "Totaldiscount": 0,
          "Sumdiscount": 0.0,
          "breakdownOrders": [
            {
              "orderType": 2,
              "orderName": "מסעדה",
              "totalCharged": 123923.9,
              "totalRefunded": 0,
              "totalOrders": 11,
              "breakdownPayments": [
                {
                  "paymentType": "cash",
                  "paymentName": "מזומן",
                  "totalCharged": 0.0,
                  "totalRefunded": 0,
                  "totalCustomers": 0,
                  "calcInTotalZ": true
                },
                {
                  "paymentType": "checks",
                  "paymentName": "שיקים",
                  "totalCharged": 0.0,
                  "totalRefunded": 0,
                  "totalCustomers": 0,
                  "calcInTotalZ": true
                },
                {
                  "paymentType": "credit",
                  "paymentName": "אשראי",
                  "totalCharged": 23.9,
                  "totalRefunded": 0,
                  "totalCustomers": 0,
                  "calcInTotalZ": true
                },
                {
                  "paymentType": "bank",
                  "paymentName": "העברה",
                  "totalCharged": 0.0,
                  "totalRefunded": 0,
                  "totalCustomers": 0,
                  "calcInTotalZ": true
                }
              ]
            }
          ]
        }
      ]
    }
  }
}

RESPONSE (pretty):
{
  "income": {
    "status": "error",
    "error_no": -1,
    "message": "point of sale not found"
  }
}
--------------------------------------------------------------------------------
