> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List files for a statement summary

> Retrieve an array of statement files for a specific statement summary.

GET/credit/accounts/\{account\_token}/statements/\{statement\_summary\_token}/files

Retrieve an array of statement files for a specific statement summary.

## URL path parameters

| Fields | Description |
| - | - |
| account\_token string  Required | The unique identifier of the credit account for which to retrieve statement files for a statement summary. Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens. **Allowable Values:**  Existing account token |
| statement\_summary\_token string  Required | The unique identifier of the statement summary whose statement files you want to retrieve. Send a `GET` request to `/credit/accounts/{token}/statements` to retrieve existing statement summary tokens. **Allowable Values:**  Existing statement summary token |

## URL query parameters

| Fields | Description |
| - | - |
| count integer  Optional | The number of statement files to return. **Allowable Values:**  1–100 |
| start\_index integer  Optional | Sort order index from which to begin returning files. **Allowable Values:**  0 min |

## Response body

| Fields | Description |
| - | - |
| count integer  Returned | Number of resources returned. **Allowable Values:**  1-10 |
| start\_index integer  Returned | Sort order index of the first resource in the returned array. **Allowable Values:**  Any integer |
| end\_index integer  Returned | Sort order index of the last resource in the returned array. **Allowable Values:**  Any integer |
| is\_more boolean  Returned | A value of `true` indicates that more unreturned resources exist. **Allowable Values:**  `true`, `false` |
| data array of objects  Returned | List of statement files. **Allowable Values:**  One or more statement files |
| data\[].**token** string  Conditionally returned | Unique identifier of the statement file. **Allowable Values:**  36 char max |
| data\[].**account\_token** string  Conditionally returned | Unique identifier of the credit account on which the statement PDF file is generated. **Allowable Values:**  36 char max  Existing account token |
| data\[].**statement\_summary\_token** uuid  Conditionally returned | Unique identifier of the statement summary. **Allowable Values:**  Existing statement summary token |
| data\[].**opening\_date** datetime  Conditionally returned | Date and time when the statement period began. **Allowable Values:**  Format: yyyy-MM-ddThh:mm:ssZ |
| data\[].**closing\_date** datetime  Conditionally returned | Date and time when the statement period ended. **Allowable Values:**  Format: yyyy-MM-ddThh:mm:ssZ |
| data\[].**signed\_url** string  Conditionally returned | The signed URL to retrieve the statement PDF file. **Allowable Values:**  A valid signed URL |
| data\[].**type** string  Conditionally returned | Type of file. **Allowable Values:**  `STATEMENT_PDF` |

## Sample response body

```json JSON lines wrap theme={null}
{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": false,
  "data": [
    {
      "token": "file_token",
      "account_token": "credit_account_token1234",
      "statement_summary_token": "37f07818-2a2c-4c82-a721-a479936d5b2e",
      "opening_date": "2021-07-01T00:27:09Z",
      "closing_date": "2021-07-31T00:27:09Z",
      "signed_url": "<signed_https_url_pointing_to_a_resource_on_S3>",
      "type": "STATEMENT_PDF"
    }
  ]
}
```


## Related topics

- [Statements Overview](https://www.marqeta.com/docs/core-api/credit-account-statements.md)
- [About Credit Account Statements](https://www.marqeta.com/docs/developer-guides/about-credit-account-statements.md)
- [List account statement summaries](https://www.marqeta.com/docs/core-api/credit-account-statements/list-summaries.md)
- [List files for an account](https://www.marqeta.com/docs/core-api/credit-account-statements/list-files.md)
- [List account statement journal entries](https://www.marqeta.com/docs/core-api/credit-account-statements/list-journal-entries.md)
