Daily Sales

Prev Next
Get
/public/v1/sales/daily-sales

Retrieves a single daily sales summary with its paginated sales tickets for the specified business date and location

Security

The requesting user must have the following permission to retrieve daily sales:

  • Sales & Cash → Daily Sales → View Daily Sales
Security
HTTP
Type Bearer
Header parameters
x-r365-context-tenant-id
stringRequired

Identifies the R365 tenant the request applies to. Required on every request.

Query parameters
businessDate
string (date) Required

The business date of the daily sales summary to retrieve

location
string (uuid) Required

Location identifier to filter by

pageSize
integer (int32)

Maximum number of sales tickets to return in one page. Pagination applies only to the nested salesTickets array — the daily sales summary itself is a single object, not a collection.

Minimum1.0
Maximum250.0
Default250
continuationToken
string

Continuation token for paging the nested salesTickets array. Use the nextLink from a previous response to get the next page of tickets.

Responses
200

Daily sales summary with paginated sales tickets.

Expand All
object
data
object (DailySalesSummary)
id
string (uuid)

Unique identifier of the daily sales summary.

location
object (DailySalesLocationReference)
id
string (uuid)

Unique identifier of the location.

name
string | null

Display name of the location.

number
string | null

Number assigned to the location.

businessDate
string (date)
netSales
number (double)
grossSales
number (double)
guestCount
integer (int32)
totalLaborHours
number (double)
totalLaborAmount
number (double)
totalLaborPercentage
integer (int32)
totalDeposit
number (double)
expectedCash
number (double)
paidInTotal
number (double)
paidOutTotal
number (double)
overShort
number (double)
salesTickets
Array of object | null
object
id
string (uuid)

Unique identifier of the sales ticket.

receiptNumber
string | null
checkNumber
string | null
comment
string | null

Free-text comment associated with the sales ticket.

saleDateTime
string (date-time) | null
dayOfWeek
string | null
dayPart
string | null
netSales
number (double)
grossSales
number (double)
salesAmount
number (double)
guestCount
integer (int32)
orderHour
integer (int32) | null
taxAmount
number (double)
taxDetail
Array of object | null
object
rateId
string
name
string | null

Display name of the tax detail.

rate
number (double)
taxType
string
inclusionType
string
appliedTaxPortionAmount
number (double)
tipAmount
number (double)
totalAmount
number (double)

Total monetary amount on the sales ticket.

totalPayment
number (double)
void
boolean
server
object (ServerReference)
id
string (uuid)

Unique identifier of the server.

name
string | null

Display name of the server.

payrollId
string | null
salesDetails
Array of object | null
object
id
string (uuid)

Unique identifier of the sales detail.

posItem
object (PosItemReference)
id
integer (int64)

Unique identifier of the pos item.

name
string | null

Display name of the pos item.

saleAmount
number (double)
quantity
number (double)
void
boolean
salesAccount
object (SalesAccountReference)
id
string (uuid)

Unique identifier of the sales account.

name
string | null

Display name of the sales account.

number
string | null

Number assigned to the sales account.

glType
string | null
salesCategory
string | null
menuItemCategory1
string | null
menuItemCategory2
string | null
menuItemCategory3
string | null
salesPayments
Array of object | null
object
id
string (uuid)

Unique identifier of the sales payment.

amount
number (double)

Monetary amount on the sales payment.

paymentType
string | null
paymentGroup
string | null
paymentDate
string (date-time) | null
nextLink
string | null

URL to retrieve the next page of sales tickets, or null when this is the last page. Only the salesTickets array is paged: the data summary object is repeated in full on every page, so accumulate data.salesTickets across pages rather than data itself.

400

Bad Request — a parameter value is malformed, of the wrong type, or outside its allowed range.

401

Unauthorized — the bearer token is missing, invalid or expired, or is not valid for the specified tenant.

403

Forbidden — the caller lacks the permission required for this operation.

404

Not Found — the requested resource does not exist, or the supplied continuation token is unknown or has expired.

409

Conflict — the request conflicts with the current state of the resource and cannot be applied.

422

Unprocessable Entity — a required parameter is missing, or a supplied parameter value is invalid.

429

Too Many Requests — the caller has exceeded the rate limit; retry after a short delay.

500

Internal Server Error — an unexpected error occurred while processing the request.