---
title: "List invoices"
description: "List all invoices."
canonical: https://www.charitips.com/docs/api-reference/list-invoices
---

# List invoices

`GET /v1/invoices`

List all invoices.

**Authentication**: Bearer access token.

## Parameters

- `limit` (number, integer, minimum 1, maximum 100): The max number of items to return.
- `cursor` (string, UUID): The id of the last item from the previous page. Used to fetch the next page.
- `accountId` (string, UUID): Id of the account. Only useful for Platform customers to filter fiscal receipts by child accounts
- `status` (string): Status of the invoices to filter by One of `PENDING`, `POSTED`, `PAYMENT_DUE`, `PAID`, `NOT_PAID`, `VOIDED`.
- `campaignId` (string, UUID): Id of the campaign to filter by

## Response 200

- `invoiceId` (string, required)
- `fiscalId` (string, required)
- `status` (InvoiceStatus) One of `PENDING`, `POSTED`, `PAYMENT_DUE`, `PAID`, `NOT_PAID`, `VOIDED`.
- `total` (integer (int64))
- `date` (string (date-time))
- `plan` (string)
- `donationVolume` (integer (int64))
- `donationFee` (integer (int64))
- `subscriptionFee` (integer (int64))
- `chargesFee` (integer (int64))
- `addonsFee` (integer (int64))
- `tax` (integer (int64))
- `taxItems` (object)
- `accountId` (string, required)
- `campaignId` (string)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)

## Errors

- 400 `A field is missing, has the wrong type, or is not part of the request schema.`: `message` lists every problem. Unknown fields are rejected, not ignored: remove them rather than sending extra data. See https://www.charitips.com/docs/api-reference/errors.md.
- 401 `Unauthorized`: The access token is missing, expired or invalid. Create a new one with your client id and secret, send it as `Authorization: Bearer <accessToken>`, then retry once. Sandbox tokens only work on api.sandbox.charitips.com. See https://www.charitips.com/docs/get-started/authentication.md.
- 403 `Account closed`: The account behind these credentials is closed: no token is issued and every call is refused, reads included. Contact Charitips to reopen it. See https://www.charitips.com/docs/api-reference/troubleshooting.md#calls-answer-403-account-not-active-account-not-validated-or-account-closed.

## Example

```bash
curl -X GET https://api.sandbox.charitips.com/v1/invoices \
  -H "Authorization: Bearer $CHARITIPS_TOKEN"
```

```javascript
const response = await fetch('https://api.sandbox.charitips.com/v1/invoices', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.CHARITIPS_TOKEN}`,
  },
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const data = await response.json();
```

```python
import os, requests

response = requests.get(
    "https://api.sandbox.charitips.com/v1/invoices",
    headers={"Authorization": f"Bearer {os.environ['CHARITIPS_TOKEN']}"},
)
response.raise_for_status()
data = response.json()
```

## Response example (200, placeholder values)

```json
[
  {
    "invoiceId": "<invoiceId>",
    "fiscalId": "<fiscalId>",
    "status": "PENDING",
    "total": 1,
    "date": "<date>",
    "plan": "<plan>",
    "donationVolume": 1,
    "donationFee": 1
  }
]
```
