# List a record's tax returns

One deal's tax returns as the processor read them: each file with the years extracted from it and the owners named in each year. A deal nobody has processed answers an empty list. Deals page only.

Access class: `def:read`.

## Endpoint

`GET /v1/definitions/{key}/rows/{rowId}/tax-returns`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": [
    {
      "extractions": [
        "string"
      ],
      "fileId": "",
      "fileName": "string",
      "jobId": "",
      "uploadedAt": "string",
      "years": [
        "string"
      ]
    }
  ]
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
