> ## Documentation Index
> Fetch the complete documentation index at: https://help.lobyco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get receipts.

> This endpoint returns all available receipts associated with a specific member.
Supports offset-based pagination (limit/offset) and cursor-based pagination (limit/cursor).
Both modes cannot be used in the same request.



## OpenAPI

````yaml openapi/receipts-v1.json GET /v1/receipts
openapi: 3.0.1
info:
  title: Receipts.Api - V1
  version: v1
servers:
  - url: https://{host}/receipts
    description: Your Lobyco environment
    variables:
      host:
        default: your-environment.lobyco.net
        description: >-
          The API host for your Lobyco environment. Replace it with the host you
          were given — this placeholder does not resolve.
security:
  - oauth2: []
paths:
  /v1/receipts:
    get:
      tags:
        - Service2Service
      summary: Get receipts.
      description: "This endpoint returns all available receipts associated with a specific member.\r\nSupports offset-based pagination (limit/offset) and cursor-based pagination (limit/cursor).\r\nBoth modes cannot be used in the same request."
      parameters:
        - name: MemberId
          in: query
          description: >-
            The unique identifier of the member whose receipts are being
            retrieved.
          required: true
          schema:
            type: string
        - name: Limit
          in: query
          description: >-
            The maximum number of receipts to return in a single response. Used
            by both offset-based and cursor-based pagination. Defaults to 50.
          schema:
            type: integer
            format: int32
        - name: Cursor
          in: query
          description: >-
            A pagination token used to retrieve the next set of receipts
            (cursor-based pagination).
          schema:
            type: string
        - name: Offset
          in: query
          description: The number of items to skip (offset-based pagination, 0-indexed).
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: >-
                  #/components/schemas/Receipts.Api.Controllers.Service2Service.ReceiptsController.ReceiptListResponseDto
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Receipts.Api.Controllers.Service2Service.ReceiptsController.ReceiptListResponseDto
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/Receipts.Api.Controllers.Service2Service.ReceiptsController.ReceiptListResponseDto
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: >-
                  #/components/schemas/LoopFoundation.Commons.Contracts.WebServiceError
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/LoopFoundation.Commons.Contracts.WebServiceError
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/LoopFoundation.Commons.Contracts.WebServiceError
components:
  schemas:
    Receipts.Api.Controllers.Service2Service.ReceiptsController.ReceiptListResponseDto:
      type: object
      properties:
        receipts:
          type: array
          items:
            $ref: >-
              #/components/schemas/Receipts.Api.Controllers.MobileApp.ReceiptController.ReceiptIndexDto
          description: A collection of receipt summaries.
          nullable: true
        nextCursor:
          type: string
          description: Pagination token for cursor-based pagination.
          nullable: true
        offset:
          type: integer
          description: The number of items skipped (offset-based pagination).
          format: int32
          nullable: true
        limit:
          type: integer
          description: The maximum number of items returned (offset-based pagination).
          format: int32
          nullable: true
        totalCount:
          type: integer
          description: The total number of matching receipts.
          format: int32
      additionalProperties: false
    LoopFoundation.Commons.Contracts.WebServiceError:
      required:
        - message
        - name
      type: object
      properties:
        name:
          minLength: 1
          type: string
        message:
          minLength: 1
          type: string
        details:
          nullable: true
      additionalProperties: false
    Receipts.Api.Controllers.MobileApp.ReceiptController.ReceiptIndexDto:
      type: object
      properties:
        receiptId:
          type: string
          description: Unique identifier for the receipt.
          nullable: true
        localPurchaseTimestamp:
          type: string
          description: The local date and time when the purchase occurred.
          format: date-time
        storeName:
          type: string
          description: The name of the store where the purchase was made.
          nullable: true
        totalAmount:
          $ref: >-
            #/components/schemas/Receipts.Api.Controllers.MobileApp.ReceiptController.ReceiptIndexDto.TotalAmountDto
      additionalProperties: false
    Receipts.Api.Controllers.MobileApp.ReceiptController.ReceiptIndexDto.TotalAmountDto:
      type: object
      properties:
        value:
          type: number
          description: >-
            The numeric total amount (as a decimal) of the transaction or
            purchase.
          format: double
        currency:
          type: string
          description: >-
            The currency code (e.g., "USD", "EUR") that specifies the unit of
            the amount.
          nullable: true
      additionalProperties: false
  securitySchemes:
    oauth2:
      type: apiKey
      name: Authorization
      in: header

````