# GET /api/v1/invoices

> List the account's invoices

- Group: billing
- Tier: R
- Required scope: read:billing
- Docs: https://api.inleed.com/reference/billing/list-invoices

## Description

Returns `data[]` of invoices with `id`, `status`, `totalGross`, `totalUnpaid`, `expiresAt` and `paidAt`, plus `hasMore` / `nextCursor`. For one invoice's line items and payments call `get_invoice`.

## Query parameters

- `status` — enum. Optional status filter. Omit for every status. One of paid, unpaid, overdue, proforma, credited, debt_collection.
- `from` — string. Only invoices created on or after this date (YYYY-MM-DD).
- `to` — string. Only invoices created on or before this date (YYYY-MM-DD).
- `limit` — integer. Page size for a collection. Range 1–200.
- `cursor` — string. Opaque pagination cursor. Pass back the previous response’s nextCursor; stop when it is null. Up to 64 characters.

## Request

```bash
curl -X GET "https://mcp.inleed.com/api/v1/invoices?status=paid&from=example.se&to=example.se&limit=3&cursor=example.se" \
  -H "Authorization: Bearer inl_live_…"
```

## Response · 200

```json
{
  "data": [],
  "hasMore": true,
  "nextCursor": "example.se",
  "total": "example.se"
}
```

## Errors

- **401** No token was presented, or the token is revoked, expired or unknown. — codes: unauthorized, token_expired, token_revoked
- **403** The token lacks a required scope, or this account does not own the resource. — codes: insufficient_scope
- **422** Validation error — codes: validation_failed
- **429** The rate limit for this token is exhausted. See `Retry-After`. — codes: rate_limited
- **500** Something went wrong on our side. The failure is logged against `requestId`. — codes: internal_error

## Related

- GET /api/v1/invoices/{invoice} — https://api.inleed.com/reference/billing/get-invoice
- GET /api/v1/invoices/{invoice}/pdf — https://api.inleed.com/reference/billing/get-invoice-pdf
- GET /api/v1/invoices/{invoice}/credit-note — https://api.inleed.com/reference/billing/get-credit-note
- GET /api/v1/invoices/{invoice}/payment-methods — https://api.inleed.com/reference/billing/get-invoice-payment-methods

