---
search:
  tags:
    - Sessions
    - GET
seo:
  description: >-
    Any signed in user. Returns session totals, break minutes, and… Reference
    for the GET /api/v1/sessions/{sessionId}/z-report endpoint in the PharmaFlow
    API.
sidebar:
  label: Read a session Z-report
  badge: GET
title: Read a session Z-report
type: openapi-operation
---
Any signed in user. Returns session totals, break minutes, and takings by payment method. It reads whether the session is open or closed, and an id that matches no session is refused.

`GET /api/v1/sessions/{sessionId}/z-report`

**Responses**

- `200` — The session's Z-report
- `401` — Not authenticated
- `404` — Session not found

Response example, 200:

```json
{
  "session_id": "string",
  "pharmacist_name": "string",
  "branch_name": "string",
  "opening_float": "string",
  "status": "string",
  "break_minutes": -9007199254740991,
  "opened_at": "string",
  "closed_at": "string",
  "total_sales": -9007199254740991,
  "total_revenue": "string",
  "total_vat": "string",
  "payment_breakdown": [
    {
      "method": "string",
      "count": -9007199254740991,
      "total": "string"
    }
  ]
}
```
