﻿=== RESTIGO LOG (detailed) ===
Time: 2025-09-28 18:15:51.053
Endpoint: income
Provider: OG POS
ZNumber: 804
StatusCode: 200
OK: True
--------------------------------------------------------------------------------
SUMMARY (from request):
    תאריכים: 2025-09-28 -> 2025-09-28 (Transactions: 2025-09-28)
    Z: 804 | Customers: 1 | AvgDelivery: 1
    משמרת משמרת 1 (shiftID-1) | סה"כ: 290.00 | זיכויים#0 סכום 10.00 | הנחות#0 סכום 0.00
        ערוץ מסעדה (2) | הזמנות: 3 | סה"כ: 290.00 | זיכויים#: 0
            מזומן / cash | סה"כ: 90.00 | זיכויים#: 0 | לקוחות: 0 | נספר ב-Z: כן
            שיקים / checks | סה"כ: 0.00 | זיכויים#: 0 | לקוחות: 0 | נספר ב-Z: כן
            אשראי / credit | סה"כ: 0.00 | זיכויים#: 0 | לקוחות: 0 | נספר ב-Z: כן
            העברה / bank | סה"כ: 200.00 | זיכויים#: 0 | לקוחות: 0 | נספר ב-Z: כן


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

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