# List invoices

`GET /v1/billing/invoices`

What the workspace has been charged, newest first.

Needs the scope: `workspace:read`

## Returns

- `object` ("list"): Always `list`.
- `data` (object[]): The invoices of the workspace, newest first.
- `data[].object` ("invoice"): Always `invoice`.
- `data[].id` (string): The id of the invoice.
- `data[].number` (string): The number printed on the invoice.
- `data[].createdAt` (string): When the invoice was issued.
- `data[].amountCents` (integer): The amount, in cents.
- `data[].currency` (string): The currency of the amount.
- `data[].paid` (boolean): Whether it has been paid.
- `data[].product` (string): What the invoice is for.

## Example

cURL:

```bash
curl "$OPENSEND_API_URL/v1/billing/invoices" \
  -H "Authorization: Bearer $OPENSEND_API_KEY"
```

TypeScript:

```ts
await opensend.billing.invoices()
```

CLI:

```bash
opensend billing invoices
```

MCP:

```json
{
  "name": "billing_invoices",
  "arguments": {}
}
```

Answer:

```json
{
  "object": "list",
  "data": [
    {
      "object": "invoice",
      "id": "ord_01",
      "number": "INV-0011",
      "createdAt": "2026-11-01T00:00:00.000Z",
      "amountCents": 2000,
      "currency": "usd",
      "paid": true,
      "product": "Pro"
    }
  ]
}
```
