---
title: "Locations | Docs | e-Transport Gateway by R&D Copilot"
description: "Where a transport starts and where it ends: a border crossing, a customs office or an address in Romania."
canonical: "https://etransport.rdcopilot.com/docs/declarations/locations/"
language: en
updated: 2026-11-22
---

# Locations

Where a transport starts and where it ends: a border crossing, a customs office or an address in Romania.

A declaration has two places, `from` (where the route starts) and `to` (where it ends). Each place is of exactly one kind, named in `kind`, and carries the fields of that kind.

## The three kinds

| kind | Authority’s word | Where | Fields |
| --- | --- | --- | --- |
| `border_crossing` | `PTF` | A road border crossing, on the way in or out of Romania. | `crossing` |
| `customs_office` | `BV` | A customs office in Romania, where the customs formalities take place. | `office` |
| `address` | `ADR` | A place in Romania that is neither of the two: a warehouse, a shop, a yard. | `county, locality, street, number, notes` |

## An address

| Field | Rule |
| --- | --- |
| `county` | Required. The code of the county, from the table below. |
| `locality` | Required, 2 to 100 characters. |
| `street` | Required, 2 to 100 characters. |
| `number` | Optional, at most 20 characters. |
| `notes` | Optional, at most 200 characters: a ramp, a gate, a hall. |

An address

```json
{
  "kind": "address",
  "county": 27,
  "locality": "Piatra-Neamț",
  "street": "Str. Depozitelor",
  "number": null,
  "notes": "Rampa 4"
}
```

## Border crossings

A border crossing is given by its code. Ask the gateway for the list, or read it here; the names are the authority’s, with the neighbouring country in brackets.

curl

```bash
curl "$RDC_BASE_URL/etransport/v1/border-crossings?limit=20" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/etransport/v1/border-crossings?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"]}/etransport/v1/border-crossings?limit=20',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/etransport/v1/border-crossings?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")}/etransport/v1/border-crossings?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": [
    {
      "code": 1,
      "name": "Petea (HU)"
    },
    {
      "code": 2,
      "name": "Borș (HU)"
    },
    {
      "code": 3,
      "name": "Vărșand (HU)"
    },
    {
      "code": 4,
      "name": "Nădlac (HU)"
    }
  ],
  "nextCursor": "crossings-4"
}
```

| Code | Border crossing |
| --- | --- |
| `1` | Petea (HU) |
| `2` | Borș (HU) |
| `3` | Vărșand (HU) |
| `4` | Nădlac (HU) |
| `5` | Calafat (BG) |
| `6` | Bechet (BG) |
| `7` | Turnu Măgurele (BG) |
| `8` | Zimnicea (BG) |
| `9` | Giurgiu (BG) |
| `10` | Ostrov (BG) |
| `11` | Negru Vodă (BG) |
| `12` | Vama Veche (BG) |
| `13` | Călărași (BG) |
| `14` | Corabia (BG) |
| `15` | Oltenița (BG) |
| `16` | Carei (HU) |
| `17` | Cenad (HU) |
| `18` | Episcopia Bihor (HU) |
| `19` | Salonta (HU) |
| `20` | Săcuieni (HU) |
| `21` | Turnu (HU) |
| `22` | Urziceni (HU) |
| `23` | Valea lui Mihai (HU) |
| `24` | Vladimirescu (HU) |
| `25` | Porțile de Fier 1 (RS) |
| `26` | Naidăș (RS) |
| `27` | Stamora Moravița (RS) |
| `28` | Jimbolia (RS) |
| `29` | Halmeu (UA) |
| `30` | Stânca Costești (MD) |
| `31` | Sculeni (MD) |
| `32` | Albița (MD) |
| `33` | Oancea (MD) |
| `34` | Galați Giurgiulești (MD) |
| `35` | Constanța Sud Agigea (-) |
| `36` | Siret (UA) |
| `37` | Nădlac 2 - A1 (HU) |
| `38` | Borș 2 - A3 (HU) |

## Customs offices

A customs office is given by its code too. Ask the gateway for the customs offices it knows and let your users pick by name.

curl

```bash
curl "$RDC_BASE_URL/etransport/v1/customs-offices?limit=20" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/etransport/v1/customs-offices?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"]}/etransport/v1/customs-offices?limit=20',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/etransport/v1/customs-offices?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")}/etransport/v1/customs-offices?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": [
    {
      "code": 12801,
      "name": "BVI Alba Iulia (ROBV0300)"
    },
    {
      "code": 22801,
      "name": "BVI Arad (ROTM0200)"
    },
    {
      "code": 22901,
      "name": "BVF Arad Aeroport (ROTM0230)"
    }
  ],
  "nextCursor": "offices-3"
}
```

## County codes

| Code | County |
| --- | --- |
| `1` | Alba |
| `2` | Arad |
| `3` | Argeș |
| `4` | Bacău |
| `5` | Bihor |
| `6` | Bistrița-Năsăud |
| `7` | Botoșani |
| `8` | Brașov |
| `9` | Brăila |
| `10` | Buzău |
| `11` | Caraș-Severin |
| `51` | Călărași |
| `12` | Cluj |
| `13` | Constanța |
| `14` | Covasna |
| `16` | Dolj |
| `15` | Dâmbovița |
| `17` | Galați |
| `52` | Giurgiu |
| `18` | Gorj |
| `19` | Harghita |
| `20` | Hunedoara |
| `21` | Ialomița |
| `22` | Iași |
| `23` | Ilfov |
| `24` | Maramureș |
| `25` | Mehedinți |
| `40` | Municipiul București |
| `26` | Mureș |
| `27` | Neamț |
| `28` | Olt |
| `29` | Prahova |
| `30` | Satu Mare |
| `32` | Sibiu |
| `33` | Suceava |
| `31` | Sălaj |
| `34` | Teleorman |
| `35` | Timiș |
| `36` | Tulcea |
| `37` | Vaslui |
| `39` | Vrancea |
| `38` | Vâlcea |

## Where a route may not start or end

The operation type decides at which end of the route a border crossing is not accepted. A rule broken here is a check of severity `error`: `route_start_border` or `route_end_border`.

| Type | No border crossing at |
| --- | --- |
| `AIC` | neither end |
| `LHI` | the end |
| `SCI` | the end |
| `LIC` | the start |
| `LHE` | the start |
| `SCE` | the start |
| `TTN` | the start and the end |
| `IMP` | the end |
| `EXP` | the start |
| `DIN` | the end |
| `DIE` | the start |

The other types have their own limits, listed in [Operation types and required fields](https://etransport.rdcopilot.com/docs/declarations/operation-types-and-required-fields/). A place that is missing is the check `route_start` or `route_end`.
