---
title: "Receipt.List"
method: POST
path: "/online/RivhitOnlineAPI.svc/Receipt.List"
---

# Receipt.List

`POST /online/RivhitOnlineAPI.svc/Receipt.List`

## Request body

- object
  - `api_token` string, uuid, required — Rivhit Merchant API Identifier. **Default:** No
  - `from_receipt_type` integer — Receipt type to Start Filter. ~ combine with to_receipt_type **Range:** 0 to 999 **Default:** All types
  - `to_receipt_type` integer — Receipt type to End Filter. ~ combine with from_receipt_type **Range:** 0 to 999 **Default:** All types
  - `from_customer_id` integer — Rivhit Customer Id to Start Filter. ~ combine with to_customer_id **Range:** 0 to 999999999 **Default:** All customers
  - `to_customer_id` integer — Rivhit Customer Id to End Filter. ~ combine with from_customer_id **Range:** 0 to 999999999 **Default:** All customers
  - `from_date` string, date — Issue Date to Start Filter. ~ combine with to_date ~ Date format DD-MM-YY or DD/MM/YYYY **Length:** 1 to 10 **Default:** Last 6 months
  - `to_date` string, date — Issue Date to End Filter. ~ combine with from_date ~ Date format DD-MM-YY or DD/MM/YYYY **Length:** 1 to 10 **Default:** Last 6 months
  - `crm_user_id` integer, nullable — Filter by CRM User. **Range:** 0 to 99999 **Default:** All users
  - `from_agent_id` integer, nullable — Agent Id to Start Filter. ~ combine with to_agent_id **Range:** 0 to 999999999 **Default:** All agents
  - `to_agent_id` integer, nullable — Agent Id to End Filter. ~ combine with from_agent_id **Range:** 0 to 999999999 **Default:** All agents
  - `from_receipt_number` integer — Receipt Number Start Filter. ~ combine with to_receipt_number **Range:** 1 to 999999 **Default:** All Numbers
  - `to_receipt_number` integer — Receipt Number End Filter. ~ combine with from_receipt_number **Range:** 1 to 999999 **Default:** All Numbers
  - `filter_fields` object[]
    - `filter_field` string, nullable — Name of Response Field to Filter. **Length:** 1 to 30 **Default:** No
    - `filter_Value` string, nullable — Value of Response Field to Filter. **Length:** 1 to 30 **Default:** No

## Response `200`

Success - Receipt List Returned

- object
  - `error_code` integer — The Response Error/Status Number (0 = Success).
  - `client_message` string — The Client Error Message.
  - `debug_message` string — The Response Error Message.
  - `data` object
    - `receipt_list` object[]
      - `receipt_type` integer — Receipt Type.
      - `receipt_number` integer — Receipt Number.
      - `receipt_date` string, date — Receipt Issue Date.
      - `receipt_time` string — Receipt Issue Time.
      - `amount` number, float — Receipt Amount.
      - `customer_id` integer — Customer Identifier.
      - `is_cancelled` boolean — Receipt Cancelation Status.
      - `customer_name` string — Customer Name.
      - `receipt_type_name` string — Receipt Type Name.
      - `project_id` integer — Project Identifier.
      - `receipt_link` string — Receipt Link.
      - `comments` string — Receipt Comments.
      - `reference` integer — Receipt Reference.

## Other responses

- `400` — Request Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/rivhit/apis/get-payment-url-22-12.md) · [All operations](https://skmtc.net/rivhit/apis/get-payment-url-22-12/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rivhit/get-payment-url-22-12/revisions/ed5261a52458/schema)
