Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Received invoices

    The invoices your suppliers sent to your companies, as the gateway downloaded them.

    On this page

    List received invoices

    GET /efactura/v1/received-invoices

    Returns the invoices your suppliers sent to a company, as the gateway downloaded them, newest first, in pages.

    Parameters

    NameInTypeRequiredMeaning
    companyId query string (uuid) Yesrequired The company whose records you want. It is the id of a company of your account.
    issuedFrom query string (date) Nooptional Only invoices issued on or after this day.
    issuedTo query string (date) Nooptional Only invoices issued on or before this day.
    partnerCif query string Nooptional Only invoices of the supplier with this tax identifier.
    limit query integer Nooptional Records per page, from 1 to 500. Default 100 Range 1 – 500
    cursor query string Nooptional The nextCursor of the previous page.

    Responses

    StatusMeaningBody
    200 A page of received invoices. InvoicePage
    401 The token is missing, has expired or is not ours. Error
    403 The token does not give access to this company or operation. Error
    404 The company does not exist in your account. Error
    429 There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. Error
    503 The gateway cannot answer now. Error

    Request

    curl

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

    JavaScript

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

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/efactura/v1/received-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#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/efactura/v1/received-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": "76ddcaa0-d76e-4390-874b-16326621bd06",
          "companyId": "c6a26b8c-3323-4e7a-8611-f5a92f5e1a42",
          "number": "AC-2026-00354",
          "type": "invoice",
          "direction": "received",
          "partner": "Ambalaje Carpatin SRL",
          "partnerCif": "RO51603619",
          "issueDate": "2026-11-19",
          "dueDate": "2026-12-19",
          "reference": "",
          "correctionOf": null,
          "creditOf": null,
          "lines": [
            {
              "code": "AM-0518",
              "name": "Paper bags, pack of 100",
              "quantity": "40",
              "unitPrice": "13.13",
              "vatRate": "21",
              "net": "525.20"
            }
          ],
          "net": "525.20",
          "vatBreakdown": [
            {
              "rate": "21",
              "base": "525.20",
              "vat": "110.29"
            }
          ],
          "vat": "110.29",
          "total": "635.49",
          "currency": "RON",
          "status": "received",
          "uploadIndex": "4012600342",
          "revision": 1
        },
        {
          "id": "ab167aba-f40f-472d-b6d8-4ac18666df0c",
          "companyId": "c6a26b8c-3323-4e7a-8611-f5a92f5e1a42",
          "number": "BO-2026-01188",
          "type": "invoice",
          "direction": "received",
          "partner": "Brânzeturi Obcina SRL",
          "partnerCif": "RO51603546",
          "issueDate": "2026-11-18",
          "dueDate": "2026-12-18",
          "reference": "",
          "correctionOf": null,
          "creditOf": null,
          "lines": [
            {
              "code": "LA-0307",
              "name": "Cheese, 400 g",
              "quantity": "120",
              "unitPrice": "18.65",
              "vatRate": "11",
              "net": "2238.00"
            }
          ],
          "net": "2238.00",
          "vatBreakdown": [
            {
              "rate": "11",
              "base": "2238.00",
              "vat": "246.18"
            }
          ],
          "vat": "246.18",
          "total": "2484.18",
          "currency": "RON",
          "status": "received",
          "uploadIndex": "4012600231",
          "revision": 1
        },
        {
          "id": "d4b691b8-9fcb-48ee-b535-d6c4fb23d811",
          "companyId": "c6a26b8c-3323-4e7a-8611-f5a92f5e1a42",
          "number": "MV-2026-00731",
          "type": "invoice",
          "direction": "received",
          "partner": "Moara Vadului SRL",
          "partnerCif": "RO51603473",
          "issueDate": "2026-11-16",
          "dueDate": "2026-12-16",
          "reference": "",
          "correctionOf": null,
          "creditOf": null,
          "lines": [
            {
              "code": "FA-0010",
              "name": "White flour, 10 kg bag",
              "quantity": "200",
              "unitPrice": "38.90",
              "vatRate": "11",
              "net": "7780.00"
            }
          ],
          "net": "7780.00",
          "vatBreakdown": [
            {
              "rate": "11",
              "base": "7780.00",
              "vat": "855.80"
            }
          ],
          "vat": "855.80",
          "total": "8635.80",
          "currency": "RON",
          "status": "received",
          "uploadIndex": "4012600117",
          "revision": 1
        }
      ],
      "nextCursor": null
    }

    Get a received invoice

    GET /efactura/v1/received-invoices/{invoiceId}

    Parameters

    NameInTypeRequiredMeaning
    invoiceId path string (uuid) Yesrequired The invoice.

    Responses

    StatusMeaningBody
    200 The received invoice. Invoice
    401 The token is missing, has expired or is not ours. Error
    403 The token does not give access to this company or operation. Error
    404 The invoice does not exist in your account. Error
    429 There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. Error
    503 The gateway cannot answer now. Error

    Request

    curl

    curl "$RDC_BASE_URL/efactura/v1/received-invoices/76ddcaa0-d76e-4390-874b-16326621bd06" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/efactura/v1/received-invoices/76ddcaa0-d76e-4390-874b-16326621bd06`, {
      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"]}/efactura/v1/received-invoices/76ddcaa0-d76e-4390-874b-16326621bd06',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/efactura/v1/received-invoices/76ddcaa0-d76e-4390-874b-16326621bd06');
    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")}/efactura/v1/received-invoices/76ddcaa0-d76e-4390-874b-16326621bd06");
    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

    {
      "id": "76ddcaa0-d76e-4390-874b-16326621bd06",
      "companyId": "c6a26b8c-3323-4e7a-8611-f5a92f5e1a42",
      "number": "AC-2026-00354",
      "type": "invoice",
      "direction": "received",
      "partner": "Ambalaje Carpatin SRL",
      "partnerCif": "RO51603619",
      "issueDate": "2026-11-19",
      "dueDate": "2026-12-19",
      "reference": "",
      "correctionOf": null,
      "creditOf": null,
      "lines": [
        {
          "code": "AM-0518",
          "name": "Paper bags, pack of 100",
          "quantity": "40",
          "unitPrice": "13.13",
          "vatRate": "21",
          "net": "525.20"
        }
      ],
      "net": "525.20",
      "vatBreakdown": [
        {
          "rate": "21",
          "base": "525.20",
          "vat": "110.29"
        }
      ],
      "vat": "110.29",
      "total": "635.49",
      "currency": "RON",
      "status": "received",
      "uploadIndex": "4012600342",
      "revision": 1
    }