---
updatedAt: 2025-05-28T09:45:44.000Z
agentTools:
  projectIndex: https://docs.payplus.co.il/llms.txt
---

# Get Documents By Transaction UID

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "PayPlus - API Documentation - Production",
    "version": "1.0"
  },
  "tags": [
    {
      "name": "Reports - Transactions"
    }
  ],
  "servers": [
    {
      "url": "https://restapi.payplus.co.il/api/v1.0/",
      "description": "Production"
    },
    {
      "url": "https://restapidev.payplus.co.il/api/v1.0/",
      "description": "Staging"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/Invoice/GetDocuments": {
      "post": {
        "tags": [
          "Reports - Transactions"
        ],
        "summary": "Get Documents By Transaction UID",
        "description": "",
        "parameters": [
          {
            "name": "api-key",
            "in": "header",
            "description": "API Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secret-key",
            "in": "header",
            "description": "Secret Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "filter"
                ],
                "properties": {
                  "transaction_uid": {
                    "type": "string"
                  },
                  "filter": {
                    "type": "object",
                    "required": [
                      "fromDate",
                      "untilDate"
                    ],
                    "properties": {
                      "fromDate": {
                        "type": "string"
                      },
                      "untilDate": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\"invoices\": [\n{\n\"status\": \"success\",\n\"type\": \"Invoice Receipt\",\n\"date\": \"16/02/2021 11:21\",\n\"original_doc_url\": \"https://sandbox.d.greeninvoice.co.il/api/v1/documents/download?d=zAZeHKAQCb1DZkQ0yMWPfXbz827r92nIwjXCJh81%2BctUkp%2BrGSXhgSfFVWocDFCQ%2Fw5jkejpwalFJa9VOErmNCQMfSvt2wieVk7QK925B%2BhRpG2PKb9Gvw1CWYgYc4Ot7vEjVC%2F3tAudPk9wUlQ8pkWBiSJRsK35\",\n\"copy_doc_url\": \"https://sandbox.d.greeninvoice.co.il/api/v1/documents/download?d=zAZeHKAQCb1AZkQ0yMWPfXbz827r92nIwjXCJh81%2BctUkp%2BrGSXhgSfFVWocDFCQ%2Fw5jkejpwalFJa9VOErmNCQMfSvt2wieVk7QK925B%2BhRpG2PKb9Gvw1CWYgYc4Ot7vEjVC%2F3tAudPk9wUlQ8pkWBiSRUvKv5\"\n},\n{\n\"status\": \"success\",\n\"type\": \"Credit Invoice\",\n\"date\": \"16/02/2021 11:23\",\n\"original_doc_url\": \"https://sandbox.d.greeninvoice.co.il/api/v1/documents/download?d=zAZeHKAQCb1DZkQ0yMWPfXbz827r92nIwjXCJh81%2BctUkp%2BrGSXh3XSVUjFND1OQ%2BV9lxejpk6wUJa9ZOxjmZSQIfn2%2Bi1vPXhnfK925B%2BhRpG2PKb9Gvw1DWYkaf4Ot7vEjVC%2F3tAudPk5xVlQ8pkWBgCNRsKr5\",\n\"copy_doc_url\": \"https://sandbox.d.greeninvoice.co.il/api/v1/documents/download?d=zAZeHKAQCb1AZkQ0yMWPfXbz827r92nIwjXCJh81%2BctUkp%2BrGSXh3XSVUjFND1OQ%2BV9lxejpk6wUJa9ZOxjmZSQIfn2%2Bi1vPXhnfK925B%2BhRpG2PKb9Gvw1DWYkaf4Ot7vEjVC%2F3tAudPk5xVlQ8pkWBgyFXvKv5\"\n}\n]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "invoices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "example": "success"
                          },
                          "type": {
                            "type": "string",
                            "example": "Invoice Receipt"
                          },
                          "date": {
                            "type": "string",
                            "example": "16/02/2021 11:21"
                          },
                          "original_doc_url": {
                            "type": "string",
                            "example": "https://sandbox.d.greeninvoice.co.il/api/v1/documents/download?d=zAZeHKAQCb1DZkQ0yMWPfXbz827r92nIwjXCJh81%2BctUkp%2BrGSXhgSfFVWocDFCQ%2Fw5jkejpwalFJa9VOErmNCQMfSvt2wieVk7QK925B%2BhRpG2PKb9Gvw1CWYgYc4Ot7vEjVC%2F3tAudPk9wUlQ8pkWBiSJRsK35"
                          },
                          "copy_doc_url": {
                            "type": "string",
                            "example": "https://sandbox.d.greeninvoice.co.il/api/v1/documents/download?d=zAZeHKAQCb1AZkQ0yMWPfXbz827r92nIwjXCJh81%2BctUkp%2BrGSXhgSfFVWocDFCQ%2Fw5jkejpwalFJa9VOErmNCQMfSvt2wieVk7QK925B%2BhRpG2PKb9Gvw1CWYgYc4Ot7vEjVC%2F3tAudPk9wUlQ8pkWBiSRUvKv5"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```