---
title: "Reconcile with the authority’s list | Docs | e-Factura Gateway by R&D Copilot"
description: "Check at the end of a period that your records, the gateway and the authority agree, and settle what does not."
canonical: "https://efactura.rdcopilot.com/docs/events/reconcile/"
language: en
updated: 2026-11-22
---

# Reconcile with the authority’s list

Check at the end of a period that your records, the gateway and the authority agree, and settle what does not.

Events tell you what changed, and a delivery can be late, repeated or parked. A reconciliation does not depend on them: it compares your records with what the gateway holds for a period, invoice by invoice, and settles every difference. Run it on a schedule of your own, for example at the end of every day or period.

## The steps

1.  Take the invoices you expect
    
    From your own records: the numbers of the invoices and credit notes issued in the period for the company.
    
2.  Read what the gateway holds
    
    List the sent invoices of the company with `issuedFrom` and `issuedTo` and follow the cursor to the end. See [Pagination](https://efactura.rdcopilot.com/docs/reference/pagination/).
    
3.  Compare by number
    
    Every number you expect must be in the list, and every number in the list must be one you expect.
    
4.  Settle each status
    
    Use the table below.
    
5.  Settle the deliveries
    
    List the deliveries in the state `parked` and replay them once your endpoint answers. See [Replay](https://efactura.rdcopilot.com/docs/events/replay/).
    

curl

```bash
curl "$RDC_BASE_URL/efactura/v1/invoices?companyId=c6a26b8c-3323-4e7a-8611-f5a92f5e1a42&limit=20" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/efactura/v1/invoices?companyId=c6a26b8c-3323-4e7a-8611-f5a92f5e1a42&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"]}/efactura/v1/invoices?companyId=c6a26b8c-3323-4e7a-8611-f5a92f5e1a42&limit=20',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/efactura/v1/invoices?companyId=c6a26b8c-3323-4e7a-8611-f5a92f5e1a42&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")}/efactura/v1/invoices?companyId=c6a26b8c-3323-4e7a-8611-f5a92f5e1a42&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": [
    {
      "id": "5081abd5-935d-4688-b961-0715c149fbd1",
      "companyId": "c6a26b8c-3323-4e7a-8611-f5a92f5e1a42",
      "number": "FCT-2026-00425",
      "type": "invoice",
      "direction": "sent",
      "partner": "Cofetăria Vălul Alb SRL",
      "partnerCif": "RO39172614",
      "issueDate": "2026-11-23",
      "dueDate": "2026-12-23",
      "reference": "CV-1048",
      "correctionOf": null,
      "creditOf": null,
      "lines": [
        {
          "code": "FA-0010",
          "name": "White flour, 10 kg bag",
          "quantity": "12",
          "unitPrice": "38.90",
          "vatRate": "11",
          "net": "466.80"
        },
        {
          "code": "ZA-0201",
          "name": "Sugar, 1 kg",
          "quantity": "30",
          "unitPrice": "4.29",
          "vatRate": "11",
          "net": "128.70"
        }
      ],
      "net": "595.50",
      "vatBreakdown": [
        {
          "rate": "11",
          "base": "595.50",
          "vat": "65.51"
        }
      ],
      "vat": "65.51",
      "total": "661.01",
      "currency": "RON",
      "status": "draft",
      "uploadIndex": null,
      "revision": 1
    },
    {
      "id": "ab7f7203-2bf2-4131-8b1b-34041c1afe3d",
      "companyId": "c6a26b8c-3323-4e7a-8611-f5a92f5e1a42",
      "number": "FCT-2026-00424",
      "type": "invoice",
      "direction": "sent",
      "partner": "Market Trei Brazi SRL",
      "partnerCif": "39172851",
      "issueDate": "2026-11-23",
      "dueDate": "2026-12-23",
      "reference": "",
      "correctionOf": null,
      "creditOf": null,
      "lines": [
        {
          "code": "FA-0010",
          "name": "White flour, 10 kg bag",
          "quantity": "30",
          "unitPrice": "38.90",
          "vatRate": "11",
          "net": "1167.00"
        },
        {
          "code": "DT-0412",
          "name": "Dishwashing liquid, 5 l",
          "quantity": "8",
          "unitPrice": "23.47",
          "vatRate": "19",
          "net": "187.76"
        }
      ],
      "net": "1354.76",
      "vatBreakdown": [
        {
          "rate": "19",
          "base": "187.76",
          "vat": "35.67"
        },
        {
          "rate": "11",
          "base": "1167.00",
          "vat": "128.37"
        }
      ],
      "vat": "164.04",
      "total": "1518.80",
      "currency": "RON",
      "status": "draft",
      "uploadIndex": null,
      "revision": 1
    }
  ],
  "nextCursor": null
}
```

## Settle each status

| Status | What it means for the reconciliation |
| --- | --- |
| `accepted` | Settled. Keep the `uploadIndex` and the `sha256` of the stored record. |
| `rejected` | Not settled until a correction is `accepted`. Follow `correctionOf`. See [Corrections](https://efactura.rdcopilot.com/docs/send/corrections/). |
| `submitted` | Uploaded, not answered. Ask the authority now, and read again. |
| `processing` | The authority is checking it. Ask the authority now, and read again. |
| `manual_review` | Unknown outcome. A person checks, then sends it again. See [When the authority is unavailable](https://efactura.rdcopilot.com/docs/statuses-and-errors/authority-unavailable/). |
| `draft` | Never sent. Read its checks, fix it and send it, or drop it from your records. |

## Received invoices

For purchases, synchronise the company, read the received invoices of the period and compare them with the invoices your suppliers should have sent. An invoice you expected and did not get is for the supplier or the authority to explain; the gateway holds only what the authority lists. See [Sync received invoices](https://efactura.rdcopilot.com/docs/receive/sync-received-invoices/).
