---
title: "Get Documents By Transaction UID"
description: "Retrieve the invoices and credit documents linked to a transaction UID within a date range, with each document's status, type, date and download links for the original and copy."
source: https://docs.payplus.co.il/en/payplus/latest/post-invoice-getdocuments
language: en
product: payplus
version: v1
updated: 2025-05-28
---

# Get Documents By Transaction UID

**POST** `/Invoice/GetDocuments`

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

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `api-key` | header | string | yes | API Key |
| `secret-key` | header | string | yes | Secret Key |

**Request body** (application/json)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `filter` | object | yes |  |
| `filter.fromDate` | string | yes |  |
| `filter.untilDate` | string | yes |  |
| `transaction_uid` | string |  |  |

```json
{
  "filter": {
    "fromDate": "string",
    "untilDate": "string"
  },
  "transaction_uid": "string"
}
```

**Response 200** — 200

```json
{
  "invoices": [
    {
      "status": "success",
      "type": "Invoice Receipt",
      "date": "16/02/2021 11:21",
      "original_doc_url": "https://sandbox.d.greeninvoice.co.il/api/v1/documents/download?d=zAZeHKAQCb1DZkQ0yMWPfXbz827r92nIwjXCJh81%2BctUkp%2BrGSXhgSfFVWocDFCQ%2Fw5jkejpwalFJa9VOErmNCQMfSvt2wieVk7QK925B%2BhRpG2PKb9Gvw1CWYgYc4Ot7vEjVC%2F3tAudPk9wUlQ8pkWBiSJRsK35",
      "copy_doc_url": "https://sandbox.d.greeninvoice.co.il/api/v1/documents/download?d=zAZeHKAQCb1AZkQ0yMWPfXbz827r92nIwjXCJh81%2BctUkp%2BrGSXhgSfFVWocDFCQ%2Fw5jkejpwalFJa9VOErmNCQMfSvt2wieVk7QK925B%2BhRpG2PKb9Gvw1CWYgYc4Ot7vEjVC%2F3tAudPk9wUlQ8pkWBiSRUvKv5"
    },
    {
      "status": "success",
      "type": "Credit Invoice",
      "date": "16/02/2021 11:23",
      "original_doc_url": "https://sandbox.d.greeninvoice.co.il/api/v1/documents/download?d=zAZeHKAQCb1DZkQ0yMWPfXbz827r92nIwjXCJh81%2BctUkp%2BrGSXh3XSVUjFND1OQ%2BV9lxejpk6wUJa9ZOxjmZSQIfn2%2Bi1vPXhnfK925B%2BhRpG2PKb9Gvw1DWYkaf4Ot7vEjVC%2F3tAudPk5xVlQ8pkWBgCNRsKr5",
      "copy_doc_url": "https://sandbox.d.greeninvoice.co.il/api/v1/documents/download?d=zAZeHKAQCb1AZkQ0yMWPfXbz827r92nIwjXCJh81%2BctUkp%2BrGSXh3XSVUjFND1OQ%2BV9lxejpk6wUJa9ZOxjmZSQIfn2%2Bi1vPXhnfK925B%2BhRpG2PKb9Gvw1DWYkaf4Ot7vEjVC%2F3tAudPk5xVlQ8pkWBgyFXvKv5"
    }
  ]
}
```

**Response 400** — 400

```json
{}
```
