---
title: "Approvals | Docs | Tax Filing by R&D Copilot"
description: "Who may approve a return, what blocks the approval, and what is recorded."
canonical: "https://declarations.rdcopilot.com/docs/concepts/approvals/"
language: en
updated: 2026-11-22
---

# Approvals

Who may approve a return, what blocks the approval, and what is recorded.

An approval turns a signed return into an `authorized` one and is the last step before filing. The product records the approver and the time, and the approval stays with the return: [getApproval](https://declarations.rdcopilot.com/docs/api-reference/approvals/#get-approval) returns it.

## The rules

-   The approver holds the approval right. Another person is refused with `not_an_approver`.
-   The approver did not sign the return. The same person is refused with `self_approval`.
-   No error finding remains. Otherwise the answer is `blocked_by_findings` and nothing changes. A warning does not block.
-   The return is `signed`. Any other status is refused with `invalid_status`.

curl

```bash
curl -X POST "$RDC_BASE_URL/declarations/v1/returns/3b559a77-5de4-4b9a-9e2e-ca6625d123f2/approval" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "36ef1b08-90df-4b5d-946f-33b8ad4f29ed",
  "expectedRevision": 7,
  "approvedBy": "a0eaa217-d9ed-4f3e-b95a-c4b3176cf035"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/declarations/v1/returns/3b559a77-5de4-4b9a-9e2e-ca6625d123f2/approval`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "36ef1b08-90df-4b5d-946f-33b8ad4f29ed",
    "expectedRevision": 7,
    "approvedBy": "a0eaa217-d9ed-4f3e-b95a-c4b3176cf035"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/declarations/v1/returns/3b559a77-5de4-4b9a-9e2e-ca6625d123f2/approval',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '36ef1b08-90df-4b5d-946f-33b8ad4f29ed',
        'expectedRevision': 7,
        'approvedBy': 'a0eaa217-d9ed-4f3e-b95a-c4b3176cf035',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "36ef1b08-90df-4b5d-946f-33b8ad4f29ed",
  "expectedRevision": 7,
  "approvedBy": "a0eaa217-d9ed-4f3e-b95a-c4b3176cf035"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/declarations/v1/returns/3b559a77-5de4-4b9a-9e2e-ca6625d123f2/approval');
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")}/declarations/v1/returns/3b559a77-5de4-4b9a-9e2e-ca6625d123f2/approval");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "36ef1b08-90df-4b5d-946f-33b8ad4f29ed",
  "expectedRevision": 7,
  "approvedBy": "a0eaa217-d9ed-4f3e-b95a-c4b3176cf035"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "36ef1b08-90df-4b5d-946f-33b8ad4f29ed",
  "status": "accepted",
  "aggregateId": "3b559a77-5de4-4b9a-9e2e-ca6625d123f2",
  "aggregateRevision": 8
}
```

## When an error appears later

The findings of a return depend on the other forms of its period. If the recapitulative statement is rebuilt after the VAT return was signed and the two no longer agree, the VAT return cannot be approved until they agree again. Rebuild the form that is behind, here the VAT return, validate it and sign it again, and the block lifts. [Validate before approval](https://declarations.rdcopilot.com/docs/guides/validate-before-approval/) walks through it.

An approved return is filed as it was approved and is not rebuilt. A change in the ledger after the approval is handled by a correction once the authority has answered.
