---
title: "GET /invoices/{invoice_id}"
method: GET
path: "/invoices/{invoice_id}"
tags: ["Счета"]
---

# GET /invoices/{invoice_id}

`GET /invoices/{invoice_id}`

Информация о счете

## Path parameters

- `invoice_id` string, required

## Response `200`

The request has succeeded.

- Invoice
  - `id` string, required
  - `status` 'pending' | 'succeeded' | 'canceled', required
  - `cart` LineItem[], required — Корзина заказа — список товаров или услуг.
    - `description` string, required — Описание товара или услуги.
    - `price` MonetaryAmount, required
      - `value` string, required — Сумма в выбранной валюте. Выражается в виде строки и пишется через точку, например 10.00.
      - `currency` 'RUB' | 'EUR' | 'USD' | 'KZT' | 'BYN' | 'UAH' | 'UZS' | 'TRY' | 'INR' | 'MDL' | 'AZN' | 'AMD', required
    - `discount_price` MonetaryAmount
      - `value` string, required — Сумма в выбранной валюте. Выражается в виде строки и пишется через точку, например 10.00.
      - `currency` 'RUB' | 'EUR' | 'USD' | 'KZT' | 'BYN' | 'UAH' | 'UZS' | 'TRY' | 'INR' | 'MDL' | 'AZN' | 'AMD', required
    - `quantity` integer, required — Количество.
  - `delivery_method` union — Способ доставки ссылки на счет.
    - DeliveryMethodSelf
      - `type` string, required — Тип способа доставки.
    - DeliveryMethodSms
      - `type` string, required — Тип способа доставки.
    - DeliveryMethodEmail
      - `type` string, required — Тип способа доставки.
  - `payment_details` PaymentDetails
    - `id` string, required
    - `status` string, required
  - `created_at` string, date-time, required — Время создания счета.
  - `expires_at` string, date-time — Срок действия счета.
  - `description` string
  - `cancellation_details` InvoiceCancellationDetails
    - `party` string, required
    - `reason` string, required
  - `metadata` Metadata — Любые дополнительные данные, которые нужны вам для работы (например, номер заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8.

## Other responses

- `400` — The server could not understand the request due to invalid syntax.
- `401` — Access is unauthorized.
- `403` — Access is forbidden.
- `500` — Server error

## Changes

- **2026-02-14** `fe24d3dfadad` — 14 breaking, 51 info
  - the `description/allOf[#/components/schemas/Description]/` response property's maxLength was unset from `128` for the response status `200`
  - the `id` response property's maxLength was unset from `39` for the response status `200`
  - the `id` response property's minLength was decreased from `39` to `0` for the response status `200`
  - the `cancellation_details` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - …61 more

[Change history](https://skmtc.dev/hexlet/apis/api-kassa/changes/invoices/:invoice_id/get.md)

---

[API](https://skmtc.dev/hexlet/apis/api-kassa.md) · [All operations](https://skmtc.dev/hexlet/apis/api-kassa/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hexlet/api-kassa/revisions/f35dc69c1c37/schema)
