---
title: "Get all documents associated with the specific invoice"
method: GET
path: "/api/v2/organizations/{orgSlug}/payments/{paymentId}/documents"
tags: ["Payments"]
---

# Get all documents associated with the specific invoice

`GET /api/v2/organizations/{orgSlug}/payments/{paymentId}/documents`

Get all metadata associated with all documents for a specific invoice. Each item in the response body contains information about the document name, template and url. 

 Required scopes: `flex.billing.payments.documents.read`

## Path parameters

- `paymentId` string, required
- `orgSlug` string, required

## Response `200`

- PaymentDocumentsResultDto
  - `_id` string — The _id of the document associated with the payment.
  - `name` string — The name of the document associated with the payment.
  - `url` string — The URL of the document associated with the payment.
  - `type` string — The template type of the document associated with the payment.
  - `templateName` string — The template name of the document associated with the payment.

---

[API](https://skmtc.dev/officernd/apis/authentication-api.md) · [All operations](https://skmtc.dev/officernd/apis/authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/officernd/authentication-api/revisions/6bcd33dc648e/schema)
