# List invoice files

`GET /v1/invoices/{id}/files`

Lists the files emailed with an invoice or offer, such as a timesheet or a contract, in the order they are attached after the PDF.

**Scopes:** any of `invoices:read`, `read:ledger`

## Request

```bash
curl https://api.numina.app/v1/invoices/550e8400-e29b-41d4-a716-446655440000/files \
  -H "Authorization: Bearer numi_YOUR_API_KEY"
```

## Path parameters

- `id` (string (uuid), required): Invoice ID

## Response `200`

The invoice's files

```json
{
  "files": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "file_name": "timesheet-march.pdf",
      "content_type": "application/pdf",
      "size_bytes": 48213,
      "sha256": "string",
      "created_at": "string"
    }
  ]
}
```

## Errors

- `401` Unauthorized - Missing or invalid credentials
- `403` Forbidden - A scope is missing, or the company is archived
- `404` Not Found - It doesn't exist in this company
- `429` Too Many Requests - You're over the rate limit
- `500` Internal Server Error - Something went wrong on our side

See https://developers.numina.app/errors.md for the error format.
