> For the complete documentation index, see [llms.txt](https://api-portal.novapost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-portal.novapost.com/changelog-1/documentation-1/get-registry-print.md).

# GET /registry/print

### Загальна інформація <a href="#general-information" id="general-information"></a>

<table data-header-hidden><thead><tr><th></th><th width="374"></th></tr></thead><tbody><tr><td><strong>Назва методу</strong></td><td>Спосіб друку посилкових реєстрів</td></tr><tr><td><strong>Направлення</strong></td><td>EU, UA</td></tr><tr><td><strong>HTTP Method</strong></td><td>GET</td></tr><tr><td><strong>Роут</strong></td><td>/v.1.0/registry/print/?id={id}</td></tr><tr><td><strong>Авторизація</strong></td><td><code>Authorization: Bearer jwt-token…</code></td></tr></tbody></table>

#### Опис <a href="#description" id="description"></a>

Цей метод дозволяє користувачам отримати згенерований PDF-файл реєстру для подальшого друку.&#x20;

Європейські реєстри використовують лише друк загального типу реєстру.&#x20;

Українські реєстри (UA-World) можуть друкувати:&#x20;

* загальний реєстр
* міжнародні експрес-накладні (IEW),
* маркування міжнародних експрес-накладних,&#x20;
* рахунки-фактури міжнародних експрес-накладних.

#### Параметри шляху <a href="#path-parameters" id="path-parameters"></a>

<table data-header-hidden><thead><tr><th></th><th width="249"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Name</strong></td><td><strong>Type</strong></td><td>Значення</td><td><strong>Опис</strong></td></tr><tr><td>id</td><td>string</td><td></td><td>Ідентифікатор реєстру в системі OM (обов'язково)</td></tr><tr><td>type</td><td>string</td><td><p></p><ul><li><code>international</code></li><li><code>invoice</code></li><li><code>marking</code></li></ul></td><td>тип друкованого формату (необов'язково)</td></tr><tr><td>printSizeType</td><td>string</td><td><p></p><ul><li><code>size_100_100</code></li></ul></td><td>розмір друкованого маркування, обов'язковий для type= маркування</td></tr><tr><td>copies</td><td>number</td><td></td><td>Кількість копій друкованого документа (необов'язково) Значення за замовчуванням: 1</td></tr></tbody></table>

#### Параметри запиту та відповіді

<details>

<summary>Request .../v.1.0/registry/print/?id={id}</summary>

```
GET https://api.novaposhta.ua/v.1.0/registry/print/?id=123456 
Host: api.novaposhta.ua
Authorization: Bearer <jwt-token>
Accept: application/pdf
```

</details>

<details>

<summary>Response .../v.1.0/registry/print/?id={id}</summary>

```
generated PDF file
```

</details>

### Acceptable HTTP status codes response <a href="#acceptable-http-status-codes-response" id="acceptable-http-status-codes-response"></a>

| **HTTP-code** | **Status**            | **Description**                                                             |
| ------------- | --------------------- | --------------------------------------------------------------------------- |
| 200           | OK                    | Запит успішно виконано. Сервер відповів належним чином.                     |
| 422           | Unprocessable entity  | Повідомлення про помилку: «Поле ідентифікатора має бути числом».            |
| 500           | Internal Server Error | Вказаний реєстр не знайдено. Повідомлення про помилку: "validation.invalid" |

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-portal.novapost.com/changelog-1/documentation-1/get-registry-print.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
