Last updated
Last updated
The fiscal device sends record closure information after each closed ticket or cash transfer. If a daily sales report record does not already exist (identified by fiscal name, fiscal memory serial number, and daily sales report number), it is automatically created by API.
Each ticket is associated with a specific daily sales report, and this information is stored in the 's closeInfo
property.
Daily sales report record is modified by API after following actions are performed on fiscal device:
cash transfer: new element is added to cash transfers collection
daily sales report closure: fiscal info model is fulfilled and daily sales report is considered as closed.
Daily sales report is closed, when it's state
property is set to closed
or manuallyClosed
. Closed daily sales reports cannot be modified.
Daily sales report is represented by class.
GET
http://{server-address}/dailysalesreports
Returns all daily sales reports that matches query parameters. Result is of type .
GET
http://{server-address}/dailysalesreports/{id}
PUT
http://{server-address}/dailysalesreports/{id}
Required rights
POST
http://{server-address}/dailysalesreports/{id}/close
Required rights
DELETE
http://{server-address}/dailysalesreports/{id}
Required rights
Result is of type .
Creates new or updates existing (non-closed) daily sales report. Result is of type .
Authorized user must have assigned DsrCreate
or DsrUpdate
.
Changes state
of daily sales report to manuallyClosed
. Result is of type .
Authorized user must have dsrCloseManually
assigned.
Authorized user must have DsrDelete
assigned.