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

# DataFile/CreateFile method

> The DataFile/CreateFile POST method of the ABBYY FlexiCapture Reporting data access REST API rebuilds a reporting archive for a period when export has failed.

Creates the archive for the specified period.

Note that when reporting data export works as intended, all the archives will be available automatically. This method is only needed if export has failed or someone deleted the file by mistake.

```
POST <%REPORTING_DATA_ACCESS_URL%>/api/DataFile/CreateFile
```

## Parameters

*tenantName* (string) is the name of the tenant for which to check the availability of reporting data.

*year* (int), *month* (int) specify the time for which to create the archive with the reporting data.

## Responses

200 — the archive was created successfully. You can now download it with a GET request to [DataFile](/flexi-capture/reporting-service/reporting-data-file).
