---
title: "List Invoices"
description: "Lists all invoices for the organization (Mollie)."
---

`GET /api/mollie/invoices`

## Example (cURL)

```bash
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"

curl -X GET \
  "$BASE_URL/api/mollie/invoices" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/json"
```

Notes:

- The organization is derived automatically from your authenticated session or API token.
- The legacy route `GET /api/organizations/:organizationPublicId/mollie/invoices` remains supported for compatibility.
- The `pdfUrl` values in the response use the org-less download route `/api/invoices/:invoiceId/pdf`.
- Global admins need an active organization context in the authenticated session for the org-less route.

## Response

```json
{
  "invoices": [
    {
      "id": "inv_123456",
      "reference": "INV-2024-001",
      "status": "paid",
      "issuedAt": "2024-01-15T10:00:00.000Z",
      "netAmount": {
        "value": "29.99",
        "currency": "EUR"
      },
      "pdfUrl": "/api/invoices/inv_123456/pdf"
    },
    {
      "id": "inv_123455",
      "reference": "INV-2023-128",
      "status": "paid",
      "issuedAt": "2023-12-15T10:00:00.000Z",
      "netAmount": {
        "value": "29.99",
        "currency": "EUR"
      },
      "pdfUrl": "/api/invoices/inv_123455/pdf"
    }
  ]
}
```

## Common errors

- `400 Organization ID is required in the authenticated session` when no organization can be derived from the current session/token
- `401 Unauthorized` when you are not logged in
- `403 Not authorized` when you cannot access the organization

