Documentation Index
Fetch the complete documentation index at: https://developer.clopos.com/llms.txt
Use this file to discover all available pages before exploring further.
Purpose
Speeds up your reconciliation flows by listing sales receipts by date, amount, or status.HTTP Request
Query Parameters
Page number for pagination (1-based).
Number of receipts per page.
Start date of a
created_at range, inclusive. Format: YYYY-MM-DD. Pair with date[1].End date of a
created_at range, inclusive. Format: YYYY-MM-DD.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.Sort direction:
1 = ascending, -1 = descending.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 receiptreceipt_products.modificators— modifiers applied to each line itemreceipt_products.product.unit,receipt_products.product.station— product relations
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
| Field | Type | Description |
|---|---|---|
id | number | Unique receipt identifier. |
cid | string | Client-generated UUID for the receipt. |
venue_id | number | Venue (location) the receipt belongs to. |
customer_id | number|null | Customer associated with the receipt. |
sale_type_id | number | Sale type identifier (e.g., dine-in, delivery). |
source | string | Origin of the receipt (e.g., "web", "pos"). |
guests | number | Number of guests on the receipt. |
status | number | Receipt status: 1 = open, 2 = closed. |
order_status | string | Order workflow status. One of: NEW, SCHEDULED, IN_PROGRESS, READY, PICKED_UP, COMPLETED, CANCELLED. |
order_number | string|null | External or display order number. |
lock | boolean | Whether the receipt is locked from further changes. |
total | number | Total amount collected. |
subtotal | number | Subtotal before discounts, taxes, and fees. |
discount_type | number | Discount type applied (0 = none). |
discount_value | number | Discount amount or percentage value. |
discount_rate | number | Effective discount rate. |
total_discount | number | Total discount applied to the receipt. |
service_charge | number | Service charge percentage. |
service_charge_value | number | Calculated service charge amount. |
delivery_fee | number | Delivery fee amount. |
remaining | number | Outstanding balance (0 when fully paid). |
i_tax | number | Inclusive tax amount. |
e_tax | number | Exclusive tax amount. |
total_tax | number | Total tax amount (inclusive + exclusive). |
payment_methods | array | Payment breakdown. See Payment method. |
fiscal_id | string|null | Fiscal receipt identifier for tax reporting. |
loyalty_type | string|null | Loyalty program type applied. |
loyalty_value | number|null | Loyalty discount or points value. |
address | string|null | Delivery address. |
description | string|null | Delivery or order notes. |
created_at | string | Receipt creation time (YYYY-MM-DD HH:mm:ss). |
updated_at | string | Last update time (YYYY-MM-DD HH:mm:ss). |
closed_at | string|null | Receipt close time (YYYY-MM-DD HH:mm:ss). |
shift_date | string | Business day the receipt belongs to (YYYY-MM-DD). |
payment_methods[] structure.
Notes
- Use the
date[0]anddate[1]filters to restrict receipts to a date range (inclusive, YYYY-MM-DD). - Sorting accepts multiple fields (
sort[0],sort[1], etc.); directions must be1(ascending) or-1(descending). - Pagination uses classic
pageandlimitsemantics; the defaultlimitis 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, andsortsfields for diagnostics and discovering sortable fields; these are omitted from examples for brevity.