Skip to main content
GET
/
invoices
Invoices list
import requests

url = "https://api.pdfshift.io/v3/invoices"

headers = {"X-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "success": true,
  "invoices": {
    "has_more": true,
    "data": [
      {
        "created": 1763123660000,
        "amount": 99,
        "reference": "PS202511-00010",
        "download_url": "https://api.pdfshift.io/v3/invoices/PS202511-00110.pdf?token=xxx_token_xxx"
      },
      {
        "created": 1760445289000,
        "amount": 99,
        "reference": "PS202510-00109",
        "download_url": "https://api.pdfshift.io/v3/invoices/PS202510-00109.pdf?token=xxx_token_xxx"
      },
      {
        "created": 1757853195000,
        "amount": 99,
        "reference": "PS202509-00108",
        "download_url": "https://api.pdfshift.io/v3/invoices/PS202509-00108.pdf?token=xxx_token_xxx"
      },
      {
        "created": 1755180347000,
        "amount": 99,
        "reference": "PS202508-00107",
        "download_url": "https://api.pdfshift.io/v3/invoices/PS202508-00107.pdf?token=xxx_token_xxx"
      },
      {
        "created": 1752496441000,
        "amount": 99,
        "reference": "PS202507-00106",
        "download_url": "https://api.pdfshift.io/v3/invoices/PS202507-00106.pdf?token=xxx_token_xxx"
      },
      {
        "created": 1749904431000,
        "amount": 99,
        "reference": "PS202506-00105",
        "download_url": "https://api.pdfshift.io/v3/invoices/PS202506-00105.pdf?token=xxx_token_xxx"
      },
      {
        "created": 1747226035000,
        "amount": 99,
        "reference": "PS202505-00104",
        "download_url": "https://api.pdfshift.io/v3/invoices/PS202505-00104.pdf?token=xxx_token_xxx"
      },
      {
        "created": 1744634029000,
        "amount": 99,
        "reference": "PS202504-00103",
        "download_url": "https://api.pdfshift.io/v3/invoices/PS202504-00103.pdf?token=xxx_token_xxx"
      },
      {
        "created": 1741955686000,
        "amount": 99,
        "reference": "PS202503-00102",
        "download_url": "https://api.pdfshift.io/v3/invoices/PS202503-00102.pdf?token=xxx_token_xxx"
      },
      {
        "created": 1739536453000,
        "amount": 99,
        "reference": "PS202502-00101",
        "download_url": "https://api.pdfshift.io/v3/invoices/PS202502-00101.pdf?token=xxx_token_xxx"
      }
    ],
    "limit": 10,
    "page": 0,
    "total": 28
  }
}

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Response

List of invoices

success
boolean
invoices
object