---
title: "Exports | Docs | e-TVA Check by R&D Copilot"
description: "The rows, the differences and the explanation file as CSV files."
canonical: "https://etva.rdcopilot.com/docs/api-reference/exports/"
language: en
updated: 2026-11-22
---

# Exports

The rows, the differences and the explanation file as CSV files.

## Get an export

GET `/etva/v1/periods/{periodId}/exports/{kind}`

Returns a CSV file of the rows, the differences or the explanation file, made from the period as it is now. The file is in `content`, with its name and media type.

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `periodId` | path | `string (uuid)` | Yesrequired | The period. |
| `kind` | path | `string` | Yesrequired | What to export: `rows`, `differences` or `explanation-file`. One of `rows`, `differences`, `explanation-file` |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `200` | The file. | `Export` |
| `401` | The token is missing, not valid or has ended. | `Error` |
| `403` | The token does not give access to this data. | `Error` |
| `404` | The period does not exist in your account. | `Error` |
| `429` | The request was refused and not processed: the `code` is `rate_limited`. Wait the seconds in the header `Retry-After`, then send it again with the same `operationId`. | `Error` |
| `503` | The service cannot answer now: the `code` is `unavailable`. Send the request again with the same `operationId`. | `Error` |

### Request

curl

```bash
curl "$RDC_BASE_URL/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/exports/rows" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/exports/rows`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/exports/rows',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/exports/rows');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/exports/rows");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `200`

JSON

```json
{
  "kind": "rows",
  "name": "brumar-2026-09-rows.csv",
  "contentType": "text/csv",
  "content": "row,yours_base,yours_vat,prefilled_base,prefilled_vat,difference_vat,difference_percent,status\nsales-standard,9774.66,2052.67,13231.14,2778.53,-725.86,-26.12,to_review\nsales-reduced,21080.18,2318.82,21080.18,2318.82,0.00,0.00,aligned\npurchases-standard,63551.20,13345.75,40751.70,8557.86,4787.89,55.95,to_review\npurchases-reduced,38585.50,4244.41,81156.90,8927.26,-4682.85,-52.46,explained\n"
}
```
