Journal entries
Read the entries that were posted, with their lines and their links to the source document and to a reversal.
On this page
List journal entries
GET /accounting/v1/journal-entries
Returns the entries of your company in the order they were posted. Filter by period and by account to read the ledger of one account for a report.
Parameters
| Name | In | Type | Required | Meaning |
|---|---|---|---|---|
period | query | string | Nooptional | Only entries of this month, as YYYY-MM. |
account | query | string | Nooptional | Only entries that have a line on this account number. |
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
| Status | Meaning | Body |
|---|---|---|
200 | A page of journal entries. | JournalEntryPage |
401 | The token is missing, has expired or is not ours. | Error |
403 | The token does not give access to this account or company, or customerOrgId or legalCompanyId in the body is not the one of the token. | Error |
429 | There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. | Error |
503 | The service cannot answer now. | Error |
Request
curl
curl "$RDC_BASE_URL/accounting/v1/journal-entries?limit=20" \
-H "Authorization: Bearer $RDC_TOKEN" JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/accounting/v1/journal-entries?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"]}/accounting/v1/journal-entries?limit=20',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
)
result = response.json() PHP
<?php
$curl = curl_init(getenv('RDC_BASE_URL') . '/accounting/v1/journal-entries?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")}/accounting/v1/journal-entries?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
{
"items": [
{
"id": "d75fc649-ee06-4dfb-ab83-94b5f1209aa8",
"number": "JE-2026-10-0008",
"entryDate": "2026-10-21",
"period": "2026-10",
"sourceDocumentId": "58572830-d5ca-43ff-bd1d-d7ca383d5c65",
"lines": [
{
"account": "381",
"accountName": "Packaging",
"debit": "4128.70",
"credit": "0.00"
},
{
"account": "4426",
"accountName": "Deductible VAT",
"debit": "867.03",
"credit": "0.00"
},
{
"account": "401",
"accountName": "Suppliers",
"debit": "0.00",
"credit": "4995.73"
}
],
"reversalOf": null,
"reversedBy": null,
"reason": null,
"postedAt": "2026-11-23T07:12:00Z",
"aggregateRevision": 1
},
{
"id": "be93efbb-7696-451e-9757-2c6130bc0961",
"number": "JE-2026-10-0007",
"entryDate": "2026-10-23",
"period": "2026-10",
"sourceDocumentId": "0fa461df-17e9-4046-a839-65b26aa6b3e8",
"lines": [
{
"account": "4423",
"accountName": "VAT payable",
"debit": "41380.00",
"credit": "0.00"
},
{
"account": "5121",
"accountName": "Bank accounts in lei",
"debit": "0.00",
"credit": "41380.00"
}
],
"reversalOf": null,
"reversedBy": null,
"reason": null,
"postedAt": "2026-10-23T14:21:00Z",
"aggregateRevision": 1
}
],
"nextCursor": null
} Get a journal entry
GET /accounting/v1/journal-entries/{entryId}
Parameters
| Name | In | Type | Required | Meaning |
|---|---|---|---|---|
entryId | path | string (uuid) | Yesrequired | The entry. |
Responses
| Status | Meaning | Body |
|---|---|---|
200 | The entry with its lines. | JournalEntry |
401 | The token is missing, has expired or is not ours. | Error |
403 | The token does not give access to this account or company, or customerOrgId or legalCompanyId in the body is not the one of the token. | Error |
404 | No journal entry with this id exists for your company. | Error |
429 | There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. | Error |
503 | The service cannot answer now. | Error |
Request
curl
curl "$RDC_BASE_URL/accounting/v1/journal-entries/d75fc649-ee06-4dfb-ab83-94b5f1209aa8" \
-H "Authorization: Bearer $RDC_TOKEN" JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/accounting/v1/journal-entries/d75fc649-ee06-4dfb-ab83-94b5f1209aa8`, {
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"]}/accounting/v1/journal-entries/d75fc649-ee06-4dfb-ab83-94b5f1209aa8',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
)
result = response.json() PHP
<?php
$curl = curl_init(getenv('RDC_BASE_URL') . '/accounting/v1/journal-entries/d75fc649-ee06-4dfb-ab83-94b5f1209aa8');
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")}/accounting/v1/journal-entries/d75fc649-ee06-4dfb-ab83-94b5f1209aa8");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); Response 200
{
"id": "d75fc649-ee06-4dfb-ab83-94b5f1209aa8",
"number": "JE-2026-10-0008",
"entryDate": "2026-10-21",
"period": "2026-10",
"sourceDocumentId": "58572830-d5ca-43ff-bd1d-d7ca383d5c65",
"lines": [
{
"account": "381",
"accountName": "Packaging",
"debit": "4128.70",
"credit": "0.00"
},
{
"account": "4426",
"accountName": "Deductible VAT",
"debit": "867.03",
"credit": "0.00"
},
{
"account": "401",
"accountName": "Suppliers",
"debit": "0.00",
"credit": "4995.73"
}
],
"reversalOf": null,
"reversedBy": null,
"reason": null,
"postedAt": "2026-11-23T07:12:00Z",
"aggregateRevision": 1
}