---
title: "Get document by Unique Identifier"
description: "Retrieve a single document by the unique identifier given at creation, with optional brand filter. Returns its number, type, date, customer, totals and PDF links."
source: https://docs.payplus.co.il/en/payplus/latest/get-document-data-copy-copy
language: en
product: payplus
version: v1
updated: 2025-05-28
---

# Get document by Unique Identifier

**GET** `/books/docs/getBy/unique_identifier/{unique_identifier}`

- Production: `https://restapi.payplus.co.il/api/v1.0/`
- Staging: `https://restapidev.payplus.co.il/api/v1.0/`

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `unique_identifier` | path | string | yes | Unique identifier string as submitted upon doc creation |
| `brand_uuid` | query | string |  | Document''s brand UUID Example: a5f514de-c8c8-262a-ac31-31d609f3550a. |
| `api-key` | header | string | yes | API Key |
| `secret-key` | header | string | yes | Secret Key |

**Response 200** — 200

```json
{
  "barcode": "472819632332439",
  "brand": {
    "name": "Company Name",
    "uuid": "67a8cc93-75ac-4832-8386-3eb5b24bf3d0"
  },
  "copyDocAddress": "https://restapi.payplus.co.il/getdoc/s/c/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf",
  "currency_code": "ILS",
  "customer": {
    "customer_name": "John Doe",
    "email": "johndoe@example.com",
    "phone": "123456789",
    "subject_code": "987654321",
    "uuid": "faa6280f-dba5-4889-9b15-de60e1527bdc",
    "vat_number": "1231231"
  },
  "customer_uuid": "faa6280f-dba5-4889-9b15-de60e1527bdc",
  "docUID": "1fa79282-61d1-4898-b7b9-afa67f46d34a",
  "doc_date": "2022-11-15",
  "doc_type": "inv_tax",
  "more_info": null,
  "number": "SCP/50042",
  "originalDocAddress": "https://restapi.payplus.co.il/getdoc/s/o/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf",
  "total_items_base_currency": 150,
  "validDocumentGenerated": true
}
```

**Response 400** — 400

```json
{}
```
