Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Extracts and the late list

    The submission log of an employer and its late list: what each row means and how to use them as an audit trail of what was transmitted.

    On this page

    Two lists show an employer’s register operations from the side of the audit: the submission log, which says what was transmitted, by whom and what the register answered, and the late list, which says what is past its deadline. Both read one employer at a time.

    The submission log

    listSubmissions returns one row for each transmission recorded with submitOperation or resubmitOperation, newest first. An operation transmitted twice has two rows.

    curl

    curl "$RDC_BASE_URL/reges/v1/extracts/submissions?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&limit=20" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/extracts/submissions?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&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"]}/reges/v1/extracts/submissions?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&limit=20',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/extracts/submissions?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&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")}/reges/v1/extracts/submissions?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&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": [
        {
          "registerOperationId": "a19627dd-ae3d-486b-8ba9-07fba95000e4",
          "number": "RG-2026-001466",
          "kind": "change-terms",
          "employee": "Andrei Pop",
          "by": {
            "id": "b5192196-cb10-4857-a91d-e1eae8a64953",
            "name": "Maria Costea"
          },
          "at": "2026-11-06T10:45:00Z",
          "late": false,
          "lateReason": null,
          "result": "rejected"
        },
        {
          "registerOperationId": "1453a253-8c3c-41cc-99e0-23855a04de29",
          "number": "RG-2026-001479",
          "kind": "change-salary",
          "employee": "Ioana Marin",
          "by": {
            "id": "b5192196-cb10-4857-a91d-e1eae8a64953",
            "name": "Maria Costea"
          },
          "at": "2026-11-02T09:40:00Z",
          "late": false,
          "lateReason": null,
          "result": "registered"
        },
        {
          "registerOperationId": "6038dc67-c611-4f34-aa24-804b2dbecc80",
          "number": "RG-2026-001302",
          "kind": "hire",
          "employee": "Vlad Munteanu",
          "by": {
            "id": "b5192196-cb10-4857-a91d-e1eae8a64953",
            "name": "Maria Costea"
          },
          "at": "2026-08-26T08:15:00Z",
          "late": false,
          "lateReason": null,
          "result": "registered"
        }
      ],
      "nextCursor": null
    }

    FieldMeaning
    registerOperationIdThe operation that was transmitted. Read it with getRegisterOperation.
    number, kind, employeeThe number of the operation, what it does and the name of the employee.
    byThe designated person who transmitted it.
    atWhen the transmission was recorded.
    late, lateReasonlate is true when the transmission was after the deadline; lateReason is the reason that was given, else null.
    resultregistered or rejected once the register has answered the latest transmission of the operation, pending before, and for an earlier transmission of an operation that was transmitted again.

    In the example, the newest row is RG-2026-001466, a change of terms transmitted by Maria Costea on 6 November 2026 at 10:45 UTC. Its result is rejected.

    The late list

    listLate returns the operations that are still open and past their deadline, the oldest deadline first. A row leaves the list when the operation is no longer open. See Late operations.

    curl

    curl "$RDC_BASE_URL/reges/v1/extracts/late?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&limit=20" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/extracts/late?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&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"]}/reges/v1/extracts/late?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&limit=20',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/extracts/late?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&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")}/reges/v1/extracts/late?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&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": [
        {
          "registerOperationId": "27357abf-301f-4956-88af-73c842b85100",
          "number": "RG-2026-001471",
          "kind": "change-salary",
          "employee": "Mihai Stan",
          "deadline": "2026-11-20",
          "workingDaysLate": 1,
          "status": "authorized",
          "lateReason": null
        }
      ],
      "nextCursor": null
    }

    FieldMeaning
    registerOperationId, number, kind, employeeThe operation, as in the submission log.
    deadlineThe day the operation was due. See Deadline per operation.
    workingDaysLateWorking days since the deadline.
    statusThe status of the operation. See Lifecycle and statuses.
    lateReasonThe reason recorded for the delay, else null.

    In the example, RG-2026-001471, a change of salary for Mihai Stan, was due on Friday 20 November 2026. It is 1 working day late, and its status is authorized.

    Filters and pages

    Both lists take employerId, which is required, and the paging parameters limit and cursor. See Pagination. They have no other filter. To narrow by status, kind or deadline, ask listRegisterOperations with status, kind, dueBefore or late.

    Use them as an audit trail

    • Read the submission log to show what was transmitted for an employer, by which designated person and when. Every row points to its operation with registerOperationId.
    • Read what the register answered on the operation: reference for registered, and for rejected the register’s words in rejection, kept unchanged.
    • Read the late list to see which operations are past their deadline and still waiting to be transmitted.
    • To be told when a transmission or an answer is recorded, subscribe to the events. See the event catalogue.