Cash registers and reports
A shop sells with one or more cash registers. Each one records who sold, the cash put in or taken out of its drawer, and a closing report. This page explains how these entities fit together. They're read-only in the API. Every field is described in the GraphQL schema.
Devices
A Device is what a change comes from. slug says which kind: W is the web back-office, d the dashboard, ERP an ERP integration, BOT Wino's automatic changes, and any other value is a cash register. Your integration has its own device too (see Your shop and your device).
Staff
A Staff member is a cash register user who signs in with a PIN code. Sales documents and reports record which staff member made them.
Cash movements
A CashFlow is a manual cash movement into or out of a cash register's drawer, separate from the payments of sales: INFLOW adds cash, OUTFLOW removes it. amount is always positive, and reason says why.
Closing reports
A CashRegisterReport sums up a period of a cash register: sales, refunds, invoiced sales, taxes, payments by method and the cash in the drawer. Its kind is the period:
daily: one session, from opening (openedAt) to closing (closedAt). Only daily reports list their cash movements (cashFlows).monthlyandyearly: a calendar month or year.