Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    The driver sheet

    What the driver carries: the UIT code, the plates, the route, the goods and the days the code is valid, as data your software can print.

    On this page

    The driver sheet is what the driver carries: the UIT code with the plates, the route, the goods and the documents of the transport, in one request, as data your software can print.

    curl

    curl "$RDC_BASE_URL/etransport/v1/declarations/4533692d-469c-4b70-acdb-d1a9a4a0f54f/driver-sheet" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/etransport/v1/declarations/4533692d-469c-4b70-acdb-d1a9a4a0f54f/driver-sheet`, {
      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"]}/etransport/v1/declarations/4533692d-469c-4b70-acdb-d1a9a4a0f54f/driver-sheet',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/etransport/v1/declarations/4533692d-469c-4b70-acdb-d1a9a4a0f54f/driver-sheet');
    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")}/etransport/v1/declarations/4533692d-469c-4b70-acdb-d1a9a4a0f54f/driver-sheet");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    {
      "declarationId": "4533692d-469c-4b70-acdb-d1a9a4a0f54f",
      "uit": "4F7K2Q9M8X1D6383",
      "reference": "LIV-2026-01842",
      "operationType": "TTN",
      "vehicle": "ZZ21BRM",
      "trailers": [],
      "validFrom": "2026-11-23",
      "lastValidDay": "2026-11-27",
      "from": {
        "kind": "address",
        "county": 27,
        "locality": "Piatra-Neamț",
        "street": "Str. Depozitelor",
        "number": null,
        "notes": "Rampa 4"
      },
      "to": {
        "kind": "address",
        "county": 27,
        "locality": "Târgu Neamț",
        "street": "Str. Principală",
        "number": null,
        "notes": null
      },
      "goods": [
        {
          "name": "Cartofi albi, sac de 25 kg",
          "quantity": "6",
          "unit": "XBG",
          "grossMass": "151.80"
        },
        {
          "name": "Ceapă galbenă, plasă de 10 kg",
          "quantity": "4",
          "unit": "XBG",
          "grossMass": "40.60"
        },
        {
          "name": "Morcovi, sac de 10 kg",
          "quantity": "4",
          "unit": "XBG",
          "grossMass": "40.60"
        },
        {
          "name": "Mere Golden, ladă de 12 kg",
          "quantity": "8",
          "unit": "XCR",
          "grossMass": "103.20"
        },
        {
          "name": "Apă minerală plată, 2 l, set de 6",
          "quantity": "10",
          "unit": "XPK",
          "grossMass": "127.00"
        },
        {
          "name": "Băutură carbogazoasă îndulcită, 2 l, set de 6",
          "quantity": "3",
          "unit": "XPK",
          "grossMass": "38.10"
        }
      ],
      "documents": [
        {
          "type": "delivery_note",
          "number": "AV-1042",
          "date": "2026-11-23"
        },
        {
          "type": "invoice",
          "number": "BRD-2026-00418",
          "date": "2026-11-23"
        }
      ],
      "totals": {
        "lines": 6,
        "grossMass": "501.30",
        "value": "1176.00"
      }
    }

    What the sheet holds

    FieldWhat it says
    uitThe UIT code, 16 characters. Print it large and in a monospace face. It never contains the letters O, I, Z, S, G and B, which look like digits.
    vehicle, trailersThe plates the vehicle carries now. After a vehicle change they are the new ones.
    from, toThe start and the end of the route, as places: a border crossing, a customs office or an address.
    goodsThe name, the quantity, the unit and the gross mass of each line.
    documentsThe transport documents that go with the goods: type, number and date.
    validFrom, lastValidDayThe first and the last day the code is valid. See UIT validity and timing.
    totalsThe number of lines, the gross mass and the value without VAT.
    reference, operationTypeYour own reference and the operation type, so the sheet matches your delivery.

    When it exists

    The sheet exists for a declaration that is accepted and whose validity has not ended. For a draft, a rejected, a deleted or an expired declaration the request is refused with driver_sheet_not_found.

    The sheet is read from the gateway and printed from the data. The gateway does not send it to the authority.

    One line of the goods, as the sheet carries it

    {
      "name": "Cartofi albi, sac de 25 kg",
      "quantity": "6",
      "unit": "XBG",
      "grossMass": "151.80"
    }