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"
}
}Turnos
Reporte consolidado de turnos
Consolida varios turnos en un reporte unico con ventas, pagos por metodo, descuentos, propinas y cierres de caja. La data siempre queda limitada al website autorizado.
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.
⌘I