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

# The legacy Report object

### Description

The Report object is a tool that enables you to download a large amount of data in CSV format for accounting or analysis purposes. Reports are available for transactions and wallets.

<Note>
  **Note – Replaced by Reporting Service**

  The legacy Report endpoints are being replaced by Mangopay's Reporting Service, which underpins the Dashboard's report features.

  The legacy Transactions report data is available in the service's User Wallet Transactions report. An equivalent of the legacy Wallets report is planned in future.
</Note>

### Attributes

<ParamField body="Id" type="string">
  The unique identifier of the object.
</ParamField>

<ParamField body="CreationDate" type="Unix timestamp">
  The date and time at which the object was created.
</ParamField>

<ParamField body="Tag" type="string">
  Max. length: 255 characters

  Custom data that you can add to this object. \
  For reports, this parameter can be useful to give the report a name.
</ParamField>

<ParamField body="ReportDate" type="Unix timestamp">
  The date and time at which the report was generated (i.e., when its `Status` is no longer `PENDING`).
</ParamField>

<ParamField body="Status" type="string">
  **Returned values:** `PENDING`, `READY_FOR_DOWNLOAD`, `FAILED`, `EXPIRED`

  The status of the report:

  * `PENDING` – The report is being generated.
  * `READY_FOR_DOWNLOAD` – The report has been created, and can be downloaded.
  * `FAILED` – The report cannot be generated.
  * `EXPIRED` – The report was created, but is no longer available for download (it can be re-run to be downloaded again with fresh data).
</ParamField>

<ParamField body="DownloadFormat" type="string">
  **Allowed values:** `CSV`

  The format in which the report is going to be downloaded.
</ParamField>

<ParamField body="DownloadURL" type="string">
  The URL at which the file can be downloaded.
</ParamField>

<ParamField body="CallbackURL" type="string">
  Max. length: 255 characters

  The URL to which the notification indicating that the report is ready to be downloaded will be sent.
</ParamField>

<ParamField body="ReportType" type="string">
  The type of the report, indicating whether it lists transactions or wallets.
</ParamField>

<ParamField body="Sort" type="string">
  **Returned values:** `CreationDate:ASC`, `CreationDate:DESC`

  Indicates the direction in which to sort the list.
</ParamField>

<ParamField body="Preview" type="boolean">
  Whether the report is limited to the first 10 lines (and therefore quicker to generate).
</ParamField>

<ParamField body="Filters" type="object">
  The filtering parameters to optimize the report. The available filters differ depending on the value set for the `ReportType` parameter.
</ParamField>

<ParamField body="Columns" type="array">
  **Returned values:** The `Columns` listed in the <a href="/reports">Reports</a> article, which differ according to the report type.

  The information to be included in the report.
</ParamField>

<ParamField body="ResultCode" type="array">
  The transaction result codes to be taken into account.
</ParamField>

<ParamField body="ResultMessage" type="string">
  The explanation of the result code.
</ParamField>

### Related resources

<Card title="Guide" href="/reports">Learn more about reporting</Card>
