> ## 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.

# List receipts

> Retrieve receipts with filtering, sorting, and pagination options.



## OpenAPI

````yaml /api-reference/v2/openapi.json get /receipts
openapi: 3.1.0
info:
  title: Clopos Open API v2
  description: >-
    The **Clopos Open API v2** provides secure and unified access to the Clopos
    ecosystem, enabling seamless integration of POS, ordering, payments, and
    restaurant management services.
  contact:
    email: dev@clopos.com
  version: 2.0.0
  license:
    name: ''
servers:
  - url: https://integrations.clopos.com/open-api/v2
    description: '**Base Url**'
security:
  - xToken: []
tags:
  - name: Authentication
  - name: Venues
  - name: Users
  - name: Customers
  - name: Menu
  - name: Stations
  - name: Products
  - name: Price Lists
  - name: Sales
  - name: Orders
  - name: Receipts
paths:
  /receipts:
    get:
      tags:
        - Receipts
      summary: List receipts
      description: Retrieve receipts with filtering, sorting, and pagination options.
      parameters:
        - name: page
          in: query
          description: Page number for pagination (starts at 1)
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: limit
          in: query
          description: Number of receipts to return per page (1-200)
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
        - name: sort[0]
          in: query
          description: Primary sort field
          schema:
            type: string
            default: created_at
        - name: sort[1]
          in: query
          description: Primary sort direction (1 = ascending, -1 = descending)
          schema:
            type: integer
            enum:
              - 1
              - -1
            default: -1
        - name: date[0]
          in: query
          description: Start date (inclusive) in YYYY-MM-DD format
          schema:
            type: string
            format: date
        - name: date[1]
          in: query
          description: End date (inclusive) in YYYY-MM-DD format
          schema:
            type: string
            format: date
      responses:
        '200':
          description: Receipts retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptsResponse'
components:
  schemas:
    ReceiptsResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: array
          items:
            $ref: '#/components/schemas/Receipt'
        total:
          type: integer
        time:
          type: integer
        timestamp:
          type: string
        unix:
          type: integer
    Receipt:
      type: object
      properties:
        id:
          type: integer
        venue_id:
          type: integer
        cid:
          type: string
        user_id:
          type: integer
        terminal_id:
          type: integer
        source:
          type: string
        customer_id:
          type:
            - integer
            - 'null'
        sale_type_id:
          type: integer
        guests:
          type: integer
        status:
          type: integer
        lock:
          type: boolean
        total:
          type: number
        subtotal:
          type: number
        payment_methods:
          type: array
          items:
            $ref: '#/components/schemas/PaymentMethodEntry'
        fiscal_id:
          type:
            - string
            - 'null'
        discount_type:
          type: integer
        discount_value:
          type: number
        service_charge:
          type: number
        delivery_fee:
          type: number
        order_status:
          type:
            - string
            - 'null'
        order_number:
          type:
            - string
            - 'null'
        created_at:
          type: string
        updated_at:
          type: string
        closed_at:
          type:
            - string
            - 'null'
        deleted_at:
          type:
            - string
            - 'null'
    PaymentMethodEntry:
      type: object
      required:
        - id
        - name
        - amount
      properties:
        id:
          type: integer
        name:
          type: string
        amount:
          type: number
  securitySchemes:
    xToken:
      type: apiKey
      in: header
      name: x-token
      description: JWT access token obtained from /v2/auth endpoint

````