---
title: "Return rows | Docs | e-TVA Check by R&D Copilot"
description: "The four rows of the comparison, how each is the sum of documents and postings, how the difference and the percent are worked out, and the three statuses of a row."
canonical: "https://etva.rdcopilot.com/docs/concepts/return-rows/"
language: en
updated: 2026-11-22
---

# Return rows

The four rows of the comparison, how each is the sum of documents and postings, how the difference and the percent are worked out, and the three statuses of a row.

A period is compared on four rows, always in the same order. Each row holds the figures of the pre-filled return, the figures of your return, their difference and a status. The VAT of a sales row is collected; the VAT of a purchases row is deductible.

| Row | Side | Rate |
| --- | --- | --- |
| `sales-standard` | Sales | standard |
| `sales-reduced` | Sales | reduced |
| `purchases-standard` | Purchases | standard |
| `purchases-reduced` | Purchases | reduced |

The rates are not typed into the product. They come from the same registry as the rest of the site:

-   The standard VAT rate in Romania is 21%.
-   The reduced VAT rate in Romania is 11%.

A document with a part at any other rate is refused on import with `unsupported_rate`. Where the four rows stand on the VAT return form:

On the VAT return (form 300, approved by order 174/2026), supplies taxed at 21% are reported on row 9 and at 11% on row 10; purchases taxed at 21% on row 24 and at 11% on row 25.

## A row is a sum

The pre-filled side of a row is the sum of the documents behind it. Your side is the sum of the postings of the month. A document or a posting may have several parts, one for each rate, and each part falls in the row of its side and rate. The VAT of a part is its base times its rate, rounded to the nearest ban, halves up. Amounts in the API are decimal strings in lei.

The difference of a row is yours minus pre-filled. The VAT difference is positive when you report more VAT than the pre-filled return. `percent` is that VAT difference as a percent of the pre-filled VAT of the row.

In the September period, `purchases-standard` is yours 13345.75 and pre-filled 8557.86 in VAT. The difference is 4787.89, which is 55.95 percent of the pre-filled VAT, so the row is marked.

curl

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

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/rows/purchases-standard`, {
  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/rows/purchases-standard',
    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/rows/purchases-standard');
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/rows/purchases-standard");
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
{
  "id": "purchases-standard",
  "periodId": "79509f60-565a-40eb-a4c3-709e5d49e517",
  "side": "purchases",
  "rate": "21",
  "title": "Purchases at 21%",
  "yours": {
    "base": "63551.20",
    "vat": "13345.75"
  },
  "prefilled": {
    "base": "40751.70",
    "vat": "8557.86"
  },
  "difference": {
    "base": "22799.50",
    "vat": "4787.89",
    "percent": "55.95"
  },
  "marked": true,
  "status": "to_review",
  "differenceIds": [
    "50ad54ee-d206-4a82-a336-193ccffdc407",
    "46735209-a528-4647-ba66-da4a8e7373ee"
  ]
}
```

`differenceIds` lists the differences that change the row. Their effects add up to the difference of the row. See [Differences](https://etva.rdcopilot.com/docs/concepts/differences/). When the pre-filled VAT of a row is 0.00 there is no percent, `percent` is `null`, and any difference marks the row.

## The limits

A row is marked when the absolute VAT difference is above the amount limit, or above the percent limit of the pre-filled VAT of the row. A difference equal to a limit does not mark the row. The percent is compared in hundredths: 5.004 percent shows as 5.00 and is not above 5.00. The defaults are 100.00 lei and 5.00 percent. They are settings of the product, not rules of any authority.

Set the limits of a period with `updateLimits` while its file is a draft. A limit that is negative, has more than two decimals or is above 10000000.00 for the amount or 100.00 for the percent is refused with `invalid_limits`. A period whose file is not a draft is refused with `file_locked`.

curl

```bash
curl -X PUT "$RDC_BASE_URL/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/limits" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "384925c4-8c7a-470c-b6a3-29ca91607a75",
  "expectedRevision": 1,
  "amountLimit": "200.00",
  "percentLimit": "3.00"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/limits`, {
  method: 'PUT',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "384925c4-8c7a-470c-b6a3-29ca91607a75",
    "expectedRevision": 1,
    "amountLimit": "200.00",
    "percentLimit": "3.00"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'PUT',
    f'{os.environ["RDC_BASE_URL"]}/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/limits',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '384925c4-8c7a-470c-b6a3-29ca91607a75',
        'expectedRevision': 1,
        'amountLimit': '200.00',
        'percentLimit': '3.00',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "384925c4-8c7a-470c-b6a3-29ca91607a75",
  "expectedRevision": 1,
  "amountLimit": "200.00",
  "percentLimit": "3.00"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/limits');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'PUT',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$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.Put, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/limits");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "384925c4-8c7a-470c-b6a3-29ca91607a75",
  "expectedRevision": 1,
  "amountLimit": "200.00",
  "percentLimit": "3.00"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "384925c4-8c7a-470c-b6a3-29ca91607a75",
  "status": "accepted",
  "aggregateId": "79509f60-565a-40eb-a4c3-709e5d49e517",
  "aggregateRevision": 2
}
```

## The status of a row

You do not set the status. It follows from the two sums, the limits and the explanations, so it changes when any of them changes. A change of status is announced by the event `row.status_changed`.

| Status | Meaning |
| --- | --- |
| aligned | The row is not marked: its VAT difference is within both limits. |
| explained | The row is marked and every difference that touches it has an explanation. |
| to\_review | The row is marked and at least one difference that touches it has no explanation. |

In the September period `sales-reduced` is `aligned`, `purchases-reduced` is `explained`, and `sales-standard` and `purchases-standard` are `to_review`. Read only the rows that need work with `status=to_review`. An approval needs no row in that status.

curl

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

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517/rows?limit=20`, {
  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/rows?limit=20',
    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/rows?limit=20');
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/rows?limit=20");
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
{
  "items": [
    {
      "id": "sales-standard",
      "periodId": "79509f60-565a-40eb-a4c3-709e5d49e517",
      "side": "sales",
      "rate": "21",
      "title": "Sales at 21%",
      "yours": {
        "base": "9774.66",
        "vat": "2052.67"
      },
      "prefilled": {
        "base": "13231.14",
        "vat": "2778.53"
      },
      "difference": {
        "base": "-3456.48",
        "vat": "-725.86",
        "percent": "-26.12"
      },
      "marked": true,
      "status": "to_review",
      "differenceIds": [
        "351aa9b7-3fd2-4e48-b723-6babb3e16fae",
        "e59c4466-b33f-4875-9be1-0fdd35eb90f1"
      ]
    },
    {
      "id": "sales-reduced",
      "periodId": "79509f60-565a-40eb-a4c3-709e5d49e517",
      "side": "sales",
      "rate": "11",
      "title": "Sales at 11%",
      "yours": {
        "base": "21080.18",
        "vat": "2318.82"
      },
      "prefilled": {
        "base": "21080.18",
        "vat": "2318.82"
      },
      "difference": {
        "base": "0.00",
        "vat": "0.00",
        "percent": "0.00"
      },
      "marked": false,
      "status": "aligned",
      "differenceIds": []
    },
    {
      "id": "purchases-standard",
      "periodId": "79509f60-565a-40eb-a4c3-709e5d49e517",
      "side": "purchases",
      "rate": "21",
      "title": "Purchases at 21%",
      "yours": {
        "base": "63551.20",
        "vat": "13345.75"
      },
      "prefilled": {
        "base": "40751.70",
        "vat": "8557.86"
      },
      "difference": {
        "base": "22799.50",
        "vat": "4787.89",
        "percent": "55.95"
      },
      "marked": true,
      "status": "to_review",
      "differenceIds": [
        "50ad54ee-d206-4a82-a336-193ccffdc407",
        "46735209-a528-4647-ba66-da4a8e7373ee"
      ]
    },
    {
      "id": "purchases-reduced",
      "periodId": "79509f60-565a-40eb-a4c3-709e5d49e517",
      "side": "purchases",
      "rate": "11",
      "title": "Purchases at 11%",
      "yours": {
        "base": "38585.50",
        "vat": "4244.41"
      },
      "prefilled": {
        "base": "81156.90",
        "vat": "8927.26"
      },
      "difference": {
        "base": "-42571.40",
        "vat": "-4682.85",
        "percent": "-52.46"
      },
      "marked": true,
      "status": "explained",
      "differenceIds": [
        "50ad54ee-d206-4a82-a336-193ccffdc407",
        "766d779d-1961-487c-bed6-c5b78c5012df"
      ]
    }
  ],
  "nextCursor": null
}
```
