Called by the register the moment the cash drawer opens. Must be logged immediately — not batched or deferred — because the timestamp is fiscally significant.
An opening can be linked to a POS operation (e.g. the drawer opened at the end of a sale) or be standalone (e.g. a manager opened the drawer to check the float). Both are valid and both must be logged.
Register devices authenticate using X-Register-Api-Key.
Platform API key sent as Authorization: Bearer ofk_platform_....
Platform integrators also pass OpenFiskal-Organization: org_xxx
to act on behalf of a merchant.
Device-side timestamp of when the drawer opened. This is the
fiscally relevant timestamp — use the register's local clock,
not the time the API call is made. The server records its own
received_at separately.
The POS operation this drawer opening is associated with, if any. Omit for unattended openings (float checks, manager access, etc.).
"op_01HXYZ"
Optional free-text reason for the opening. Some jurisdictions require a reason for openings not linked to an operation.
"Float check"
Internal note, not transmitted to fiscal authorities
Cash drawer opening logged
Device-side timestamp of when the drawer opened. This is the
fiscally relevant timestamp — use the register's local clock,
not the time the API call is made. The server records its own
received_at separately.
"cdo_01HXYZ"
"cash_drawer_opening"The register this opening was logged against
Server-side timestamp when this opening was received. May
differ from occurred_at if the register was offline and
syncing retroactively.
The POS operation this drawer opening is associated with, if any. Omit for unattended openings (float checks, manager access, etc.).
"op_01HXYZ"
Optional free-text reason for the opening. Some jurisdictions require a reason for openings not linked to an operation.
"Float check"
Internal note, not transmitted to fiscal authorities
Jurisdiction-specific fiscal output. Present in jurisdictions that require cash drawer openings to be signed or sequence-numbered in the audit log (e.g. Norway, Sweden).