v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Retrieve open invoices

This API searches invoices by invoice number or guest user ID, or retrieves all open invoices for a given date.

get/{base_url}/v1/centers/{center_id}/invoices

Path parameters

center-idstring required

Unique identifier of the center.

Query parameters

datestring

The date to scope the request to. Format: YYYY-MM-DD.

search_typeinteger

Search mode. 0 = Invoice Number, 1 = User ID. If omitted or null, returns all open invoices for the given date.

search_valuestring

The value to search for. Required when search_type is set. Must be a valid GUID when search_type=1.

Response

200

{"stackTrail":"paths:/{base_url}/v1/centers/{center_id}/invoices:get:responses:200:content:application/json:schema:properties:todays_invoices","oasType":"schema","type":"unknown"}

Example response

{
  "invoices": [
    {
      "name": "Utkarsh Transfer",
      "items": " AAA service 2 (1), AAA Addon (1)",
      "sale_date": "2025-06-27T00:00:00",
      "appointment_date": "2025-06-27T00:00:00",
      "start_time": "13:30:00",
      "price": 110,
      "final_price": 110,
      "mobile_phone": "6896563444",
      "invoice_id": "ccc8fc3f-3680-41b6-a9d7-8055fedeaf6f",
      "receive_email": true,
      "app_group_id": "d28e2894-7dea-40e2-87ec-e61a91c5c5cd",
      "user_id": "019d0cc9-1fff-4e56-a98a-49d48466e93c",
      "invoice_no": "83"
    }
  ]
}