---
title: "Late operations | Docs | REGES Gateway by R&D Copilot"
description: "How to list the operations that are past their deadline, what a late transmission needs and how to watch deadlines before they pass."
canonical: "https://reges.rdcopilot.com/docs/deadlines/late-operations/"
language: en
updated: 2026-11-22
---

# Late operations

How to list the operations that are past their deadline, what a late transmission needs and how to watch deadlines before they pass.

An operation that is still open after its deadline is late. This page shows how to find the late operations, what the gateway asks for when one is transmitted after its deadline and how to see deadlines coming.

## What makes an operation late

An operation is open while its status is one of `draft`, `validated`, `authorized`, `manual_review`. It is late when it is open and its deadline is before today: `late` is `true` and `workingDaysLeft` of its `deadline` is negative. Once the operation is `submitted`, it is no longer open, so it is no longer late, whenever it was transmitted.

In the examples, RG-2026-001471 is a change of salary that was approved and never transmitted. It was due on Friday 20 November 2026.

## List the late operations

`listLate` returns the late operations of an employer, the oldest deadline first, with the working days since the deadline. Every row of the answer is explained in [Extracts and the late list](https://reges.rdcopilot.com/docs/statuses-and-errors/extracts-and-the-late-list/).

curl

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

JavaScript

```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

```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
<?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#

```csharp
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

```json
{
  "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
}
```

To get the whole operation instead of a row, ask `listRegisterOperations` with `late` set to `true`. You can narrow it further with `status` and `kind`.

The late operations as register operations

curl

```bash
curl "$RDC_BASE_URL/reges/v1/register-operations?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&late=true" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

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

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/register-operations?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&late=true');
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")}/reges/v1/register-operations?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&late=true");
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": "27357abf-301f-4956-88af-73c842b85100",
      "number": "RG-2026-001471",
      "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
      "contractId": "4fc60d72-3c1e-415c-a931-f0b21bfda436",
      "employee": "Mihai Stan",
      "kind": "change-salary",
      "status": "authorized",
      "date": "2026-10-26",
      "until": null,
      "deadline": {
        "date": "2026-11-20",
        "rule": "salary",
        "from": "2026-10-26",
        "workingDaysLeft": -1
      },
      "late": true,
      "details": {
        "date": "2026-10-26",
        "salary": "5600.00"
      },
      "preparedBy": {
        "id": "f3a70882-0da0-4686-bc0c-f29ce600bb0c",
        "name": "Elena Dumitru"
      },
      "authorizedBy": {
        "id": "c403d6ca-4254-4be4-8781-6be8b95a3de0",
        "name": "Ana Rusu"
      },
      "transmittedBy": null,
      "reference": null,
      "rejection": null,
      "lateReason": null,
      "correctionOf": null,
      "attempts": 0,
      "history": [
        {
          "status": "draft",
          "at": "2026-10-27T10:02:00Z",
          "by": {
            "id": "f3a70882-0da0-4686-bc0c-f29ce600bb0c",
            "name": "Elena Dumitru"
          },
          "reference": null,
          "message": null,
          "reason": null,
          "late": false
        },
        {
          "status": "validated",
          "at": "2026-10-27T10:10:00Z",
          "by": null,
          "reference": null,
          "message": null,
          "reason": null,
          "late": false
        },
        {
          "status": "authorized",
          "at": "2026-10-28T11:30:00Z",
          "by": {
            "id": "c403d6ca-4254-4be4-8781-6be8b95a3de0",
            "name": "Ana Rusu"
          },
          "reference": null,
          "message": null,
          "reason": null,
          "late": false
        }
      ],
      "revision": 3
    }
  ],
  "nextCursor": null
}
```

## Transmit after the deadline

A late operation can still be transmitted. The gateway asks for the reason and keeps it.

1.  Check that it is late
    
    Read the checks with `listChecks`. The `deadline` check does not pass and tells you by how many working days the deadline passed. It is an attention check: it stops nothing.
    
2.  Record the transmission with a reason
    
    The designated person transmits with the employer’s access, then your software records it with `submitOperation` and the `reason` the person gives. A transmission on the day of the deadline is on time; from the next day it is late.
    

curl

```bash
curl -X POST "$RDC_BASE_URL/reges/v1/register-operations/27357abf-301f-4956-88af-73c842b85100/submit" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "4387ad28-fee6-449b-83f5-c31574533646",
  "expectedRevision": 3,
  "designatedPerson": "b5192196-cb10-4857-a91d-e1eae8a64953",
  "reason": "The employer’s access to the register had expired and was renewed first."
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/register-operations/27357abf-301f-4956-88af-73c842b85100/submit`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "4387ad28-fee6-449b-83f5-c31574533646",
    "expectedRevision": 3,
    "designatedPerson": "b5192196-cb10-4857-a91d-e1eae8a64953",
    "reason": "The employer’s access to the register had expired and was renewed first."
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/reges/v1/register-operations/27357abf-301f-4956-88af-73c842b85100/submit',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '4387ad28-fee6-449b-83f5-c31574533646',
        'expectedRevision': 3,
        'designatedPerson': 'b5192196-cb10-4857-a91d-e1eae8a64953',
        'reason': 'The employer’s access to the register had expired and was renewed first.',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "4387ad28-fee6-449b-83f5-c31574533646",
  "expectedRevision": 3,
  "designatedPerson": "b5192196-cb10-4857-a91d-e1eae8a64953",
  "reason": "The employer’s access to the register had expired and was renewed first."
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/register-operations/27357abf-301f-4956-88af-73c842b85100/submit');
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#

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

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/reges/v1/register-operations/27357abf-301f-4956-88af-73c842b85100/submit");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "4387ad28-fee6-449b-83f5-c31574533646",
  "expectedRevision": 3,
  "designatedPerson": "b5192196-cb10-4857-a91d-e1eae8a64953",
  "reason": "The employer’s access to the register had expired and was renewed first."
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "4387ad28-fee6-449b-83f5-c31574533646",
  "status": "accepted",
  "aggregateId": "27357abf-301f-4956-88af-73c842b85100",
  "aggregateRevision": 4
}
```

After the deadline, a request without `reason` is refused with `409` and `reason_required`, and nothing changes. `resubmitOperation` follows the same rule.

The reason stays on the operation as `lateReason`, and the history entry of the transmission has `late` set to `true` with the same `reason`. `listSubmissions` marks the transmission as late as well.

What the operation keeps

```json
{
  "status": "submitted",
  "late": false,
  "lateReason": "The employer’s access to the register had expired and was renewed first.",
  "history": [
    {
      "status": "submitted",
      "at": "2026-11-23T07:20:00Z",
      "by": {
        "id": "b5192196-cb10-4857-a91d-e1eae8a64953",
        "name": "Maria Costea"
      },
      "reference": null,
      "message": null,
      "reason": "The employer’s access to the register had expired and was renewed first.",
      "late": true
    }
  ]
}
```

## Watch deadlines

-   Read `workingDaysLeft` in the `deadline` of an operation. It is `0` on the day of the deadline and negative after it.
-   Ask `listRegisterOperations` with `dueBefore` for the operations whose deadline is before a day you choose. The open ones come first, soonest deadline first.
-   Call `listLate` on a schedule of your own to find what has already passed.
