Skip to main content
GET
/
registers
/
{registerId}
/
cash-drawer-openings
List cash drawer openings
curl --request GET \
  --url https://api.openfiskal.com/v1/registers/{registerId}/cash-drawer-openings \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "data": [
    {
      "occurred_at": "2023-11-07T05:31:56Z",
      "id": "cdo_01HXYZ",
      "object": "<string>",
      "register_id": "<string>",
      "received_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "operation_id": "op_01HXYZ",
      "cashier": {
        "id": "<string>",
        "display_name": "Maria R."
      },
      "reason": "Float check",
      "note": "<string>",
      "fiscal": {
        "sequence_number": 1042,
        "signed_at": "2023-11-07T05:31:56Z",
        "signature": "a3f9b2...",
        "jurisdiction_data": {}
      }
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

Platform API key sent as Authorization: Bearer ofk_platform_.... Platform integrators also pass OpenFiskal-Organization: org_xxx to act on behalf of a merchant.

Headers

OpenFiskal-Organization
string

Merchant organization ID. Required for platform integrators acting on behalf of a specific merchant. Omit when using an organization-scoped API key directly.

Path Parameters

registerId
string
required

Query Parameters

limit
integer
default:50

Maximum number of results to return per page.

Required range: 1 <= x <= 200
cursor
string

Pagination cursor from a previous response's cursor field. Omit to start from the beginning.

from
string<date-time>

Filter results to those created at or after this timestamp (ISO 8601).

to
string<date-time>

Filter results to those created at or before this timestamp (ISO 8601).

Response

Paginated list of cash drawer openings

object
string
required
Allowed value: "list"
data
object[]
required
has_more
boolean
next_cursor
string | null