Periods and VAT schemes
A period is one company and one month. It carries the VAT scheme, the limits, the explanation file and the revision that every change names.
On this page
The period is the unit of every comparison in e‑TVA Check: one company, one month, and the two returns for it. The imports, the four rows, the differences, the documents and the explanation file all belong to a period. Open it once with openPeriod. A second period for the same company and month is refused with period_exists.
The month
The month is written YYYY-MM, for example 2026-09. The product compares one month at a time, and the pre-filled return and your postings are both read for that month. What the law says about the VAT period:
A period of e‑TVA Check is always one calendar month. A company that files by quarter opens the period for the last month of the quarter, for example 2026-12 for the last quarter of 2026, and imports the documents and the postings of the whole quarter into it.
The scheme
scheme records how the company accounts for VAT. The period carries it, and no amount of the comparison changes because of it: the same documents and postings are added under both values.
| Value | Meaning |
|---|---|
standard | The company accounts for VAT in the usual way. |
cash_accounting | The company uses VAT on cash accounting. |
What the law says about VAT on cash accounting:
What the period carries
companyId,monthandscheme: set when you open the period.prefilledOn: the day the pre-filled return arrived, set by the import of the pre-filled return. The return of a month arrives by the 5th of the second month after it: the one for2026-09by2026-11-05.postingsSource:ledgerorsaf-t, the source of the latest import of postings.limits: the amount and the percent that mark a row. See Return rows.summary: how many rows arealigned,explainedandto_review.file: the explanation file. See Reasons and explanations.revision: the number every change names.
The September period of Brumar Distribuție SRL is 2026-09, scheme standard. The pre-filled return arrived on 2026-11-04 and the postings come from the ledger. The limits are 100.00 lei and 5.00 percent, one row is aligned, one explained and two to_review.
curl
curl "$RDC_BASE_URL/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517" \
-H "Authorization: Bearer $RDC_TOKEN" JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517`, {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
},
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'GET',
f'{os.environ["RDC_BASE_URL"]}/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
)
result = response.json() PHP
<?php
$curl = curl_init(getenv('RDC_BASE_URL') . '/etva/v1/periods/79509f60-565a-40eb-a4c3-709e5d49e517');
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#
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");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); {
"id": "79509f60-565a-40eb-a4c3-709e5d49e517",
"companyId": "b61159f8-9c0b-4cdb-ac61-afb49517aae6",
"month": "2026-09",
"scheme": "standard",
"prefilledOn": "2026-11-04",
"postingsSource": "ledger",
"limits": {
"amountLimit": "100.00",
"percentLimit": "5.00"
},
"summary": {
"aligned": 1,
"explained": 1,
"toReview": 2
},
"file": {
"periodId": "79509f60-565a-40eb-a4c3-709e5d49e517",
"state": "draft",
"preparedBy": "ioana-marin",
"approvedBy": null,
"approvedAt": null,
"filedAt": null,
"explained": 3,
"toReview": 2,
"canApprove": false,
"revision": 1
},
"revision": 1
} Revision
Every accepted change under a period moves its revision by one: an import, new limits, an explanation, a reopened difference, a link, an approval, a withdrawal, the filing. Send the revision you read as expectedRevision with every change.
| Refused with | Code | Why |
|---|---|---|
409 | revision_conflict | The period changed after you read it. Nothing was applied. Read it again, decide whether the change still applies and send it with a new operationId. |
409 | file_locked | The explanation file is approved or filed, so the period takes no change. Withdraw the approval first; a filed file stays as it is. |
409 | period_exists | The company already has a period for this month. |
Open the next month the same way. The request carries the company, the month and the scheme.
curl
curl -X POST "$RDC_BASE_URL/etva/v1/periods" \
-H "Authorization: Bearer $RDC_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"operationId": "1c9ec2c0-b193-4230-afa2-187fd51040ce",
"companyId": "b61159f8-9c0b-4cdb-ac61-afb49517aae6",
"month": "2026-10",
"scheme": "standard"
}' JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/etva/v1/periods`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"operationId": "1c9ec2c0-b193-4230-afa2-187fd51040ce",
"companyId": "b61159f8-9c0b-4cdb-ac61-afb49517aae6",
"month": "2026-10",
"scheme": "standard"
}),
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'POST',
f'{os.environ["RDC_BASE_URL"]}/etva/v1/periods',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
json={
'operationId': '1c9ec2c0-b193-4230-afa2-187fd51040ce',
'companyId': 'b61159f8-9c0b-4cdb-ac61-afb49517aae6',
'month': '2026-10',
'scheme': 'standard',
},
)
result = response.json() PHP
<?php
$body = <<<'JSON'
{
"operationId": "1c9ec2c0-b193-4230-afa2-187fd51040ce",
"companyId": "b61159f8-9c0b-4cdb-ac61-afb49517aae6",
"month": "2026-10",
"scheme": "standard"
}
JSON;
$curl = curl_init(getenv('RDC_BASE_URL') . '/etva/v1/periods');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST',
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#
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/etva/v1/periods");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
"operationId": "1c9ec2c0-b193-4230-afa2-187fd51040ce",
"companyId": "b61159f8-9c0b-4cdb-ac61-afb49517aae6",
"month": "2026-10",
"scheme": "standard"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); {
"operationId": "1c9ec2c0-b193-4230-afa2-187fd51040ce",
"status": "accepted",
"aggregateId": "74859c26-2e95-422e-bfbd-fe95f1d0851d",
"aggregateRevision": 1
}