---
title: "Retrieve invoice details"
method: GET
path: "/v1/invoices/{invoice_id}?expand=InvoiceItems&expand=Transactions"
---

# Retrieve invoice details

`GET /v1/invoices/{invoice_id}?expand=InvoiceItems&expand=Transactions`

Use this API to retrieve the details of an invoice. This API supports multiple expand parameters to retrieve more relevant information related to invoice like InvoiceItems, Appointments, Transactions, gst_parameters, and dues_and_fees

## Path parameters

- `invoice_id` string, required

## Query parameters

- `expand` string

## Response `200`

200

- union
  - object
    - `invoice` object
      - `id` string
      - `appointment_group_id` unknown
      - `lock` boolean
      - `is_closed` boolean
      - `is_refund` boolean
      - `invoice_date` string
      - `center_id` string
      - `total_price` object
        - `currency_id` integer
        - `net_price` integer
        - `tax` number
        - `rounding_adjustment` integer
        - `sum_total` number
      - `guest` object
        - `id` string
        - `first_name` string
        - `last_name` string
        - `gender` integer
        - `code` string
        - `mobile_phone` string
      - `invoice_items` object[]
        - `invoice_item_id` string
        - `id` string
        - `name` string
        - `type` integer
        - `is_giftcard` boolean
        - `code` string
        - `price` object
          - `currency_id` integer
          - `sales` integer
          - `tax` integer
          - `final` integer
          - `discount` integer
        - `quantity` integer
        - `sale_by_id` unknown
        - `therapist_name` string
      - `appointments` unknown
      - `transactions` object[]
        - `payment_option` object
          - `id` string
          - `payment_mode` integer
          - `payment_name` string
          - `card_number` string
        - `total_amount_paid` number
        - `amount_paid` number
        - `tip_amount` integer
        - `ssg_amount` integer
        - `fee_amount` integer
        - `cash_back_amount` integer
        - `transaction_id` string
        - `payment_date` string
        - `cash_regester_id` unknown
    - `error` unknown
  - object
    - `invoice` object
      - `group_invoice_id` unknown
      - `id` string
      - `invoice_number` string
      - `invoice_number_prefix` string
      - `receipt_number` string
      - `appointment_group_id` unknown
      - `lock` boolean
      - `is_closed` boolean
      - `is_refund` boolean
      - `invoice_date` string
      - `center_id` string
      - `gstin` string
      - `invoice_dues` object
        - `total` number
        - `paid` number
        - `balance` integer
      - `environmental_fee` object
        - `total` number
        - `paid` number
        - `balance` integer
      - `total_price` object
        - `currency_id` integer
        - `net_price` integer
        - `tax` integer
        - `rounding_adjustment` integer
        - `sum_total` integer
      - `guest` object
        - `id` string
        - `first_name` string
        - `last_name` string
        - `gender` integer
        - `code` string
        - `mobile_phone` string
        - `email` unknown
      - `invoice_items` object[]
        - `invoice_item_id` string
        - `id` string
        - `name` string
        - `type` integer
        - `is_giftcard` boolean
        - `code` string
        - `price` object
          - `currency_id` integer
          - `sales` integer
          - `tax` integer
          - `final` integer
          - `discount` integer
        - `quantity` integer
        - `sale_by_id` unknown
        - `therapist_name` string
      - `appointments` unknown
      - `transactions` object[]
        - `payment_option` object
          - `id` string
          - `payment_mode` integer
          - `payment_name` string
          - `card_number` string
          - `additional_data` unknown
        - `total_amount_paid` number
        - `amount_paid` integer
        - `tip_amount` integer
        - `ssg_amount` integer
        - `donation_amount` integer
        - `fee_amount` number
        - `cash_back_amount` integer
        - `transaction_id` string
        - `payment_date` string
        - `cash_regester_id` unknown
      - `additional_fields` object[]
    - `error` unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/zenoti/apis/zenoti-authentication.md) · [All operations](https://skmtc.net/zenoti/apis/zenoti-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zenoti/zenoti-authentication/revisions/e628f892391a/schema)
