Skip to main content

Purpose

Speeds up your reconciliation flows by listing sales receipts by date, amount, or status.

HTTP Request

This endpoint requires authentication. Include your JWT in the x-token header. See Authentication for how to obtain a token and Errors for error responses.

Query Parameters

integer
default:"1"
Page number for pagination (1-based).
integer
default:"50"
Number of receipts per page.
string
Start date of a created_at range, inclusive. Format: YYYY-MM-DD. Pair with date[1].
string
End date of a created_at range, inclusive. Format: YYYY-MM-DD.
string
Field to sort by (e.g. created_at, updated_at, closed_at, total). Inspect the sorts array in the response to discover all sortable fields the API currently supports.
integer
Sort direction: 1 = ascending, -1 = descending.
array[string]
Related resources to include in each receipt. Repeat with indexed brackets (e.g. with[0]=receipt_products&with[1]=receipt_products.modificators). Common values:
  • receipt_products — line items on each receipt
  • receipt_products.modificators — modifiers applied to each line item
  • receipt_products.product.unit, receipt_products.product.station — product relations
array
Field-level filter tuples using PHP bracket notation: filters[N][0]=field_name&filters[N][1]=value. Stack filters by incrementing N (0-based). Commonly used with status, sale_type_id, terminal_id.

Request Example

Response

200 OK — List of receipts

400 Bad Request — Parameter error

401 Unauthorized — Missing header

Field Reference

Receipt object

See Payment method for the payment_methods[] structure.

Notes

  • Use the date[0] and date[1] filters to restrict receipts to a date range (inclusive, YYYY-MM-DD).
  • Sorting accepts multiple fields (sort[0], sort[1], etc.); directions must be 1 (ascending) or -1 (descending).
  • Pagination uses classic page and limit semantics; the default limit is 50.
  • Combine status, sale_type_id, and date filters via the OpenAPI explorer when you need more granular reporting.
  • The response also includes time, timestamp, unix, and sorts fields for diagnostics and discovering sortable fields; these are omitted from examples for brevity.