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

# Печать заказа

> Печать копии последнего чека

## Обзор

**Order Print API** используется для печати копии **последнего фискального чека**.

Операция отправляет команду фискальному принтеру для повторной печати
the most recent order without creating a new transaction.

Авторизация **не требуется**.

***

## Поля ответа

### ✅ Успешный ответ `200`

| Поле         | Тип     | Описание         |
| ------------ | ------- | ---------------- |
| `data`       | null    | No data returned |
| `error`      | null    | Always `null`    |
| `is_success` | boolean | Always `true`    |

***

### 🚫 Ответ с ошибкой `200`

| Поле            | Тип         | Описание              |
| --------------- | ----------- | --------------------- |
| `data`          | null        | No data returned      |
| `error.code`    | integer     | Error code            |
| `error.message` | string      | Error description     |
| `error.data`    | any \| null | Additional error data |
| `is_success`    | boolean     | Always `false`        |

***

### Частые коды ошибок

| Код   | Описание            |
| ----- | ------------------- |
| `101` | Printer not working |


## OpenAPI

````yaml GET /order/print
openapi: 3.0.0
info:
  title: Order Print API
  version: 1.0.0
servers: []
security: []
paths:
  /order/print:
    get:
      summary: Print last order receipt
      description: Prints a copy of the last fiscal receipt
      responses:
        '200':
          description: Print result
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    nullable: true
                  error:
                    type: object
                    nullable: true
                    properties:
                      code:
                        type: integer
                      message:
                        type: string
                      data:
                        nullable: true
                  is_success:
                    type: boolean

````