---
title: "GET /api/pos/{id}/sessions"
method: GET
path: "/api/pos/{id}/sessions"
tags: ["api", "pos"]
---

# GET /api/pos/{id}/sessions

`GET /api/pos/{id}/sessions`

Get POS sessions

## Path parameters

- `id` string, required

## Response `200`

OK

- POSSessionResource[]
  - `_id` string, required — The ID of the POS session
  - `sessionNo` string, required — The number of the POS session
  - `posId` string, required — The ID of the POS
  - `opened` string, date-time, required — An ISO timestamp indicating when the POS session was opened
  - `closed` string, date-time — An ISO timestamp indicating when the POS session was closed
  - `cashAtOpen` number, float — Cash opening stock
  - `totalAmount` number, float — The total revenue
  - `includedTax` number, float — The total taxes
  - `totalByPaymentMethod` object — Total by payment methods. Values will only be inserted after closing the session
  - `taxInfo` object — Taxes details
    - `detailsPerRate` object[] — Tax details grouped by tax rates.
      - `taxRate` number, float — The applied tax rate
      - `includedTax` number, float — Total of taxes with this rate
      - `reducedTax` number, float — Tax reduction through applied discounts
  - `createdAt` string, date-time — An ISO timestamp indicating when the POS session was created
  - `updatedAt` string, date-time — An ISO timestamp indicating when the POS session was updated

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
