Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Periods and due dates

    How the API counts the day a return is due, and when a return can be built.

    On this page

    The day of the month

    A monthly return is filed by a fixed day of the following month: the 25th for the VAT return D300 and the recapitulative statement D390, the 30th for D394, and the last day of the month for the SAF-T return D406. The API reads these days from the rules of the authority, not from your software, so dueDate is always the day the product itself uses.

    A day that is not worked

    When the last day of a term is a Saturday, a Sunday or a public holiday, the term moves to the next working day. The product counts weekends and the public holidays of the Labour Code.

    The public holidays between 1 November 2026 and 31 March 2027 are 30 November 2026, 1 December 2026, 25 December 2026, 26 December 2026, 1 January 2027, 2 January 2027, 6 January 2027, 7 January 2027, 24 January 2027.

    The December term

    A term that ends on 25 December is brought forward to 21 December, or to the last working day before it when the 21th is not worked. It moves backwards, which is the one exception to the rule above. The VAT return and the recapitulative statement for November 2026 are therefore due on 21 December 2026.

    Worked examples

    ReturnPeriodDue dateWhy
    D300 and D390September 202626 October 2026The 25th is a Sunday, so the term moves to Monday.
    D300 and D390October 202625 November 2026The 25th is a working day.
    D394 and D406October 20262 December 2026The last day of the term, 30 November, and 1 December are public holidays, so the term moves to the next working day.
    D300 and D390November 202621 December 2026The term ends on 25 December and is brought forward.
    D394November 202630 December 2026The 30th is a working day.
    D406November 202631 December 2026The last day of December is a working day.

    When a return can be built

    A return for a period can be built only after the last day of the period. Before that the obligation exists and the return stays a draft; generateReturn answers period_open. The ledger of a period can change after a return is built, so every build records the snapshot it was made from. See Evidence.

    curl

    curl "$RDC_BASE_URL/declarations/v1/obligations?companyId=a79a302d-e7f0-4fde-9086-48c003b9709a&limit=20" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/declarations/v1/obligations?companyId=a79a302d-e7f0-4fde-9086-48c003b9709a&limit=20`, {
      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"]}/declarations/v1/obligations?companyId=a79a302d-e7f0-4fde-9086-48c003b9709a&limit=20',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/declarations/v1/obligations?companyId=a79a302d-e7f0-4fde-9086-48c003b9709a&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#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/declarations/v1/obligations?companyId=a79a302d-e7f0-4fde-9086-48c003b9709a&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

    {
      "items": [
        {
          "id": "254fd08e-0d65-4719-9e6f-a7d07db2a448",
          "companyId": "a79a302d-e7f0-4fde-9086-48c003b9709a",
          "form": "D300",
          "period": "2026-10",
          "dueDate": "2026-11-25",
          "status": "signed",
          "currentReturnId": "3b559a77-5de4-4b9a-9e2e-ca6625d123f2",
          "versions": 1
        },
        {
          "id": "2931b99e-afe1-44b0-8031-8ff16466c5b9",
          "companyId": "a79a302d-e7f0-4fde-9086-48c003b9709a",
          "form": "D390",
          "period": "2026-10",
          "dueDate": "2026-11-25",
          "status": "generated",
          "currentReturnId": "d595ff94-75e0-4dbf-8663-f53351cb08ae",
          "versions": 1
        },
        {
          "id": "43553e25-0119-4430-98ab-3fa7a9af0a50",
          "companyId": "a79a302d-e7f0-4fde-9086-48c003b9709a",
          "form": "D394",
          "period": "2026-10",
          "dueDate": "2026-12-02",
          "status": "rejected",
          "currentReturnId": "6e95eb18-450e-4cca-8671-f3edaaa04d8d",
          "versions": 1
        },
        {
          "id": "5b37c7a3-d395-4aff-9e1c-db383b74e36d",
          "companyId": "a79a302d-e7f0-4fde-9086-48c003b9709a",
          "form": "D406",
          "period": "2026-10",
          "dueDate": "2026-12-02",
          "status": "authorized",
          "currentReturnId": "6e1e206c-d65e-48d6-8fa8-628da226d100",
          "versions": 1
        }
      ],
      "nextCursor": null
    }