Journal entries
Entries of the general journal: manual ones, or generated automatically by a flow (sales, purchases, cash and banks, tax settlement, payroll, year-end closing...). It's the accounting resource: contracted separately from invoicing and taxes, although the three live together under the "Contabilidad" topic in the catalog.
GET /v1/{cuenta}/asientos is Cianbox's listing: entries from newest to
oldest, cursor-paginated (not page/limit), up to 1000 per page.
Each row is the header of the entry's document, with its totales and
resumen (computed from the lines), without the lines. The full entry,
line by line, is requested by id: GET /asientos/{id} returns exactly the
same as GET /documentos/asiento/{id} (documents).
Example
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/asientos?fecha_desde=2026-08-01&fecha_hasta=2026-08-31&limite=1"
{
"status": "ok", "module": "reporte:listado_asientos", "count": 2, "units_charged": 3,
"body": {
"listado_asientos": {
"parametros": {"fecha_desde": "2026-08-01", "fecha_hasta": "2026-08-31", "fecha_consulta": "2026-09-30",
"id_contribuyente": null, "tipo": null, "limite": 1, "cursor": null},
"totales": [{"cantidad": 37}],
"asientos": [
{
"id": 6500, "numero": 98, "fecha": "2026-08-31", "titulo": "Ventas agosto 2026",
"observaciones": null, "estado": "vigente",
"tipo": {"codigo": "ventas", "descripcion": "Ventas"},
"periodo": {"desde": "2026-08-01", "hasta": "2026-08-31"},
"fecha_carga": "2026-09-05 10:00:00",
"usuario_carga": {"id": 38, "nombre": "Usuario Ejemplo"},
"contribuyente": {"id": 0, "razon_social": "Empresa Ejemplo S.A.", "cuit": "30-12345678-9",
"condicion_iva": "Responsable Inscripto"},
"totales": {"debe": 121000.0, "haber": 121000.0, "balanceado": true},
"resumen": {"cantidad_renglones": 3}
}
],
"paginacion": {"limite": 1, "siguiente_cursor": "2026-08-31:6500", "hay_mas": true}
}
}
}
What each row has
| Field | What it is |
|---|---|
numero |
Number in the journal, or null in very old entries that don't have one |
estado |
Always "vigente": entries aren't voided, they're deleted (a deleted one doesn't show up) |
tipo |
{codigo, descripcion} of the flow that generated it (or manual); null for entries older than Cianbox storing the type |
periodo |
{desde, hasta} summarized by a generated entry; null for manual ones |
contribuyente |
The entry's taxpayer (id 0 is the account's main one) |
totales |
Sum of the lines and whether the entry balances (may differ from what the header stores) |
resumen |
Number of lines (those with an account) |
Change on 2026-10-09: lines without an account are no longer shown. A line whose account does not exist in the chart (or has none) is an anomaly and Cianbox does not show it anywhere. It used to come with
cuenta.codigoandcuenta.nombreasnulland was counted inresumen.renglones_sin_cuenta, which was removed (from the listing and the/asientos/{id}document).totalesandbalanceadonow come from the lines with an account: an entry balanced by a line without an account now shows as unbalanced.
Filters
| Filter | What it does |
|---|---|
fecha_desde, fecha_hasta |
On the accounting date. Without dates, the current month; up to 12 months |
id_contribuyente |
One id or a list (0 = the main taxpayer) |
Cianbox's tipo filter for this listing doesn't work today (any value is
a 400: a bug on Cianbox's side, already reported). Until it's fixed, fetch
the period and filter by tipo.codigo on your side.
Any other filter is a 400 filtro_invalido. If you integrated against the
previous index: buscar, orden, desde, hasta, limit, page, id,
numero and id_usuario_carga no longer exist on this listing (400).
Cursor pagination
limite accepts up to 1000 (default 200). Pass
paginacion.siguiente_cursor as ?cursor=; when there are no more, it's
null. The listing's totales (the size of the filtered set) comes only
on the first page.
How it's billed
The entries on the page, plus 1 for totales on the first page, with the
asientos weight. count is that figure. The lines read to compute each
row's totales and resumen are not billed. Nothing in this resource is
gated by a scope.
Incremental sync
modificado_desde and modificado_hasta (YYYY-MM-DD or
YYYY-MM-DD HH:MM:SS) return only what changed in that range, without the
default date range and including deleted records: the entry comes with
"estado": "eliminado" and amounts at 0 when deleted, so you can remove your
copy.
Every row carries fecha_modificacion; totales count only current
records. Step by step: Reports → incremental
sync.
.../asientos?modificado_desde=2026-10-07%2009:15:00&limite=1000
Reference
Generated from the API's own schema, so it always reflects the real state.
Available fields
Can be filtered by
Can be sorted by
—
Use a hyphen and a direction: orden=fecha-desc, orden=id-asc. An orden the resource does not recognise — including the field:desc form, which belongs to raw tables — raises no error: you get the default order back. If the order matters, check the first row.
Text search looks at
—
Date field (for desde/hasta)
Limits
| Own rate limit | your plan's |
| Max range per query | 366 days |
| Max pagination depth | 50,000 skipped rows |
| Rows per page | up to 1000 |
Code examples
curl -H "X-API-Key: TU_KEY" \
"https://api.cianbox.uno/v1/TU_CUENTA/asientos?limit=50"import requests
r = requests.get(
"https://api.cianbox.uno/v1/TU_CUENTA/asientos",
headers={"X-API-Key": "TU_KEY"},
params={"limit": 50},
timeout=30,
)
r.raise_for_status()
for fila in r.json()["body"]:
print(fila)const r = await fetch(
"https://api.cianbox.uno/v1/TU_CUENTA/asientos?limit=50",
{ headers: { "X-API-Key": "TU_KEY" } }
);
if (!r.ok) throw new Error(`HTTP ${r.status}`);
const { body } = await r.json();
console.log(body);