Comment on page
📈
Daily sales reports
This page provides a description of the available API routes for managing daily sales reports.
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 ticket'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.get
http://{server-address}/
dailysalesreports
Get daily sales reports
get
http://{server-address}
/dailysalesreports/{id}
Get daily sales report
put
http://{server-address}
/dailysalesreports/{id}
Create or update daily sales report
post
http://{server-address}
/dailysalesreports/{id}/close
Manually close daily sales report
delete
http://{server-address}
/dailysalesreports/{id}
Delete daily sales report
Last modified 3mo ago