Fiscal Z (closing report)
Rolls a register chain’s period up into the fiscal Z figures: turnover by tender, the VAT breakdown by rate, the sales/refunds counts and the PERPETUAL grand total (Σ of every signed total in the chain). store (the chain id — chains are per store) is REQUIRED; without it, or with a malformed day facet, the route 400s. Pass an optional ?day= UTC calendar day (YYYY-MM-DD) to window the period. This route computes figures only — it does NOT seal a closure (use the closures operation for that).
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Response
The Z report figures for the (optionally windowed) period.
The Z report figures for the (optionally windowed) period.
Z, X -9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991
