Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Change the salary

    Register a new monthly gross base salary for an active contract, check it against the minimum and submit it with a reason when its deadline has passed.

    On this page

    A change of salary is a register operation of kind change-salary. It carries the day the new salary takes effect and the amount, a decimal string in RON.

    Prepare the change

    The contract must be active, and the designated person must hold prepare for the employer. details.date is the day the salary changes, details.salary the new amount.

    Prepare a change of salary

    curl

    curl -X POST "$RDC_BASE_URL/reges/v1/register-operations" \
      -H "Authorization: Bearer $RDC_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
      "operationId": "0cc806be-0326-4e90-86e8-722abb9d61af",
      "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
      "kind": "change-salary",
      "contractId": "4fc60d72-3c1e-415c-a931-f0b21bfda436",
      "designatedPerson": "f3a70882-0da0-4686-bc0c-f29ce600bb0c",
      "details": {
        "date": "2026-10-26",
        "salary": "5600.00"
      }
    }'

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/register-operations`, {
      method: 'POST',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        "operationId": "0cc806be-0326-4e90-86e8-722abb9d61af",
        "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
        "kind": "change-salary",
        "contractId": "4fc60d72-3c1e-415c-a931-f0b21bfda436",
        "designatedPerson": "f3a70882-0da0-4686-bc0c-f29ce600bb0c",
        "details": {
          "date": "2026-10-26",
          "salary": "5600.00"
        }
      }),
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'POST',
        f'{os.environ["RDC_BASE_URL"]}/reges/v1/register-operations',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
        json={
            'operationId': '0cc806be-0326-4e90-86e8-722abb9d61af',
            'employerId': '6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0',
            'kind': 'change-salary',
            'contractId': '4fc60d72-3c1e-415c-a931-f0b21bfda436',
            'designatedPerson': 'f3a70882-0da0-4686-bc0c-f29ce600bb0c',
            'details': {
                'date': '2026-10-26',
                'salary': '5600.00',
            },
        },
    )
    result = response.json()

    PHP

    <?php
    
    $body = <<<'JSON'
    {
      "operationId": "0cc806be-0326-4e90-86e8-722abb9d61af",
      "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
      "kind": "change-salary",
      "contractId": "4fc60d72-3c1e-415c-a931-f0b21bfda436",
      "designatedPerson": "f3a70882-0da0-4686-bc0c-f29ce600bb0c",
      "details": {
        "date": "2026-10-26",
        "salary": "5600.00"
      }
    }
    JSON;
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/register-operations');
    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")}/reges/v1/register-operations");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    request.Content = new StringContent("""
    {
      "operationId": "0cc806be-0326-4e90-86e8-722abb9d61af",
      "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
      "kind": "change-salary",
      "contractId": "4fc60d72-3c1e-415c-a931-f0b21bfda436",
      "designatedPerson": "f3a70882-0da0-4686-bc0c-f29ce600bb0c",
      "details": {
        "date": "2026-10-26",
        "salary": "5600.00"
      }
    }
    """, System.Text.Encoding.UTF8, "application/json");
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 202

    {
      "operationId": "0cc806be-0326-4e90-86e8-722abb9d61af",
      "status": "accepted",
      "aggregateId": "27357abf-301f-4956-88af-73c842b85100",
      "aggregateRevision": 1
    }

    Correct a draft with editOperation: salary takes a decimal string, date takes a day. Each accepted edit runs the checks again.

    What is checked

    The guaranteed minimum gross base salary is 4,325 RON a month for a normal schedule of 166.667 hours a month, from 1 July 2026. The gateway scales the minimum by the weekly hours of the contract and checks the salary the contract will have after the change.

    CheckSeverityResult for the example
    minimum-salaryblockingThe base salary of 5,600.00 RON is not below the minimum of 4,325.00 RON for this weekly schedule.
    working-timeblocking40 hours a week is within the maximum of 40 hours.
    contract-stateblockingThe contract is active, which this operation allows.
    deadlineattentionWarns when the deadline has passed. It stops nothing; transmitting after it needs a reason.

    A salary below the minimum fails minimum-salary, which is blocking: validateOperation answers blocked_by_checks until you correct it.

    The deadline

    A change of the monthly gross base salary, allowances and other additions is transmitted within 20 working days of the date it takes effect. Working days are counted from the date of the event, which counts as day one when it is a working day. A change dated 26 October 2026 is due on 20 November 2026.

    Compute the deadline of a change of salary

    curl

    curl "$RDC_BASE_URL/reges/v1/deadlines?kind=change-salary&date=2026-10-26" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/deadlines?kind=change-salary&date=2026-10-26`, {
      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/deadlines?kind=change-salary&date=2026-10-26',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/deadlines?kind=change-salary&date=2026-10-26');
    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/deadlines?kind=change-salary&date=2026-10-26");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    {
      "date": "2026-11-20",
      "rule": "salary",
      "from": "2026-10-26",
      "workingDaysLeft": -1
    }

    A change of salary that follows a court decision has the shorter court term and its own courtDecision and learnedOn: see a change that follows a court decision.

    When the deadline has passed

    RG-2026-001471 is an approved change of salary dated 26 October 2026. Its deadline was 20 November 2026, so it is late. It can still be transmitted, but submitOperation then needs a reason; without one it answers reason_required.

    curl

    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

    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

    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
    
    $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#

    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

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

    The reason is kept on the operation as lateReason, and the entry of the history is marked late. The operation also shows in listLate until it is answered. See Late operations.

    Validate, approve, transmit

    1. Validate

      validateOperation with the expectedRevision you read.

    2. Approve

      authorizeOperation, by a designated person other than the one who prepared it.

    3. Record the transmission

      submitOperation, after a designated person who holds transmit sent it to the register.

    4. Record the answer

      recordAnswer with the reference of the register, or with its words if it rejects the change.

    See Lifecycle and statuses for every status of this path.

    The contract once it is registered

    When recordAnswer records registered, baseSalary changes from "5400.00" to "5600.00". Nothing else on the contract changes.

    The contract after the change is registered

    {
      "number": "CIM 0074/2018",
      "baseSalary": "5600.00",
      "currency": "RON"
    }