Skip to main content
GET
/
tabs
/
reports
/
consolidated-shifts
Reporte consolidado de turnos
curl --request GET \
  --url https://api.service.getjusto.com/v3/tabs/reports/consolidated-shifts \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "_id": "<string>",
    "totals": {
      "totalSales": 123,
      "totalPayments": 123,
      "totalTips": 123,
      "totalDiscounts": 123,
      "openedTabsCount": 123,
      "eatersCount": 123,
      "avgTicket": 123,
      "tableAvgTicket": 123
    },
    "shifts": [
      {
        "shiftId": "<string>",
        "storeId": "<string>",
        "storeName": "<string>",
        "startedAt": "2023-11-07T05:31:56Z",
        "sales": 123,
        "payments": 123,
        "tips": 123,
        "openedTabsCount": 123,
        "eatersCount": 123,
        "endedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "paymentsByMethod": [
      {
        "shiftId": "<string>",
        "paymentMethodName": "<string>",
        "amount": 123
      }
    ],
    "cashRegisterClosings": [
      {
        "cashRegisterShiftId": "<string>",
        "shiftId": "<string>",
        "cashRegisterId": "<string>",
        "cashRegisterName": "<string>",
        "storeId": "<string>",
        "storeName": "<string>",
        "startedAt": "2023-11-07T05:31:56Z",
        "paymentMethods": [
          {
            "paymentMethodId": "<string>",
            "paymentMethodName": "<string>",
            "startBalance": 123,
            "endBalance": 123,
            "amount": 123,
            "tipAmount": 123,
            "count": 123,
            "totalIncomeCashMovements": 123,
            "totalWithdrawalCashMovements": 123,
            "expectedEndBalance": 123,
            "difference": 123
          }
        ],
        "totals": {
          "startBalance": 123,
          "endBalance": 123,
          "amount": 123,
          "tipAmount": 123,
          "count": 123,
          "totalIncomeCashMovements": 123,
          "totalWithdrawalCashMovements": 123,
          "expectedEndBalance": 123,
          "difference": 123
        },
        "endedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "cashRegisterClosingsConsolidated": {
      "paymentMethods": [
        {
          "paymentMethodId": "<string>",
          "paymentMethodName": "<string>",
          "startBalance": 123,
          "endBalance": 123,
          "amount": 123,
          "tipAmount": 123,
          "count": 123,
          "totalIncomeCashMovements": 123,
          "totalWithdrawalCashMovements": 123,
          "expectedEndBalance": 123,
          "difference": 123
        }
      ],
      "totals": {
        "startBalance": 123,
        "endBalance": 123,
        "amount": 123,
        "tipAmount": 123,
        "count": 123,
        "totalIncomeCashMovements": 123,
        "totalWithdrawalCashMovements": 123,
        "expectedEndBalance": 123,
        "difference": 123
      }
    },
    "fromDate": "2023-11-07T05:31:56Z",
    "toDate": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getjusto.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

shiftIds
string[]
required
storesIds
string[]

Response

The OpenAPI spec

success
boolean
Example:

true

data
object