Daily sales reports
This page provides a description of the available API routes for managing daily sales reports.
Last updated
Was this helpful?
This page provides a description of the available API routes for managing daily sales reports.
Last updated
Was this helpful?
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 .
isClosed
bool
Supports NData syntax.
$skip
int
Pagination property. Describing number of records to skip from beginning of result collection.
$take
int
Pagination property. Maximum count of items to be returned.
$sort
string[]
Comma separated list of property names. Please see NData syntax.
$count
bool
If set to true
, response will not contain items
collection. Use to get resource count, not the resources themselves.
id
bool
Supports NData syntax.
openDate
DateTime
currencyLabel
string
fiscalMemorySerialNumber
string
number
int
fiscalName
string
state
DailySalesReportStatus
closeDate
DateTime
Authorization*
string
Authorization header with authorization token.
GET
http://{server-address}/dailysalesreports/{id}
id*
string
Unique identifier.
Authorization*
string
Authorization header with authorization token.
PUT
http://{server-address}/dailysalesreports/{id}
Required rights
id*
string
Unique identifier.
Authorization*
string
Authorization header with authorization token.
(body)*
DailySalesReport
Model to create or update.
POST
http://{server-address}/dailysalesreports/{id}/close
Required rights
id
string
Unique identifier.
Authorization*
string
Authorization header with authorization token.
DELETE
http://{server-address}/dailysalesreports/{id}
Required rights
id*
string
Unique identifier.
Authorization*
string
Authorization header with authorization token.
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.