# startOperationsFilesExport

Starts an asynchronous export of the operations files of the `COMPLETED` settlements of a range of completion dates, as one ZIP that holds each file unchanged. Shown as Download all in the payouts history. Returns a `ChargesExport` whose `status` is `PENDING`: poll `chargesExport(id)` until `COMPLETED`, then call `downloadFilesExport(id)`. A second call with the same filter while the job runs returns the same job. Fails with `RANGE_TOO_LONG` for a missing range or one longer than a year, and with `EXPORT_RUNNING` while another such export of the caller runs. Requires read access to settlements. Arguments: - `filter`: Completion dates and optional store of the settlements.

```
startOperationsFilesExport(

  filter: OperationsFilesExportFilterInput!

): ChargesExport!
```

### Arguments[​](#arguments "Enlace directo al Arguments")

#### [`startOperationsFilesExport.filter`](#filter) ● [`OperationsFilesExportFilterInput!`](https://docs.monei.com/es/apis/graphql/types/inputs/operations-files-export-filter-input.md) non-null input[​](#filter "Enlace directo al filter")

### Type[​](#type "Enlace directo al Type")

#### [`ChargesExport`](https://docs.monei.com/es/apis/graphql/types/objects/charges-export.md) object[​](#chargesexport- "Enlace directo al chargesexport-")

Asynchronous export job, made by `startExportCharges`, `startC60Export`, `startOperationsFilesExport`, `startInvoicesExport` or a scheduled SFTP export. When `status` is `COMPLETED`, get the file with `downloadFilesExport` for a job with a `kind`, else with `downloadExport`.
