Reports
A report is different from a document (a whole voucher): it's a query already computed by the server. This page gathers them all, starting with the current account statement for one specific customer or supplier, with its movements one by one and paginated. It's what you see in Cianbox under a record's "Cuenta Corriente" tab. The aggregated reports (sales, purchases, stock, balances…) replace the API's old "informes", which were retired.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/cuenta-corriente-cliente/42"
{
"status": "ok",
"account": "YOUR_ACCOUNT",
"module": "reporte:cuenta_corriente_cliente",
"id": "42",
"count": 4,
"units_charged": 4,
"body": {
"cuenta_corriente_cliente": {
"cliente": {"id": 42, "nombre": "Ferretería López S.R.L.", "cuit": "30-12345678-9", "condicion_iva": "Responsable Inscripto"},
"parametros": {"solo_pendientes": true, "fecha_desde": null, "fecha_hasta": null},
"resumen": {"por_moneda": [
{"moneda": "ARS", "total_debitos": 150000.0, "total_creditos": 10000.0, "saldo_neto": 140000.0,
"total_vencido": 150000.0, "cantidad_comprobantes_adeudados": 1, "cantidad_cuotas_pendientes": 1,
"cantidad_cuotas_vencidas": 1, "cantidad_creditos_sin_imputar": 1}
]},
"saldo_anterior": null,
"movimientos": [
{"id_ctacte": 890, "tipo": "debito", "origen": "venta", "id_origen": 5001,
"comprobante": {"numero_completo": "Factura A 0001-00005001"},
"fecha": "2026-08-01", "fecha_vencimiento": "2026-09-01", "dias_vencida": 24,
"debe": 150000.0, "haber": 0.0, "saldo": 150000.0, "saldo_acumulado": null}
],
"paginacion": {"limite": 50, "cursor": null, "siguiente_cursor": null,
"hay_mas": false, "total_filas_pendientes": 1}
}
}
}
The two available
| Route | What it is | Requires resources | Also requires |
|---|---|---|---|
GET /v1/{cuenta}/reportes/cuenta-corriente-cliente/{id_cliente} |
A customer's current account | ctacte_clientes |
scope ctacte |
GET /v1/{cuenta}/reportes/cuenta-corriente-proveedor/{id_proveedor} |
A supplier's current account | proveedores, compras |
scope ctacte |
A movement is an installment (of a sale or a purchase), a credit note (inside the current account, shown inverted as a positive amount — same as in documents) or a supplier payment plan installment, or a collection or payment that isn't fully allocated yet (those don't live in the current account table: they're the other half of the story). That's why the report merges two sources into a single list, sorted by date.
A negative collection or payment is money returned (to the customer, or
from the supplier to you): a debit with origen: "devolucion" and a positive
amount. A negative payment is created with a 0 balance (already offset), so it
doesn't change the balance or count as pending.
Two modes: what's owed vs. what happened
solo_pendientes=true (default): "what's still owed?"
Only vouchers with a pending balance (debits with balance > 0, unallocated
credits), with no date limit — today's debt, no matter how old. fecha_desde
and fecha_hasta are ignored in this mode. It also includes
paginacion.total_filas_pendientes: the total count of pending vouchers,
across the whole history, not just the page you're looking at.
solo_pendientes=false + fecha_desde/fecha_hasta: "what happened?"
Every movement in the range — paid, pending, credit notes, everything — to
reconstruct a period's history. total_filas_pendientes comes back null:
it doesn't make sense outside the mode above.
# what's owed TODAY
.../reportes/cuenta-corriente-cliente/42
# what happened in March
.../reportes/cuenta-corriente-cliente/42?solo_pendientes=false&fecha_desde=2026-03-01&fecha_hasta=2026-03-31
In both modes, resumen.por_moneda is always the pending total per
currency, computed over the whole history — it doesn't depend on the page or
the date range you're looking at. total_debitos, total_creditos and
saldo_neto (debits minus credits) are the same figures as
saldo_por_moneda in a customer's or supplier's
document card. Each currency also carries
four counts and an overdue total:
| Field | What it is |
|---|---|
total_vencido |
Balance of installments whose due date is before today |
cantidad_comprobantes_adeudados |
Distinct sales, purchases or payment plans with a pending balance (a sale in 6 installments is 1 voucher) |
cantidad_cuotas_pendientes |
How many installments (across those vouchers) still have a pending balance |
cantidad_cuotas_vencidas |
Of those, how many are already overdue (an installment with no due date loaded never counts as overdue) |
cantidad_creditos_sin_imputar |
Credit notes and collections/payments with a balance in your favor |
cantidad_devoluciones_sin_imputar |
Money returned to the customer (receipts with a negative amount, origen: "devolucion") with a balance: they go to total_debitos and offset the credit they returned. Always 0 for suppliers |
residuos_excluidos |
{cantidad, saldo}: customer balances under $ 100 (or 1 in another currency), treated as rounding leftovers and not counted as pending; saldo is what they would add to the net balance. Always 0 for suppliers |
Previous and running balance (history mode)
In "what happened?" mode (solo_pendientes=false with fecha_desde), on top
of the range's movements you get two fields to follow the account without
doing the math yourself:
saldo_anterior(report-level): the balance per currency as of the day beforefecha_desde— everything that happened before your range, summed into one number.nullif you didn't sendfecha_desde.saldo_acumulado(per movement): the account's balance, in that movement's currency, right after it — it starts atsaldo_anterior(or at 0 if there's nofecha_desde) and adds each debit, subtracts each credit.nullinsolo_pendientesmode (that view isn't chronological).
So you can follow the account from one page to the next without losing
track, every history page starts with an extra row per currency (it doesn't
count towards limite, and has no voucher):
.../reportes/cuenta-corriente-cliente/42?solo_pendientes=false&fecha_desde=2026-09-01
{
"movimientos": [
{"id_ctacte": null, "tipo": "saldo_anterior", "origen": "saldo_anterior",
"id_origen": null, "comprobante": null, "fecha": "2026-08-31",
"moneda": "ARS", "debe": 300.0, "haber": 0.0, "saldo": 300.0,
"saldo_acumulado": 300.0},
{"id_ctacte": 900, "tipo": "debito", "origen": "venta", "...": "..."}
]
}
The first page brings that row with tipo/origen: "saldo_anterior" (date:
the day before fecha_desde). If you fetch the next page with cursor, the
starting row is "saldo_pagina_anterior" instead, with the balance and date
the previous page ended on — the age-old "carried forward" line in a ledger.
A balance in your favor goes to haber instead of debe. If you request
the first page without fecha_desde, there's no starting row: the
history begins right at the first movement.
Cursor pagination
No page/limit: each page brings paginacion.siguiente_cursor, and to
fetch the next one you send it back as ?cursor=. When there's nothing left,
siguiente_cursor is null.
# first page (up to 50 movements, the default)
.../reportes/cuenta-corriente-cliente/42?limite=20
# next one, with the cursor the previous call returned
.../reportes/cuenta-corriente-cliente/42?limite=20&cursor=2026-09-10:1:901
limite accepts up to 200; a higher value is silently capped at 200, and one
below 1 is raised to 1 (neither is an error). The cursor is not an id: it's
the position (a date, an internal order and an id) of the page's last
movement, so don't build it by hand — always use the one the previous
call returned.
Permissions: all or nothing, no partial version
Unlike a document, there's no partial version here for whoever lacks a
permission: the whole report is current-account data, so it requires the
sensitive scope ctacte on top of the resources in the table above. Missing
the scope returns 403 scope_ctacte_requerido even if you have the
resource. Missing a resource returns 403 resource_not_in_scope.
How it's billed
Like any detail call: the weight of the most expensive resource it
requires (compras for the supplier report, ctacte_clientes for the
customer one), plus one block per 500 rows — the card, the summary rows, the
movements the page brings back and, in history mode, the previous/starting
balance rows (0 in solo_pendientes mode). count in the response is that
figure: what got billed. Usage shows up in your report as
reporte:cuenta_corriente_cliente / reporte:cuenta_corriente_proveedor.
Errors
| Code | When |
|---|---|
404 |
The id is not a number, or there's no customer/supplier with that id |
403 |
The report requires a resource you're missing, or the ctacte scope |
400 |
fecha_desde/fecha_hasta aren't YYYY-MM-DD (fecha_invalida), or cursor isn't one the API returned (cursor_invalido) |
401 |
The key is missing or invalid |
Grouped sales
GET /v1/{cuenta}/reportes/ventas-agrupadas is different from everything
above: it isn't any one customer's or supplier's running account, it's a
ranking or a time series over all the sales you can see — the same
calculation you'd get by pulling the whole
sales listing and adding it up by hand,
computed server-side instead.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/ventas-agrupadas?agrupar_por=cliente&fecha_desde=2026-01-01&fecha_hasta=2026-09-30&limite=5"
{
"status": "ok", "module": "reporte:ventas_agrupadas", "count": 48210, "units_charged": 97,
"body": {
"ventas_agrupadas": {
"parametros": {"agrupar_por": ["cliente"], "fecha_desde": "2026-01-01",
"fecha_hasta": "2026-09-30", "separar_por_moneda": false},
"conversion": {"moneda": "ARS", "criterio": "cotizacion_de_cada_comprobante",
"comprobantes_convertidos": 12, "comprobantes_sin_cotizacion": 0},
"totales": [{"moneda": "ARS", "cantidad": 4820, "facturado": 15200000.0,
"notas_credito": 210000.0, "notas_debito": 0.0,
"neto_sin_iva": 12400000.0, "total_neto": 14990000.0}],
"grupos": [
{"grupo": {"cliente": {"id": 12401, "nombre": "Ferretería López S.R.L."}},
"moneda": "ARS", "cantidad": 87, "facturado": 450000.0, "notas_credito": 0.0,
"notas_debito": 0.0, "neto_sin_iva": 372000.0, "total_neto": 450000.0},
{"grupo": {"cliente": "resto"}, "moneda": "ARS", "cantidad": 4733,
"facturado": 14750000.0, "notas_credito": 210000.0, "notas_debito": 0.0,
"neto_sin_iva": 12028000.0, "total_neto": 14540000.0, "grupos_en_resto": 3118}
]
}
}
}
agrupar_por: one or two dimensions
Required. One dimension, or two separated by a comma (e.g. mes,sucursal),
with at most one time-based one. An empty element (mes,, , or
mes,,sucursal) is a 400 ("agrupar_por inválido: elemento vacío"), in every
report with agrupar_por (change on 2026-10-13: it used to be skipped and
mes, worked as mes):
| Dimension | Is |
|---|---|
dia, semana, mes |
Time series. The week is the date of its Monday; the month is YYYY-MM |
cliente, vendedor, sucursal, forma_pago, canal |
Ranking |
origen |
Ranking by the integration the sale came in through: MercadoLibre, the integrated order's channel (Tienda Nube, WooCommerce, Fravega…) or direct sale |
contribuyente |
Ranking by issuing legal name (useful if you invoice under more than one tax id) |
canal and origen are not the same. canal is the sales channel tag
each company defines in Cianbox, and few use it seriously:
contexto.uso_canales_venta says what share of sales has it. origen comes
from the sale's links: it is in a MercadoLibre order, it comes from an
integrated order (Tienda Nube, WooCommerce…) or it is a direct sale; a
credit note takes its invoice's origin. Whatever was invoiced without going
through the order stays as a direct sale.
Grouping by origen, each group also adds the integration costs, on
invoices only: comision_mercadolibre and envio_mercadolibre (without
VAT: the stored amount divided by 1.21, like Cianbox's MercadoLibre sales
report) and envio_tienda_nube (as the integration stores it). They are
cost data: they only come with the costos scope.
With a dimension that is not time-based, the response is a descending
ranking by total_neto: the top limite per currency (or per period,
if the other dimension is time-based), with the rest summed into a single
group with "grupo": {"<dimension>": "resto"} and grupos_en_resto — so
totales always adds up to grupos, without having to request the whole
ranking. With no ranking dimension at all (grouping only by mes, say),
nothing gets trimmed: every period comes back, in ascending order.
Ranking pages: cursor and total_grupos
Each row of totales carries total_grupos: how many groups there are in
that currency (say, how many customers bought), across all pages. You don't
need to walk the ranking to count.
To see the middle of a large ranking, the response carries paginacion
(cursor, siguiente_cursor, hay_mas). If hay_mas is true, ask for
the next limite groups with ?cursor= set to siguiente_cursor (it's a
number: the groups skipped in each currency or period). On every page, the
"resto" group adds up all the others, those of the previous pages and
of the next ones, so totales still equals the sum of grupos. Grouping by
a time dimension alone has no pages.
# the next 50 of the customer ranking
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/ventas-agrupadas?agrupar_por=cliente&limite=50&cursor=50"
The same goes for every ranking on this page: grouped purchases, collections
and payments, products sold and purchased, stock on hand, receivables aging, supplier due
dates and service times. A cursor that isn't a number is a 400
filtro_invalido.
The same filters as the listing
reportes/ventas-agrupadas accepts the same filters as
/ventas — fecha_desde/fecha_hasta,
id_cliente, id_producto, numero, moneda, tipo,
estado_cobranza… — except incluir_anulados: a voided sale never
adds up, so asking for it is a 400. Filtering by estado_cobranza
requires the ctacte_clientes resource, same as in the listing. estado_cae
is not accepted here either (only in the listing): sales without a CAE are
already reported apart.
Electronic invoices without a CAE don't add up: they go in sin_cae
A sale from an electronic-invoicing point of sale that has no CAE yet is not
fiscalized: AFIP rejected it, or the CAE was never requested, or it's still
queued. It may end up re-invoiced (another sale, with a CAE) or voided, so
counting it inflates the sales, and the re-invoiced one would count twice.
That's why, since 2026-11-02, it doesn't add up in totales nor in
grupos: it's reported apart, in sin_cae, a list per currency with
cantidad (number of sales), total_neto (invoices + debit notes − credit
notes, in the report's currency) and desde (the date of the oldest one).
An empty list when there are none. Sales from non-electronic points of sale
(manual, fiscal printer) are fiscalized by definition and add up as always.
If sin_cae isn't empty, show it: those sales need to be re-invoiced or
voided in Cianbox, or fiscalized again if the error can be fixed. Which ones:
the sales listing with
estado_cae=pendiente_cae; the reason for each one (en_proceso,
rechazada or no_fiscalizada), in the document's fiscalizacion.motivo.
The same rule applies to products sold, salesperson
performance, the monthly result,
the sales listing and the sales items. Accounts receivable and collections
don't change: a sale without a CAE is still the customer's debt until
it's voided, as in Cianbox.
Everything in the main currency, unless you ask otherwise
totales and every group come back unified in your account's main
currency, converting each sale at the exchange rate it had at the time
(not today's rate). conversion tells you the criterion and how many sales
got converted (comprobantes_convertidos) or had no rate on file
(comprobantes_sin_cotizacion, left out of the sums). With
?separar_por_moneda=true nothing gets converted: one group per currency,
and conversion comes back null.
How it's billed
By the rows it reads to build the groups — every sale in the range, not
just the ones shown in the response —, weighted like ventas. A ranking of
customers over a whole year can read far more rows than it shows: count
is what got billed, not grupos.length.
Grouped purchases
GET /v1/{cuenta}/reportes/compras-agrupadas is exactly the same as
grouped sales, over purchases:
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/compras-agrupadas?agrupar_por=proveedor&fecha_desde=2026-01-01&fecha_hasta=2026-09-30&limite=5"
Available dimensions: dia/semana/mes (time-based, as in sales),
proveedor, sucursal, categoria (purchase category), usuario (who
entered the purchase), comprobante (voucher type), movimiento (purchase
class) and contribuyente. Filters are the same as
/compras — including tipo_fecha,
forma_pago, estado_pago and origen — without incluir_anulados
(purchases have no voiding). By default, payment plan installment invoices
don't count: they go in cuotas_plan_excluidas, with the financing costs.
tabla_compras records every outflow, not just merchandise: expenses,
payroll, taxes and fixed assets are "purchases" for Cianbox too. An
unfiltered agrupar_por=proveedor mixes tax authorities, your landlord and
your merchandise suppliers into the same ranking. For "who do I buy the
most merchandise from?", filter id_movimiento=1; for "where is the money
going?", leave it unfiltered and group by movimiento or categoria.
Same as sales: unified in the main currency by default (separar_por_moneda
to see it by currency), ranking with "resto" on non-time dimensions, and
billed by rows read, not groups returned.
Customers without purchases
GET /v1/{cuenta}/reportes/clientes-sin-compras answers "which customers
stopped buying?": those who bought during a previous period and have
not bought for more than dias days, sorted by how much they used to buy.
It is the call list: each customer comes with contact details, salesperson,
category, zone, last purchase, days without buying and current-account
balance. Replaces the clientes-dormidos report, which was retired.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/clientes-sin-compras?dias=90&compras_minimas=3&limite=20"
| Parameter | What it does |
|---|---|
dias |
Days without buying (default 90, 1 to 3650). The cutoff is today − dias: the last purchase is before it. |
periodo_previo_dias |
The period before the cutoff in which they must have bought (default 365, 1 to 730). |
compras_minimas |
Minimum purchases in that period (default 1). Raise it (e.g. to 3) to keep only regular customers. |
ordenar_por / orden |
neto_sin_iva (default: biggest buyers first), compras or dias_sin_comprar; descendente (default) or ascendente. |
id_vendedor, id_categoria_cliente, id_zona |
The ones assigned to the customer (not the salesperson of each sale). One id or several, comma separated. |
limite |
Customers in the response (default 50, up to 200). totales cover the whole set, not just the page. |
cursor |
For the next page: the previous page's paginacion.siguiente_cursor (there's more if paginacion.hay_mas is true). |
- The last purchase comes from the sales, not from Cianbox's "last sale" field on the customer (that field counts credit notes and is not fixed when a sale is voided). A purchase is a current, non-voided invoice: neither credit notes nor debit notes count (a late-payment surcharge is not a purchase), nor electronic invoices without a CAE (since 2026-11-02: they aren't fiscalized and may end up voided or re-invoiced).
- Amounts (
neto_sin_ivaof the previous period) are in the main currency, converted with each sale's exchange rate;monedasays which. - Customers who never bought are not listed.
- Older customers (for a win-back campaign):
diasgoes up to 3650, but the previous period only to 730. Each query returns a band: the customers whose last purchase falls in theperiodo_previo_diasbefore the cutoff. To cover several years with no gaps or repeats, ask fordias730, 1460, 2190… withperiodo_previo_dias730. - Permissions: requires the
clientesandventasresources.saldo_por_monedais current-account data: without current-account permission (ctacte_clientesresource andctactescope) the key is omitted. - Billing: the customers on the page, their balance rows and one totals
row, with the weight of
ventas. Shows up asreporte:clientes_sin_compras.
Receivables aging
GET /v1/{cuenta}/reportes/antiguedad-saldos answers "who owes me and since
when?": the outstanding customer current-account debt split by due-date
buckets, with unapplied credits and net balance, by customer,
salesperson, zone or customer category. Replaces the antiguedad-de-saldos
report, which was retired.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/antiguedad-saldos?ordenar_por=vencido_mas_90&limite=10"
- Buckets:
por_vencer(due today or later),sin_vencimiento(no due date loaded: never overdue),vencido_1_30,vencido_31_60,vencido_61_90andvencido_mas_90.vencidois the sum of the four overdue buckets, and the buckets add up todeuda. saldo_neto= debt − unapplied credits (credit notes and on-account receipts of the same customer, minus money returned to the customer that still has a balance, which offsets the credit it returned).- Rounding leftovers: balances under $ 100 (or 1 in another currency)
are neither debt nor credit;
residuos_excluidosreports what they would add to the net balance. - Debtors only: each customer and currency is summed first and only
those with debt remain; then they are grouped.
clientescounts the debtors in each group;cuotas, the installments with debt. - Per currency, unconverted, like the current account (
conversionis alwaysnull). Do not add different currencies. - It is today's debt: balances are current; there is no aging as of a
past date (
fechais an unknown filter,400).
| Parameter | What it does |
|---|---|
agrupar_por |
One or two, comma separated: cliente (default), vendedor, zona, categoria_cliente (assigned to the customer). By customer, each one includes contact details and salesperson. |
estado |
con_deuda (default) or vencido: only customers with overdue debt. |
ordenar_por / orden |
deuda (default), vencido, vencido_mas_90 or saldo_neto; descendente or ascendente. |
id_cliente, id_vendedor, id_zona, id_categoria_cliente |
Customer filters, one id or several, comma separated. |
limite |
Groups per currency (default 50, up to 200); the rest are summed in a "resto" group. |
Permissions: current account end to end: requires the ctacte_clientes
resource and the ctacte scope (without it, 403
scope_ctacte_requerido, no partial version). Customer contact details are
master data: if the key cannot read clientes, contacto is omitted.
Billing: the groups the query builds before trimming the ranking, with
the weight of ctacte_clientes. Shows up as reporte:antiguedad_saldos.
Stock on hand
GET /v1/{cuenta}/reportes/existencias: how much stock you have and
what it's worth, by product, brand, category, usual supplier or branch,
today or on a past date. It's Cianbox's stock report, computed server-side.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/existencias?agrupar_por=marca&limite=5"
The response has the same shape as the grouped reports: parametros,
conversion, totales (per currency) and grupos (with a "resto" group
that adds up everything below limite). Each row has productos,
unidades, reservado, disponible, valor and productos_sin_valor.
agrupar_por(required): one or two ofproducto,marca,categoria,proveedor(the product's usual supplier) andsucursal. By branch, only the branches where the product has stock or reservations.- Which products: only the ones with their own stock — active, stock
tracked, no parent products and no combos (a parent's stock is its
variants'; a combo's is computed from its components). With
variantes=agrupadas(default) variants add up to their parent;separadas, each on its own. fecha: without it, today's stock. With a past date (YYYY-MM-DD), that day's stock, rebuilt from the stock movements (parametros.recompuesto: true). A future date is a400.estado:todos(default),con_stock,sin_stock(0 or negative),bajo_minimoandbajo_critico(only products with that threshold set).- Value:
valorizar=costo(default), at replacement cost before VAT; orvalorizar=listawithid_lista_precio(0, the General list, by default), at that list's net price. There's no historical cost: on a past date the stock is that day's but the value is at today's cost or price.productos_sin_valorcounts products with stock and no cost (or price) loaded: if it's above 0, the value is underestimated. - Currency: the value is unified in the main currency using each
currency's current exchange rate (stock doesn't carry a purchase's
rate);
conversionsays how many products were converted and at what rate. Withseparar_por_moneda=true, one group per currency, unconverted. - Ranking:
ordenar_porunidades(default),valorordisponible;ordendescendente(default) orascendente;limitegroups per currency (50 by default, up to 200). - Filters:
id_producto(a parent includes its variants),id_marca,id_categoria,id_proveedor(the usual supplier),id_temporadaandid_sucursal; each one an id or a comma-separated list.
Available = stock − reserved, and it can be negative. Orders reserve stock, and so do sales with pending delivery.
Permissions: requires the productos and stock resources. Valued at
cost, valor and productos_sin_valor are cost data: without the costos
scope they're left out, and ordenar_por=valor is
403 scope_costos_requerido. At a price list they're kept (that's the sale
price).
Billing: by the groups it reads to build the ranking (all of them,
not just the ones shown), with the stock weight. By product, on a large
account, that's tens of thousands of rows: if you only want the total, group
by marca or sucursal.
Stock to reorder
GET /v1/{cuenta}/reportes/stock-a-reponer: what needs reordering, most
urgent first, with its stock, what's pending to receive and the usual
supplier. It's always today's stock: fecha is an unknown filter (400);
for the stock as of a date, use stock on hand.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/stock-a-reponer?criterio=ventas&dias=60&id_proveedor=5"
Two criteria (criterio):
umbrales(default): stock reached the minimum or critical level set on the product, like Cianbox's reorder report.nivel=minimo(default) includes the critical ones;nivel=critico, only those. Critical first and, within each level, lowest stock first. Thresholds are per product (not per branch). Ifproductos_con_umbralis 0, the account doesn't set minimums or criticals: "nothing to reorder" doesn't mean that — usecriterio=ventas.ventas: the available stock doesn't covercobertura_diasdays (30 by default, up to 365) at the sales pace of the lastdiasdays (30 by default, up to 365, up to today). Givesventa_diaria,cobertura_dias(how many days the available stock lasts; 0 if there's none) andsugerido: what's missing to cover those days, already net of what's pending to receive, rounded up. Lowest coverage first. Also requires theventasresource.
pendiente_recibir: compras, invoiced by the supplier and not yet
received; ordenes_compra, what's still to be received from open purchase
orders (null with id_sucursal: a purchase order has no branch). With
id_sucursal, stock, sales and purchases are those branches'. cantidad
says how many products need reordering; you get the first limite (100 by
default, up to 500); the next ones with ?cursor= set to
paginacion.siguiente_cursor. Same id filters as stock on hand.
Permissions: requires productos and stock (and ventas with
criterio=ventas). What's pending to receive comes from purchases: without
the compras resource, pendiente_recibir and ventas.sugerido (which
nets it out) are left out.
Billing: by the rows it reads to decide what to reorder (the threshold
candidates, or the period's sold products and their stock) plus the
products it returns, with the stock weight.
Excess stock
GET /v1/{cuenta}/reportes/exceso-stock: the reverse of stock to reorder.
What do I have too much of? How much money is sitting in stock? Products
with their own stock and positive availability that cover more than
cobertura_dias at the sales pace of the last dias, or that didn't sell
in that period. It is today's stock.
# what ties up the most money
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/exceso-stock?ordenar_por=valor_excedente&limite=20"
{"exceso_stock": {
"parametros": {"fecha": "2026-10-07", "ventas_desde": "2026-07-10", "id_producto": null, "id_marca": null,
"id_categoria": null, "id_proveedor": null, "id_temporada": null, "id_sucursal": null,
"limite": 20, "ordenar_por": "valor_excedente", "dias": 90, "cobertura_dias": 180},
"moneda": "ARS",
"totales": {"productos": 740, "sin_ventas": 540, "unidades_excedentes": 35231.0,
"valor_excedente": 4928700000.0, "productos_sin_costo": 12, "productos_sin_cotizacion": 0},
"productos": [
{"producto": {"id": 10757, "nombre": "Jean Clásico", "codigo_interno": "JC-01", "variante": null},
"marca": {"id": 3, "nombre": "Propia"}, "categoria": null,
"proveedor_habitual": {"id": 5, "nombre": "Textil SA"},
"stock": 110.0, "reservado": 10.0, "disponible": 100.0,
"ventas": {"unidades": 90.0, "venta_diaria": 1.0, "cobertura_dias": 100.0},
"excedente": 40.0, "costo_unitario": 5000.0, "valor_excedente": 200000.0}
],
"paginacion": {"cursor": null, "siguiente_cursor": "20", "hay_mas": true}
}}
- What counts as excess: availability (stock − reserved) covering more
than
cobertura_dias(180 by default, up to 730) at the sales pace of the lastdias(90 by default, up to 730, up to today inclusive), or that didn't sell in that period (ventas.cobertura_diasisnull). Sales are those of stock to reorder: units net of credit notes, with combo components. Variants go separately. excedente: availability minus what would sell incobertura_dias; all of it if it didn't sell.costo_unitario: the replacement cost without VAT, in the main currency at today's exchange rate (nullif the product's currency has no rate), andvalor_excedente, excess × cost.totales, over all products with excess (not just the page's):productos,sin_ventas,unidades_excedentes,valor_excedente,productos_sin_costo(cost 0: they add no value, so the value is understated) andproductos_sin_cotizacion(left out of the value).- Order (
ordenar_por):cobertura(the default: products without sales first, by availability; then by coverage) orvalor_excedente. The firstlimitecome (100 by default, up to 500); the next ones with?cursor=set topaginacion.siguiente_cursor. - Filters: the id filters of stock on hand (
id_producto,id_marca,id_categoria,id_proveedor,id_temporada,id_sucursal). Withid_sucursal, stock and sales are those branches'. - Permissions: the
stock,productosandventasresources (it publishes what each product sold, like stock to reorder withcriterio=ventas;ventasis required since 2026-10-09).costo_unitarioandvalor_excedente(per product and the total) only with thecostosscope; without it,ordenar_por=valor_excedenteis a403.
A newly added product shows up as excess without sales: Cianbox doesn't store the product's creation date to rule it out.
Grouped collections
GET /v1/{cuenta}/reportes/cobros-agrupados: what you collected by day,
week, month, salesperson, branch, customer or taxpayer, broken down by
payment method. Same rules as grouped sales (ranking with "resto", main
currency by default, no voided documents).
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/cobros-agrupados?agrupar_por=mes&fecha_desde=2026-01-01&fecha_hasta=2026-09-30"
Each group has cantidad (collections), total_cobrado (the ranking
field), total_no_imputado (not yet applied to invoices, without balances
under $ 100 —1 in another currency—, which go to residuos_no_imputados),
imputado_de_mas (applied beyond what was collected: a collection with a
negative balance is neither a credit nor a rounding residue), devoluciones (money returned to the customer: already subtracted from
total_cobrado) and the amount by method: efectivo, cheques, tarjetas, transferencias and
retenciones, taken from each collection's cash movement. A collection
without a cash movement adds 0 to the methods, so total_cobrado and the
sum of the methods may differ.
- Dimensions:
dia,semana,mes,vendedor,sucursal,cliente,contribuyente. - Filters: those of the collections list —
fecha_desde/fecha_hasta,id_cliente,id_sucursal,id_vendedor,id_punto_venta,id_contribuyente,numero,importe_desde/importe_hasta,monedaandtipo_cobro(anticipo,cobro_parcialmente_imputado,cobro_imputado,devolucion). There is notipofilter (a collection is not an invoice or credit note). No dates means the current month; withid_clienteornumero, the whole history. - Permissions: the
cobrosresource. Filtering bytipo_cobrocomes from the collection's allocations (accounts receivable): it also requires thectactescope and thectacte_clientesandventasresources, or it's a403. - Unapplied balances require accounts receivable (since 2026-10-08):
total_no_imputado,residuos_no_imputadosandimputado_de_masare returned only with thectactescope and thectacte_clientesandventasresources, as in the collection document and list: grouped by customer, they are each customer's unapplied credit. Without that permission they are not present (before, they always were).devolucionesstays open: it is money that left the till, liketotal_cobrado. See "Permission changes" in Authentication.
Grouped payments
GET /v1/{cuenta}/reportes/pagos-agrupados: the same for what you paid.
Dimensions dia, semana, mes, proveedor, sucursal, usuario (who
entered the payment: payments have no salesperson) and contribuyente.
Amounts cantidad, total_pagado (the ranking field, net of refunds),
total_no_imputado, devoluciones (negative payments: money the supplier
returned, as a positive number) and the amount by method (efectivo,
cheques, tarjetas, transferencias, retenciones, as positive numbers).
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/pagos-agrupados?agrupar_por=proveedor&fecha_desde=2026-01-01&fecha_hasta=2026-09-30&limite=10"
Filters: id_proveedor, id_sucursal, id_usuario, id_punto_venta,
id_contribuyente, numero, amount, moneda and tipo_pago (anticipo,
pago_parcialmente_imputado, pago_imputado, devolucion). Requires the proveedores
and compras resources (the same as the payment document); tipo_pago
also requires the ctacte scope. Since 2026-10-08, so does
total_no_imputado: without the ctacte scope it is not present, as in
the payment document and list; devoluciones stays open.
Grouped quotes
GET /v1/{cuenta}/reportes/presupuestos-agrupados: quote conversion by
salesperson, branch, customer, payment method or period (dia, semana,
mes, by the quote's date). Answers "which salesperson converts the most?"
and "how long does a quote take to become a sale?".
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/presupuestos-agrupados?agrupar_por=vendedor&ordenar_por=convertidos&fecha_desde=2026-01-01&fecha_hasta=2026-09-30"
Each total and group has emitidos; convertidos and its breakdown
(convertidos_venta, convertidos_remito, convertidos_pedido, with the
document's priority: sale, delivery note, order); pendientes (not
converted and not expired) and vencidos (not converted, due before today);
tasa_conversion (converted over issued, in %) and
tasa_conversion_importe (total_convertido over total), null without
a base; total and total_convertido (the quoted amount, not the
invoiced one: the sale may change when invoiced); and
dias_promedio_conversion (from the quote to its sale, delivery note or
order, over converted quotes whose destination is still active; null if
none). Rates and the average are computed over the sums, so the rest and
the totals add up too.
- Order:
ordenar_portotal(default),cantidad,convertidosortotal_convertido; ranking with"resto"and pages withcursor, like the other grouped reports. - Filters: those of the quotes listing, with its 12-month range.
- Permissions: the
presupuestosresource; no cost or current-account fields.
Salesperson performance
GET /v1/{cuenta}/reportes/desempeno-vendedores answers "how is each
salesperson doing?", "who brings in the most new customers?" and "what is
the average ticket per salesperson?". It complements sales and collections
grouped by salesperson, which do not count customers.
# July, every salesperson
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/desempeno-vendedores?fecha_desde=2026-07-01&fecha_hasta=2026-07-31"
Per salesperson (the user on the sale and on the collection; a null
vendedor is sales without a salesperson), from highest to lowest net, with
no pages:
| Field | What it is |
|---|---|
facturas / notas_credito |
number of invoices (without credit or debit notes) and of credit notes |
neto_sin_iva / total_neto |
sales without and with VAT, in the main currency; credit notes subtract |
ticket_promedio |
net without VAT per invoice (null with no invoices) |
participacion |
share of the net of all salespeople, in % |
clientes |
distinct customers with some invoice, without "CONSUMIDOR FINAL" or "CLIENTE EXTRANJERO" |
clientes_nuevos |
customers whose first invoice ever was in the range and made by this salesperson |
facturas_genericos |
invoices to those two generic customers |
cobrado |
what this salesperson collected in the range (the grouped collections by salesperson) |
A salesperson who only collected also shows up, with sales in 0. Channel
users (MercadoLibre, web) usually have cobrado in 0: collections are
recorded by another user.
totales adds the same, except clientes, which are the distinct ones
across all salespeople (a customer who bought from two counts once), and it
brings comprobantes_convertidos and comprobantes_sin_cotizacion (sales in
another currency converted with their exchange rate, and those that do not
add up for lacking one). moneda is the main currency.
- Filters:
fecha_desdeandfecha_hasta(without dates, the current month; up to 12 months),id_vendedor,id_sucursalandid_contribuyente(an id or a comma-separated list; 0 is the main taxpayer). Any other filter is400 filtro_invalido. - Permissions: the
ventasresource.cobradoand its total also need thecobrosresource: without it they are not returned, and a salesperson who only collected does not show up. - Sales without a CAE (since 2026-11-02): electronic invoices without a
CAE don't add up nor count customers (nor new customers); they go apart,
in
sin_cae(cantidad,total_netoanddesde), as in grouped sales. A salesperson with only sales without a CAE doesn't show up. - Not included: margin per salesperson is in
products sold by
vendedor(with costs); quote conversion, in grouped quotes.
Products sold
GET /v1/{cuenta}/reportes/productos-vendidos: your best (or worst)
selling products, with units, net amount, cost and profit. It adds up sale
items, not headers.
# top 20 sellers of the year
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/productos-vendidos?agrupar_por=producto&fecha_desde=2025-10-01&fecha_hasta=2026-09-30&limite=20"
# what doesn't sell: worst sellers of the last 90 days, including products with no sales
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/productos-vendidos?agrupar_por=producto&orden=ascendente&fecha_desde=2026-07-02&fecha_hasta=2026-09-30"
{"grupo": {"producto": {"id": 10757, "nombre": "Jean Clásico", "codigo_interno": "JC-01",
"variante": null, "stock": 42.0, "vigente": true}},
"moneda": "ARS", "renglones": 118, "unidades": 131.0, "unidades_devueltas": 4.0,
"neto_sin_iva": 3930000.0, "descuentos_prorrateados": -42500.0, "costo": 2358000.0,
"utilidad": 1572000.0,
"margen_sobre_venta": 40.0, "renglones_sin_costo": 0, "neto_sin_costo": 0.0}
- Dimensions (one or two, at most one time dimension):
producto,marca,categoria,dia,semana,mes,vendedor,sucursal,cliente,forma_pago,canal,origen(as in grouped sales, without the integration costs),contribuyente. - Options:
variantes(agrupadas, the default: variants add up to their parent; orseparadas),ordenar_por(unidades,neto_sin_ivaorutilidad),orden(descendente, best sellers;ascendente, worst sellers) andincluir_sin_ventas: in ascending order by product, active products with no sales are added by default, all in 0 and the ones with more stock first;productos_sin_ventassays how many. - ABC classification (
abc=true): with a single dimension that is not time-based (producto,marca,cliente…), the unified currency and descending order, each group comes withabcholdingclase(A up to 80 % accumulated of theordenar_poramount, B up to 95 %, C the rest; a zero or negative amount is C),porcentajeandporcentaje_acumulado, computed over all groups, not just the page's. The report comes withabccounting the groups of each class (grupos_a,grupos_b,grupos_c). Without the option,abcisnull. Withordenar_por=utilidad, it requires thecostosscope. - Amounts:
renglones(sale items, not units nor sales),unidades(net of returns),unidades_devueltas,neto_sin_iva,descuentos_prorrateados,costo,utilidad(net − cost),margen_sobre_venta(profit over net, in %),renglones_sin_costoandneto_sin_costo. - Sale discounts spread across products: a discount on the whole sale
(cash payment, a coupon or a bonus) is stored as an item with no product.
It's spread across the products of that sale in proportion to their net:
neto_sin_ivaandutilidadalready discount it, anddescuentos_prorrateadossays how much. Shipping, surcharges and credit notes with no products aren't spread: that's why the sum of the products may differ from the net of grouped sales by those amounts. - No cost on file = no data: the cost is the one stored in the item at
sale time. Items with no cost on file don't count towards
costo,utilidadormargen_sobre_venta(their net isn't added as profit); they're counted apart inrenglones_sin_costoandneto_sin_costo(many are shipping or other concepts). If no item in the group has a cost, the three come asnull, not 0 nor 100 %. That's why the profit may differ from Cianbox's profit report, which counts those items as profit. - Filters: those of grouped sales plus
id_marcaandid_categoria.id_productonarrows the items to the product or its variants (in the sales list, instead, it returns the sales that contain it). - Sales without a CAE (since 2026-11-02): the items of electronic
invoices without a CAE don't add up in the groups nor in
totales; they go apart, insin_cae(per currency:renglones,unidades,neto_sin_ivawith the discounts already spread, anddesde), as in grouped sales. A product sold only in sales without a CAE counts as a product with no sales. - Permissions: the
ventasresource.costo,utilidad,margen_sobre_venta,renglones_sin_costoandneto_sin_costoonly come with thecostosscope (without it they're not in the response, andordenar_por=utilidadis a403); the product'sstockonly with thestockresource.
Some "products" are concepts (shipping, deposits, account adjustments): Cianbox doesn't tell them apart from merchandise, so they show up in the rankings as they are.
Products purchased
GET /v1/{cuenta}/reportes/productos-comprados: the purchasing counterpart
of products sold. How much did I pay for X, and to whom? How did the cost
change? It adds up the product items of purchases (expenses, fixed assets
and concepts don't count).
# which suppliers I buy a product from and at what price, over the last year
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/productos-comprados?agrupar_por=proveedor&id_producto=4259&fecha_desde=2025-10-01&fecha_hasta=2026-09-30"
# how the cost went up, month by month
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/productos-comprados?agrupar_por=mes&id_producto=4259&fecha_desde=2025-10-01&fecha_hasta=2026-09-30"
{"grupo": {"producto": {"id": 4259, "nombre": "Membrana 10 m", "codigo_interno": "MB-10",
"variante": null, "stock": 120.0, "vigente": true}},
"moneda": "ARS", "renglones": 6, "unidades": 2400.0, "unidades_devueltas": 0.0,
"neto_sin_iva": 6523892.12, "descuentos_prorrateados": 0.0, "costo_unitario_promedio": 2718.29,
"ultima_compra": {"fecha": "2026-08-10", "id_compra": 34866,
"proveedor": {"id": 1076, "nombre": "Isolant S A"}, "costo_unitario": 2439.48}}
- Dimensions (one or two, at most one time dimension):
producto,marca,categoria(the product's),proveedor,sucursal,categoria_compra,contribuyente,dia,semana,mes(by thetipo_fechadate: the document's, by default, or the booking date). - Options:
variantes(agrupadasorseparadas),ordenar_por(unidades, the default, orneto_sin_iva) andorden(descendenteorascendente). Ranking with"resto"and pages withcursor, like the other grouped reports. - Amounts:
renglones(purchase items),unidades(credit notes subtract),unidades_devueltas,neto_sin_iva(the purchase cost without VAT or internal taxes),descuentos_prorrateadosandcosto_unitario_promedio(net over units;nullwith no units). In the main currency at each purchase's exchange rate, or per currency withseparar_por_moneda=true. - Purchase discounts spread across products: a discount on the whole purchase (an item with no product and the opposite sign of the document) is spread across its products by their net, as in sales. Surcharges are not. Each item's discount percentage is not part of the document's amounts and is not applied.
ultima_compra: withproductoamong the dimensions, each group's latest line of an invoice or debit note, with its date, purchase (to ask for the document), supplier andcosto_unitario(without taxes, with the purchase discount spread). Withoutproducto, the key is not there.- Filters: those of grouped purchases (
origen: without payment-plan installment invoices by default) plusid_categoria_compra(the purchase category),id_marca,id_categoria(the product's) andid_producto(the product or its variants; without dates, the whole history). - Permissions: the
comprasandproductosresources.neto_sin_iva,descuentos_prorrateados,costo_unitario_promedioandultima_compra.costo_unitarioonly with thecostosscope (without it,ordenar_por=neto_sin_ivais a403); units and the last purchase's date and supplier always come.estado_pagorequires thectactescope.
costo_unitario_promedio may differ from the cost on the product record,
which Cianbox computes with its own criteria. For everything purchased
(expenses and services too), use grouped purchases.
Monthly result
GET /v1/{cuenta}/reportes/resultado-mensual: how much did I make? A
simplified income statement per month, without VAT and in the main
currency, built from the existing reports so that its numbers match them.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/resultado-mensual?fecha_desde=2026-01-01&fecha_hasta=2026-09-30&excluir_categorias=11"
{"resultado_mensual": {
"parametros": {"fecha_desde": "2026-01-01", "fecha_hasta": "2026-09-30", "id_sucursal": null,
"id_contribuyente": null, "excluir_categorias": [11]},
"moneda": "ARS",
"periodos": [
{"mes": "2026-01", "parcial": false, "ventas_netas": 1000000.0, "costo_ventas": 600000.0,
"margen_bruto": 400000.0, "margen_bruto_porcentaje": 40.0, "gastos": 200000.0,
"gastos_por_categoria": [{"categoria": {"id": 3, "nombre": "SUELDOS"}, "neto": 200000.0}],
"gastos_financiacion": 10000.0, "resultado": 190000.0, "resultado_porcentaje": 19.0,
"ventas_sin_costo": {"neto": 50000.0, "renglones": 2}}
],
"totales": {"ventas_netas": 1000000.0, "...": "..."},
"fuera_del_resultado": {
"categorias_excluidas": [{"categoria": {"id": 11, "nombre": "RETIRO SOCIOS"}, "neto": 150000.0}],
"categorias_en_resto": 0, "compra_mercaderia": 700000.0, "bienes_de_uso": 0.0,
"aportes_prestamos_socios": 90000.0, "cuotas_plan_sin_separar": {"cantidad": 0, "total": 0.0}}
}}
- Net sales: the
neto_sin_ivaof grouped sales per month. Cost of sales: thecostoof products sold per month, the cost of what was sold (not the month's merchandise purchases), only from items with a cost on file:ventas_sin_costosays how much was sold without a cost, and the result is overstated by that cost. - Expenses: purchases with the expense and payroll movements, by
purchase category (
gastos_por_categoria, largest first). Merchandise purchases, fixed assets and partner contributions, loans and withdrawals are not expenses: they go infuera_del_resultado. excluir_categorias: ids of purchase categories your company records as expenses but aren't (partner withdrawals, VAT payments…), separated by commas (0 is no category). They are reported infuera_del_resultado.categorias_excluidas.- Financing costs: the lines of payment-plan installment invoices that
are not the principal. Without the principal line they can't be split:
they go in
fuera_del_resultado.cuotas_plan_sin_separar. - Gross margin = sales − cost; result = margin − expenses − financing. The
percentages are over net sales (
nullwithout sales). Every month in the range is there, even without activity;parcialif the range doesn't cover the whole month. - Filters:
fecha_desdeandfecha_hasta(without dates, the current month; up to 12 months),id_sucursal,id_contribuyenteandexcluir_categorias. Purchases go by the document date. - Permissions: the
ventasandcomprasresources and thecostosscope: cost, margin and result are cost data, so without it the whole report is a403 scope_costos_requerido. - Billing: by the rows the underlying reports read, with the
ventasweight. - Sales without a CAE (since 2026-11-02): electronic invoices without a
CAE are not in
ventas_netasnor in the cost of sales;sin_caereports them apart, as in grouped sales.
It is a management result, not an accounting one: by document date, with no depreciation nor inflation adjustment.
Service turnaround times
GET /v1/{cuenta}/reportes/tiempos-service answers "where is the workshop
getting stuck?": the service orders received in the period, how many
were finished, delivered, invoiced, under warranty and still pending, and
the average days of each step. By status, technician, who received the
equipment, branch or period. Replaces the service-tiempos report, which was retired.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/tiempos-service?agrupar_por=tecnico&fecha_desde=2026-01-01&fecha_hasta=2026-09-30"
- Steps:
pendientesare the unfinished orders;listas_sin_entregar, finished orders nobody picked up yet. Finished and delivered are flags on the order: the status name (configurable per account) may not reflect the real progress. To tell whether an order is done or delivered, usefinalizadasandentregadas, not the status. - Averages in days:
promedio_dias_reparacion(reception to finish) andpromedio_dias_entrega(reception to delivery), only over orders with that step's date loaded;antiguedad_promedio_pendientes, reception to today.nullwhen there are no orders to average. The"resto"group and the totals are computed over the summed days and orders, not as an average of averages. - These are orders, not amounts: no currency and no
conversion. - Only current, non-voided orders with a customer and point of sale.
| Parameter | What it does |
|---|---|
agrupar_por |
One or two, comma separated (at most one time dimension): estado (default; null is no status), tecnico (who did the work), atendio (who received the equipment), sucursal, dia, semana, mes (of reception). |
fecha_desde / fecha_hasta |
Reception date range (YYYY-MM-DD). Without dates, the current month; up to 12 months. |
id_sucursal, id_tecnico, id_estado, id_cliente |
One id or several, comma separated. With id_cliente the range may exceed 12 months, and without dates it covers the customer's whole history. |
ordenar_por / orden |
ordenes (default), pendientes, finalizadas or listas_sin_entregar; descendente or ascendente. |
limite |
Groups in the response (default 50, up to 200); the rest are summed in a "resto" group. |
Permissions: the services resource. Billing: the groups the query
builds before trimming the ranking, with the weight of services. Shows up
as reporte:tiempos_service.
Account context (free)
GET /v1/{cuenta}/contexto is not a report: it is the recommended first
call, especially for an AI assistant. In one response, and free of
charge (units_charged: 0), it returns which company you are talking to
and the small catalogs needed to turn names into ids: "the downtown branch"
→ id_sucursal, "the wholesale price list" → id_lista_precio, "Juan's
customers" → id_vendedor.
curl -H "X-API-Key: YOUR_KEY" "https://api.cianbox.uno/v1/YOUR_ACCOUNT/contexto"
- Date:
fecha_consultais today in Argentina;actividad_desde, 90 days back (today included). Currencies in use and user activity cover that period. - Users: active users with activity in those 90 days or with assigned
customers, with what each one did (sales as salesperson and documents
they entered).
es_vendedorif they sold or have assigned customers. - Catalogs: active entries only, ordered by name (order statuses in their own order): branches (also the warehouses), active and unexpired price lists (with the General list, 0), payment methods, sales channels, zones, customer categories, order statuses, seasons, taxpayers. Points of sale, brands and product categories are not included: search for them.
- Sales channels: the channel tags the company defines, with their
sales in the period (
ventas_periodo);uso_canales_ventasays what share of sales carries a tag. With little use, for "sales by channel" group byorigen(which integration the sale came in through) instead ofcanal. Without theventasresource those counts don't come. - Modules:
en_usoif the account has anything loaded, with the date of the last record (a very old one means an abandoned module). MercadoLibre and Tienda Nube also say whether an account is connected. acceso: the resources your key can query in this account (same as/recursos), its sensitive permissions and what was trimmed from this response. Activity and currency counts only come for resources your key can read; user names and ids always come.- Cache: built once per hour and account (
"cache": "hit"when the response came from it): a new catalog entry may take up to an hour to show up.
Permissions: any active key of the account. Billing: none.
Master catalogs
GET /v1/{cuenta}/catalogos returns the small tables used to translate the
ids that documents and reports bring: cash registers, bank accounts and
banks, cards, purchase categories, invoice books, economic activities,
chart of accounts, VAT conditions, voucher types, taxes, provinces and
localities. Unlike the account context, inactive rows are included too
(with vigente), because an old document may point to one. It is for
integrations: it is not in the MCP.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/catalogos?incluir=cajas,plan_cuentas"
{"catalogos": {
"parametros": {"incluir": ["cajas", "plan_cuentas"], "id_provincia": null},
"cajas": [{"id": 1, "nombre": "Caja Centro", "numero": 1, "id_sucursal": 1,
"moneda": {"id": 1, "nombre": "ARS"}, "habilitada": true, "vigente": true, "id_cuenta_contable": 12}],
"plan_cuentas": [{"id": 1, "codigo": "10000000", "nombre": "ACTIVO", "nivel": 1, "imputable": false,
"id_cuenta_madre": null, "id_moneda": 1, "rubro": "activo", "vigente": true, "fecha_baja": null}]
}}
| Catalog | What it brings | Requires |
|---|---|---|
cajas |
name, number, branch, currency, enabled, accounting account | cash (cobros and pagos) |
tarjetas |
name, code, collection and payment accounting accounts | cash |
cuentas_bancarias |
bank, type, number, CBU and alias, currency, taxpayer, whether it issues checks, overdraft limit, accounting account | banks (movimientos_bancarios and valores) |
entidades_bancarias |
name, code, CUIT | banks |
categorias_compras |
name | compras |
talonarios |
name, point of sale, voucher type with its tipo (factura, nota_credito, nota_debito) and letter, branch, taxpayer, economic activity, fiscal, electronic, deactivation date |
ventas |
actividades_economicas |
name, AFIP code, start and end | ventas |
plan_cuentas |
code, name, level, postable, parent account, currency, rubro, deactivation date (by code) |
asientos |
condiciones_iva, comprobantes, impuestos, provincias |
name, short name, AFIP code (voucher types with their tipo) |
any |
localidades |
name, province, postal code; only with id_provincia (about 46,000) |
any |
incluir: catalogs separated by commas. Without it, every catalog your key can read except localities (plus localities if you sendid_provincia). Asking inincluirfor one your key cannot read is a403. An empty element (cajas,or,) is a400(change on 2026-10-13: it used to be skipped).id_provincia: one id or several separated by commas (fromprovincias).- It does not bring what the context already has (branches, price lists,
currencies, payment methods, users, zones...), nor balances: the bank
accounts' balance is
/reportes/saldos-bancos.
Permissions: each catalog, the category of its domain (table above);
reference ones, with any. Billing: by the rows it returns, with the
weight of the served catalogs' resources. Shown as reporte:catalogos.
Cash registers
Three cash register reports: the balance of each one, its movements and its closings. This is treasury data: all three require the caja category (the same one as collections and payments) and come whole or not at all.
Balance of each cash register
GET /v1/{cuenta}/reportes/saldos-caja answers "how much is in the cash
register?": what accumulates in each register, cash and checks, and
their total, in the register's currency. It is the balance of the last
closing plus the not yet closed movements (up to today), as Cianbox
computes it.
curl -H "X-API-Key: YOUR_KEY" "https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/saldos-caja?id_sucursal=1"
{"saldos_caja": {
"parametros": {"fecha_consulta": "2026-09-30", "id_caja": null, "id_sucursal": [1], "incluir_deshabilitadas": false},
"totales": [{"moneda": "ARS", "cajas": 1, "efectivo": 900.0, "cheques": 500.0, "total": 1400.0}],
"cajas": [
{"caja": {"id": 1, "nombre": null, "numero": 1, "sucursal": {"id": 1, "nombre": "Casa Central"}},
"tipo": "comun", "habilitada": true, "moneda": "ARS",
"saldo": {"efectivo": 900.0, "cheques": 500.0, "total": 1400.0},
"ultimo_cierre": {"id": 1633, "numero": 1424, "fecha": "2025-10-22 20:04:25",
"efectivo": 1000.0, "cheques": 500.0, "total": 1500.0, "puesto_en_cero": false,
"reabierto": false},
"movimientos_sin_cerrar": {"cantidad": 3, "ultimo": "2026-09-29 11:58:58",
"composicion": {"efectivo": -100.0, "cheques": 0.0, "transferencias": 300.0,
"retenciones": 10.0, "tarjetas": 0.0, "total": 210.0}}}
]
}}
- Balance = cash + checks. Transfers, withholdings and cards are not
balance: they don't stay in the register (each closing sets them to 0
and card money arrives through the settlement). They come as the
composicionof the movements not yet closed, to see how money came in or went out since the last closing. - The total on Cianbox's screen can be much larger: it keeps adding the transfers and withholdings of every previous closing. This report does not publish it.
- Many registers have no name (
nombre: null): refer to them by number and branch.tipo:comun,fondo_fijo(petty cash) orfondo_a_rendir(cash advance to account for). ultimo_cierre: the last active closing (nullif it was never closed);puesto_en_ceroif the balances were set to zero on closing (for example, when the cash was withdrawn). Some accounts almost never close the register.reabierto: trueif the closing was reopened to correct it: until it is closed again, its balance is the stored one.totalesper currency, not converted (each register has one currency).
| Parameter | What it does |
|---|---|
id_caja, id_sucursal |
One id or several, comma-separated. |
incluir_deshabilitadas |
true to include disabled registers (not by default: a cash advance is disabled when it is closed). |
It is today's snapshot: there is no date parameter (fecha is an unknown
filter, 400).
Cash register movements
GET /v1/{cuenta}/reportes/listado-movimientos-caja answers "what came in
or went out of the register today?", "expenses paid in cash": each movement,
newest first, with cursor pagination.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/listado-movimientos-caja?fecha_desde=2026-09-30&fecha_hasta=2026-09-30&sentido=egreso"
{"listado_movimientos_caja": {
"parametros": {"fecha_desde": "2026-09-30", "fecha_hasta": "2026-09-30", "fecha_consulta": "2026-09-30",
"id_caja": null, "id_sucursal": null, "id_tipo_movimiento": null, "id_cliente": null,
"id_proveedor": null, "id_usuario": null, "cierre": null, "sentido": "egreso",
"incluir_anulados": false, "limite": 200, "cursor": null},
"totales": [{"moneda": "ARS", "cantidad": 1, "ingresos": 0.0, "egresos": 12000.0, "neto": -12000.0,
"efectivo": -12000.0, "cheques": 0.0, "transferencias": 0.0, "retenciones": 0.0, "tarjetas": 0.0}],
"movimientos": [
{"id": 900, "fecha": "2026-09-30 11:58:58", "fecha_carga": "2026-09-30 11:59:02",
"caja": {"id": 3, "nombre": "Caja Sucursal Centro", "numero": 1, "sucursal": {"id": 2, "nombre": "Sucursal Centro"}},
"tipo_movimiento": {"id": 20, "nombre": "Gasto"}, "sentido": "egreso",
"comprobante": "Factura A 0003-00001234", "observaciones": null,
"cliente": null, "proveedor": {"id": 77, "nombre": "Edenor"},
"usuario_carga": {"id": 4, "nombre": "Gisela"}, "moneda": "ARS", "cotizacion": null,
"importes": {"efectivo": -12000.0, "cheques": 0.0, "transferencias": 0.0, "retenciones": 0.0,
"tarjetas": 0.0, "total": -12000.0},
"estado": "vigente", "cierre": null,
"origen": {"id_operacion": 5501, "documento": {"tipo": "compra", "id": 5501}}}
],
"paginacion": {"limite": 200, "siguiente_cursor": null, "hay_mas": false}
}}
- Signed amounts, as Cianbox stores them: positive comes in, negative
goes out;
sentidosays it in words. A voided movement comes with amounts at 0 (and is only listed withincluir_anulados=true). origen.documento: if the movement was created by a sale, a collection, a payment, a purchase (purchase, expense or fixed asset) or a check, the type and id to fetch the full document (for exampleGET /v1/{cuenta}/compras/5501). Transfers between registers, currency exchange, adjustments, deposits and partner contributions have no document (documento: null).cierre: the closing that includes it;nullwhile it is still open. If that closing was reopened to correct it, the movement still belongs to it and comes withreabierto: true.- Some movements have a
totalthat is not the sum of their means (for example, card settlements): they come as stored. totales(first page only,nullon the next ones): count, income, outflows, net and per means of payment, per currency. Voided ones don't add up.
| Parameter | What it does |
|---|---|
fecha_desde / fecha_hasta |
YYYY-MM-DD. Without dates, the current month; up to 12 months. With id_cliente or id_proveedor, the whole history. |
id_caja, id_sucursal, id_tipo_movimiento, id_cliente, id_proveedor, id_usuario |
One id or several, comma-separated. id_usuario is who entered it. |
cierre |
abierto (not closed) or cerrado (includes those of a reopened closing). |
sentido |
ingreso or egreso. |
incluir_anulados |
true to list voided ones (with amounts at 0). |
limite / cursor |
Up to 1000 per page (200 by default); cursor is the previous page's siguiente_cursor. |
Cash register closings
GET /v1/{cuenta}/reportes/listado-cierres-caja answers "was the register
closed?": each closing, newest first, with the cash and checks left
(saldos), whether they were set to zero, and the movements it includes.
{"listado_cierres_caja": {
"parametros": {"fecha_desde": "2026-09-01", "fecha_hasta": "2026-09-30", "fecha_consulta": "2026-09-30",
"id_caja": null, "id_sucursal": null, "limite": 200, "cursor": null},
"totales": [{"cantidad": 1}],
"cierres": [
{"id": 1633, "numero": 1424, "fecha": "2026-09-22 20:04:25",
"caja": {"id": 1, "nombre": null, "numero": 1, "sucursal": {"id": 1, "nombre": "Casa Central"}},
"moneda": "ARS", "saldos": {"efectivo": 1000.0, "cheques": 500.0, "total": 1500.0},
"puesto_en_cero": false, "reabierto": false,
"movimientos": {"cantidad": 12, "ingresos": 5000.5, "egresos": 300.0}}
],
"paginacion": {"limite": 200, "siguiente_cursor": null, "hay_mas": false}
}}
Parameters: fecha_desde / fecha_hasta (closing date; without dates, the
current month; up to 12 months), id_caja, id_sucursal, limite and
cursor. To know only when each register was last closed, ultimo_cierre
in the balances is enough. reabierto: true: the closing was reopened to
correct it (its movements still count).
Permissions for all three: the caja category (the cobros and pagos
resources); without it, 403. There is no partial version. Billing: the
balances, per register reported; the listings, per page rows plus the
totales rows, with the weight of cobros. They show up as
reporte:saldos_caja, reporte:listado_movimientos_caja and
reporte:listado_cierres_caja.
Bank account balances
GET /v1/{cuenta}/reportes/saldos-bancos answers "how much money do I have
in the bank?" and "is it enough for the checks?": the balance of each bank
account at a date (credits − debits of its movements, as Cianbox; positive
is in the company's favor), with the company's own checks pending debit and
the projected balance.
curl -H "X-API-Key: YOUR_KEY" "https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/saldos-bancos"
{"saldos_bancos": {
"parametros": {"fecha": "2026-09-30", "id_cuenta": null, "id_banco": null, "id_contribuyente": null,
"incluir_no_vigentes": false},
"totales": [{"moneda": "ARS", "cuentas": 1, "saldo": 2465210.13, "cheques_pendientes": 3000000.0,
"saldo_proyectado": -534789.87}],
"cuentas": [
{"cuenta": {"id": 13, "banco": "BANCO MACRO S.A.", "tipo_cuenta": "Cuenta Corriente",
"numero_cuenta": "000000000000000", "cbu": "0000000000000000000000", "alias": "EMPRESA.EJEMPLO",
"moneda": "ARS"},
"id_banco": 34,
"contribuyente": {"id": 0, "razon_social": "Comercio Ejemplo S.A.", "cuit": "30-12345678-9",
"condicion_iva": "Responsable Inscripto"},
"estado": "vigente", "emite_cheques": true, "limite_descubierto": null,
"saldo": 2465210.13,
"movimientos": {"cantidad": 11507, "ultimo": "2026-09-29"},
"movimientos_posteriores": {"cantidad": 0, "neto": 0.0},
"conciliacion": {"conciliado_hasta": "2026-09-29", "sin_conciliar": {"cantidad": 105, "neto": 28432647.04}},
"saldo_verificado": null,
"cheques_pendientes": {"cantidad": 5, "monto": 3000000.0, "vencimiento_mas_antiguo": "2025-04-11",
"tramos": {"vencidos": {"cantidad": 1, "monto": 500000.0, "saldo_despues": 1965210.13},
"proximos_7_dias": {"cantidad": 2, "monto": 1000000.0, "saldo_despues": 965210.13},
"de_8_a_30_dias": {"cantidad": 0, "monto": 0.0, "saldo_despues": 965210.13},
"mas_de_30_dias": {"cantidad": 2, "monto": 1500000.0, "saldo_despues": -534789.87}}},
"saldo_proyectado": -534789.87}
]
}}
- Pending checks: the company's own checks already handed over that the
bank has not debited yet, by due date: overdue (up to today), next 7
days, 8 to 30 and more than 30. Each bracket has
saldo_despues, what is left after debiting that bracket and the previous ones: "is it enough for what's due this week?" is thesaldo_despuesofproximos_7_dias(it already discounts the overdue ones). The last one issaldo_proyectado= balance − pending checks. A very old "pending" check (vencimiento_mas_antiguo) is usually one that was debited and nobody marked. - At a past date (
fecha), the balance is the one at that date andcheques_pendientesandsaldo_proyectadoarenull(pending checks are today's). movimientos_posteriores: movements dated after the requested date (today: future-dated ones). The total on Cianbox's movements screen, without a date filter, issaldo+movimientos_posteriores.neto.conciliacion(nullif the account never reconciled): up to which date it was reconciled and the unreconciled movements. There is no "reconciled balance": many accounts reconcile only in some periods. At a past date, only what was reconciled up to that date counts (the reconciled mark is today's: when it was reconciled is not known).saldo_verificado: the one someone entered by hand when checking the account (nullif never entered). Cianbox's "Cuentas Bancarias" screen shows that number as "Último Saldo", not this one.- A very negative balance is usually an account where only outflows are
recorded (for example, MercadoPago): it is not an overdraft.
limite_descubiertoonly comes if the account has an overdraft enabled. totalesper currency, not converted (each account has one currency). The movements of an account, one by one, are inmovimientos_bancarios.
| Parameter | What it does |
|---|---|
fecha |
YYYY-MM-DD, up to today (today by default). |
id_cuenta, id_banco |
One id or several, comma-separated. |
id_contribuyente |
One id or several; 0 is the main taxpayer. |
incluir_no_vigentes |
true to include deactivated accounts (some inactive accounts still have a balance). |
Permissions: the bancos category (the movimientos_bancarios and
valores resources); without it, 403. There is no partial version.
Billing: per account reported, with the weight of
movimientos_bancarios. Shows up as reporte:saldos_bancos.
Supplier payables by due date
GET /v1/{cuenta}/reportes/vencimientos-proveedores answers "what do I
have to pay, and when?": the outstanding debt with suppliers split by due
date —what is overdue, by age, and what falls due in the coming days—,
with unapplied credits (credit notes and payments on account) and net
balance, by supplier or purchase category. It mirrors the receivables aging
report, on the side of what you owe.
# what do I have to pay this week (overdue plus due within 7 days)
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/vencimientos-proveedores?estado=a_pagar_7_dias&ordenar_por=vence_7_dias&limite=10"
{"vencimientos_proveedores": {
"parametros": {"fecha_consulta": "2026-09-30", "id_proveedor": null, "id_categoria_compra": null,
"agrupar_por": ["proveedor"], "limite": 10, "estado": "a_pagar_7_dias",
"ordenar_por": "vence_7_dias", "orden": "descendente"},
"conversion": null,
"totales": [
{"moneda": "ARS", "cuotas": 147, "proveedores": 58, "deuda": 38010000.0, "vencido": 28990000.0,
"vencido_1_30": 4100000.0, "vencido_31_60": 14100000.0, "vencido_61_90": 10700000.0,
"vencido_mas_90": 90000.0, "a_vencer": 9020000.0, "vence_7_dias": 2330000.0,
"vence_8_30_dias": 5400000.0, "vence_mas_30_dias": 1290000.0, "sin_vencimiento": 0.0,
"creditos_sin_imputar": 2610000.0, "saldo_neto": 35400000.0}
],
"grupos": [
{"grupo": {"proveedor": {"id": 64, "nombre": "Distribuidora Norte S.A.",
"contacto": {"telefono": "4545-5000", "celular": null, "email": null}}},
"moneda": "ARS", "cuotas": 8, "proveedores": 1, "deuda": 15500000.0, "vencido": 14100000.0,
"vencido_1_30": 0.0, "vencido_31_60": 14100000.0, "vencido_61_90": 0.0, "vencido_mas_90": 0.0,
"a_vencer": 1400000.0, "vence_7_dias": 1400000.0, "vence_8_30_dias": 0.0, "vence_mas_30_dias": 0.0,
"sin_vencimiento": 0.0, "creditos_sin_imputar": 0.0, "saldo_neto": 15500000.0}
]
}}
- Buckets: overdue (
vencido_1_30,vencido_31_60,vencido_61_90,vencido_mas_90: days since the due date until today), not yet due (vence_7_dias, from today to 7 days, including what falls due today;vence_8_30_dias;vence_mas_30_dias) andsin_vencimiento(installments with no due date: never counted as overdue).vencido+a_vencer+sin_vencimiento=deuda. saldo_neto= debt − unapplied credits (credit notes and payments on account of the same supplier). A lot of debt more than 90 days overdue with high unapplied credits usually means invoices already paid with payments that were never applied: checksaldo_netobefore treating it as overdue debt.- Only suppliers with debt (according to
estado): each supplier and currency is added up first, then grouped. The credits of a supplier with no debt do not reduce another's.proveedorescounts the suppliers in each group;cuotas, the installments with debt. - Same rules as the supplier's current account: installments of active purchases or active payment plans; active suppliers.
- Per currency, not converted (
conversionis alwaysnull). Do not add up different currencies. - It is today's debt: there are no due dates as of a past date; sending
fechais a400. - For the invoices of one supplier, use its current account (above).
| Parameter | What it does |
|---|---|
agrupar_por |
One or two, comma separated: proveedor (default; each supplier includes its contact details) and categoria_compra (the supplier's). |
estado |
con_deuda (default), vencido (only suppliers with overdue debt) or a_pagar_7_dias (overdue or due within the next 7 days: "what do I have to pay this week"). |
ordenar_por / orden |
deuda (default), vencido, vence_7_dias, vencido_mas_90 or saldo_neto; descendente or ascendente. |
id_proveedor, id_categoria_compra |
Supplier filters, one id or several comma separated. |
limite |
Groups per currency (50 by default, up to 200); the rest are added up in a "resto" group. |
Permissions: the same as the supplier's current account: the
proveedores and compras resources and the ctacte scope (without
it, 403 scope_ctacte_requerido, no partial version).
Billing: per group built by the query before the ranking is trimmed
(every supplier with debt, when grouping by supplier), with the weight of
the most expensive of its resources. Shows up as
reporte:vencimientos_proveedores.
Customer activity: new, lost and retained customers
GET /v1/{cuenta}/reportes/actividad-clientes answers "how many new
customers did I get?" and "am I losing customers?": per month, quarter or
year, the active customers at the start and at the end, the new
ones (their first purchase ever falls in the period), the reactivated
ones (they came back after being inactive), the retained and the
lost ones, with what each group bought.
# the last 12 months (default)
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/actividad-clientes"
{"actividad_clientes": {
"parametros": {"fecha_consulta": "2026-10-07", "ventas_desde": "2025-07-03", "id_vendedor": null,
"id_categoria_cliente": null, "id_zona": null, "periodo": "mes", "periodos": 12,
"dias_actividad": 90, "hasta": "2026-10-07"},
"moneda": "ARS",
"periodos": [
{"periodo": "2026-09", "desde": "2026-09-01", "hasta": "2026-09-30", "parcial": false,
"activos_inicio": 2700, "nuevos": {"clientes": 520, "neto_sin_iva": 202000000.0},
"reactivados": {"clientes": 90, "neto_sin_iva": 53500000.0},
"retenidos": {"clientes": 1780, "neto_sin_iva": 49800000.0},
"perdidos": {"clientes": 940, "una_compra": 810, "recurrentes": 130, "neto_sin_iva": 255000000.0},
"activos_final": 2370, "cierra": true, "neto_otros": -1380000.0,
"neto_sin_iva": 303920000.0, "neto_clientes_genericos": 0.0}
],
"clientes_genericos": [1, 2],
"conversion": {"comprobantes_convertidos": 0, "comprobantes_sin_cotizacion": 0}
}}
- Active means having bought (an invoice) in the last
dias_actividaddays (90 by default): the same "more than N days without buying" rule as customers without purchases. A customer is lost on the day that window runs out; a lost customer's net is that of their last activity window. Electronic invoices without a CAE don't count (since 2026-11-02), not even to tell whether the customer was already buying before. cierrachecks the arithmetic: active at the end = at the start + new- reactivated − lost. A customer can be lost and come back within the same period and counts in both.
una_compra/recurrentes: in accounts with many one-time buyers (MercadoLibre), split the lost customers who bought once from the regulars.- "CONSUMIDOR FINAL" and "CLIENTE EXTRANJERO" are left out (they are not
a person): their ids go in
clientes_genericosand their sales inneto_clientes_genericos.neto_sin_iva+neto_clientes_genericosis the net of grouped sales for the period. - Net without VAT in the main currency, at each sale's exchange rate; credit notes subtract.
| Parameter | What it does |
|---|---|
periodo |
mes (default), trimestre or anio. |
periodos |
How many periods up to hasta (12 by default, 1 to 24). |
dias_actividad |
Days without buying to stop being active (90 by default, 30 to 365). |
hasta |
End of the last period, YYYY-MM-DD (today by default; cannot be later). |
id_vendedor, id_categoria_cliente, id_zona |
Customer filters (the salesperson assigned to the customer), one id or several separated by commas. |
At most 730 days of sales are read (the periods plus dias_actividad):
beyond that, 400 with the advice to ask for fewer periods or in slices
with hasta.
Customer cohorts
GET /v1/{cuenta}/reportes/cohortes-clientes answers "do new customers come
back?": customers grouped by the period of their first purchase ever
(the cohort) and, in each following period, how many bought again and how
much.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/cohortes-clientes?cohortes=6"
{"cohortes_clientes": {
"parametros": {"fecha_consulta": "2026-10-07", "id_vendedor": null, "id_categoria_cliente": null,
"id_zona": null, "periodo": "mes", "cohortes": 6, "hasta": "2026-10-07"},
"moneda": "ARS",
"cohortes": [
{"cohorte": "2026-08", "parcial": false, "clientes": 726, "retencion": [
{"periodo": "2026-08", "desde_alta": 0, "clientes": 726, "porcentaje": 100.0, "neto_sin_iva": 268000000.0},
{"periodo": "2026-09", "desde_alta": 1, "clientes": 16, "porcentaje": 2.2, "neto_sin_iva": 2380000.0},
{"periodo": "2026-10", "desde_alta": 2, "clientes": 4, "porcentaje": 0.6, "neto_sin_iva": 4500000.0}]}
],
"clientes_previos": 227,
"clientes_genericos": [1, 2]
}}
desde_alta0 is the period of the first purchase;porcentaje, those who came back over the cohort size.clientes_previos: customers who bought in the range but were already buying before (they belong to earlier cohorts).- Same rules as customer activity, without the generic customers nor the electronic invoices without a CAE (not for "bought before" either).
| Parameter | What it does |
|---|---|
periodo |
mes (default), trimestre or anio. |
cohortes |
How many up to hasta (12 by default, up to 24; at most 730 days: 24 months, 8 quarters or 2 years). |
hasta |
End of the last period, YYYY-MM-DD (today by default). |
id_vendedor, id_categoria_cliente, id_zona |
Customer filters. |
Customers at risk
GET /v1/{cuenta}/reportes/clientes-en-riesgo answers "which customers buy
less than before?": those who keep buying but below their usual pace.
Those who bought nothing belong to
customers without purchases and are only
counted here.
# by net: the ones who stopped buying the most in the last 90 days
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/clientes-en-riesgo?medida=neto&limite=20"
{"clientes_en_riesgo": {
"parametros": {"fecha_consulta": "2026-10-07", "reciente_desde": "2026-07-10",
"periodo_previo_desde": "2025-07-10", "id_vendedor": null, "id_categoria_cliente": null,
"id_zona": null, "limite": 20, "dias": 90, "periodo_previo_dias": 365,
"compras_minimas": 3, "caida_minima": 50, "medida": "neto"},
"moneda": "ARS",
"totales": {"clientes": 6, "dejo_de_comprar": 1990000.0, "sin_compras_recientes": 348,
"clientes_con_ritmo": 379},
"clientes": [
{"cliente": {"id": 4521, "nombre": "Ferretería Norte", "cuit": "30-71234567-8",
"condicion_iva": "Responsable Inscripto"},
"contacto": {"telefono": "3420000000", "celular": null, "email": null},
"localidad": "Santa Fe", "provincia": "Santa Fe", "vendedor": null, "categoria": null,
"zona": {"id": 12, "nombre": "Zona Santa Fe"}, "ultima_compra": "2026-07-30", "dias_sin_comprar": 69,
"periodo_previo": {"compras": 4, "neto_sin_iva": 2360000.0}, "saldo_por_moneda": [],
"reciente": {"compras": 1, "neto_sin_iva": 20000.0},
"esperado": {"compras": 1.0, "neto_sin_iva": 581917.81},
"caida_porcentaje": 96.6, "dejo_de_comprar": 561917.81}
],
"paginacion": {"cursor": null, "siguiente_cursor": null, "hay_mas": false}
}}
- Recent period: the last
diasdays up to today inclusive; previous: theperiodo_previo_diasbefore it. Expected = the previous period ×dias/periodo_previo_dias. - At risk: bought something in the recent period and fell below
(1 −
caida_minima/100) × expected, with at leastcompras_minimasin the previous period (customers with a pace:totales.clientes_con_ritmo). medida:compras(number of purchases, not distorted by inflation) orneto. By purchases, only frequent buyers can be at risk: if it gives 0, trymedida=neto.- Sorted by
dejo_de_comprar(expected net − recent net). Each customer in the customers-without-purchases format. Electronic invoices without a CAE don't count as purchases (since 2026-11-02).
| Parameter | What it does |
|---|---|
dias |
Recent period (90 by default, 7 to 365). |
periodo_previo_dias |
Previous period (365 by default, up to 730). |
compras_minimas |
Purchases in the previous period to have a pace (3 by default). |
caida_minima |
Drop percentage (50 by default, 1 to 99). |
medida |
compras (default) or neto. |
id_vendedor, id_categoria_cliente, id_zona |
Customer filters. |
limite / cursor |
Customers per page (50 by default, up to 200) and siguiente_cursor for the next ones. |
Permissions for the three customer reports: the clientes and ventas
resources. In customers at risk, saldo_por_moneda only with the customer
current-account permission, as in customers without purchases.
Billing: activity and cohorts, by the customer-day rows they read from
sales; customers at risk, by the customers on the page, their balance rows
and the totals row. They show as reporte:actividad_clientes,
reporte:cohortes_clientes and reporte:clientes_en_riesgo.
Supplier fulfillment
GET /v1/{cuenta}/reportes/cumplimiento-proveedores answers "which supplier
delivers fastest?" and "who leaves orders unfulfilled?": purchase
orders by supplier (or taxpayer or period). Only useful if the account
uses purchase orders.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/cumplimiento-proveedores?fecha_desde=2025-10-01&fecha_hasta=2026-09-30&limite=10"
{"cumplimiento_proveedores": {
"parametros": {"fecha_desde": "2025-10-01", "fecha_hasta": "2026-09-30", "fecha_consulta": "2026-10-07",
"id_proveedor": null, "id_estado": null, "id_contribuyente": null,
"pendiente_de_recibir": null, "agrupar_por": ["proveedor"], "separar_por_moneda": false,
"limite": 10, "ordenar_por": "cantidad"},
"conversion": {"moneda": "ARS", "criterio": "cotizacion_de_cada_comprobante",
"comprobantes_convertidos": 0, "comprobantes_sin_cotizacion": 0},
"totales": [
{"moneda": "ARS", "ordenes": 1848, "completas": 1816, "parciales": 7, "sin_recibir": 25, "abiertas": 25,
"porcentaje_completas": 98.3, "total_pedido": 1955000000.0, "total_recibido": 1861000000.0,
"porcentaje_recibido": 95.2, "dias_primera_recepcion": 9.0, "dias_recepcion_completa": 11.1,
"total_grupos": 31}
],
"grupos": [
{"grupo": {"proveedor": {"id": 128, "nombre": "Distribuidora Norte S.A."}}, "moneda": "ARS",
"ordenes": 396, "completas": 395, "parciales": 0, "sin_recibir": 1, "abiertas": 1,
"porcentaje_completas": 99.7, "total_pedido": 210000000.0, "total_recibido": 209700000.0,
"porcentaje_recibido": 99.9, "dias_primera_recepcion": 6.1, "dias_recepcion_completa": 7.4}
],
"paginacion": {"cursor": null, "siguiente_cursor": "10", "hay_mas": true}
}}
completas: no item with pending or cancelled quantity (the document'sesta_cumplida);parciales: received something;sin_recibir;abiertas: their status does not close them and they still have something to receive.- Ordered and received amounts use each item's price = net × VAT rate
(the item's
totalcolumn is unreliable in old orders). - Days: from the order to the first receipt (of those that received something) and to the full receipt (of the complete ones), by the date of the purchase delivery note or, without one, of the purchase that received it.
- There is no "on time": the promised delivery date is almost never set.
| Parameter | What it does |
|---|---|
agrupar_por |
One or two: proveedor (default), contribuyente, dia, semana or mes (by the order date). |
ordenar_por |
cantidad (default), total_pedido or sin_recibir. |
fecha_desde / fecha_hasta |
By the order date (no dates: the current month; up to 12 months except with id_proveedor). |
id_proveedor, id_estado, id_contribuyente, pendiente_de_recibir |
The purchase-order list filters. |
limite / cursor / separar_por_moneda |
As in the other grouped reports. |
Permissions: the proveedores and compras resources. Billing: by
the groups the query builds (reporte:cumplimiento_proveedores).
Days to collect and days to pay
GET /v1/{cuenta}/reportes/dias-cobro-pago answers "how long do customers
take to pay me?" (de=cliente) and "how long do I take to pay?"
(de=proveedor), with the actual data: each allocation of a receipt or
payment to an installment, weighted by its amount, from the document date
and from its due date.
# days to collect by salesperson, collected in the last 12 months
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/dias-cobro-pago?de=cliente&agrupar_por=vendedor&fecha_desde=2025-10-01&fecha_hasta=2026-09-30"
{"dias_cobro_pago": {
"parametros": {"fecha_desde": "2025-10-01", "fecha_hasta": "2026-09-30", "...": "...",
"de": "cliente", "base": "pago", "agrupar_por": ["vendedor"],
"separar_por_moneda": false, "limite": 50, "ordenar_por": "monto"},
"conversion": null,
"totales": [
{"moneda": "ARS", "imputaciones": 4308, "cobrado": 1618000000.0, "dias_promedio": 7.3,
"dias_atraso_promedio": -11.7, "porcentaje_a_tiempo": 90.4,
"bandas": [{"banda": "dias_0", "monto": 665000000.0, "porcentaje": 41.1},
{"banda": "dias_1_30", "monto": 854000000.0, "porcentaje": 52.8},
{"banda": "dias_31_60", "monto": 79000000.0, "porcentaje": 4.9},
{"banda": "dias_61_90", "monto": 10700000.0, "porcentaje": 0.7},
{"banda": "dias_mas_90", "monto": 9300000.0, "porcentaje": 0.6}],
"total_grupos": 13}
],
"grupos": ["..."],
"paginacion": {"cursor": null, "siguiente_cursor": null, "hay_mas": false}
}}
base=pago(default): what was collected or paid in the period, withdias_promedio(from the document),dias_atraso_promedio(from the due date; negative means early),porcentaje_a_tiempo(of the amount with a due date) and daybandas.base=comprobante: the sales or purchases of the period:cuotas,facturado, what was collected or paid up to today with its days,por_notas_credito,pendientewith itsantiguedad_promedio_pendienteandpendiente_vencido, andcancelado_sin_imputacion(installments whose balance went to 0 without a receipt, payment or note). It adds up: invoiced = collected + notes + pending + cancelled without allocation.- Default exclusions: for customers, mixed cash (payment method 2: it is
collected separately the same day and would push the days to 0; included
if you ask for
id_forma_pago); for suppliers, partner movements (43 to 47) and payment-plan installment invoices (origenfilter). - Amount-weighted averages (not simple: a small old invoice does not dominate). A receipt earlier than the invoice (an advance allocated later) gives negative days. Credit notes are not money: they go apart.
- The allocated amount is in pesos even if the installment is in another
currency: unified it goes as is; with
separar_por_moneda, divided by the allocation's exchange rate.
| Parameter | What it does |
|---|---|
de |
cliente or proveedor (required). |
agrupar_por |
One or two (required): cliente, vendedor, sucursal, forma_pago (customers); proveedor, sucursal, movimiento, categoria (suppliers); dia, semana, mes (by the base date). |
base |
pago (default) or comprobante. |
ordenar_por |
monto (default) or cantidad. |
fecha_desde / fecha_hasta |
On the base date (no dates: the current month; up to 12 months except with id_cliente or id_proveedor). |
| Filters | The sales (customers) or purchases (suppliers) ones: id_cliente, id_vendedor, id_forma_pago, id_proveedor, id_movimiento, id_categoria, id_sucursal, moneda… |
limite / cursor / separar_por_moneda |
As in the other grouped reports. |
Permissions: customers, the clientes, cobros and ventas
resources; suppliers, proveedores, pagos and compras (both bases
publish the invoiced amount and accept document filters; ventas and
compras are required since 2026-10-09). In the document base, pendiente,
pendiente_vencido, antiguedad_promedio_pendiente and
cancelado_sin_imputacion only with that side's current-account
permission (without it, those fields are not returned). Filtering by
estado_cobranza or estado_pago without it is 403. Billing: by the
groups the query builds (reporte:dias_cobro_pago_cliente or
reporte:dias_cobro_pago_proveedor).
VAT position
GET /v1/{cuenta}/reportes/posicion-iva answers "how much VAT will I pay
this month?": the estimated monthly VAT settlement per taxpayer, with
the concepts and rules of Cianbox's VAT settlement. By default, the current
month (with a projection to month end) and the previous one.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/posicion-iva"
{"posicion_iva": {
"parametros": {"periodo": "2026-10", "meses": 2, "id_contribuyente": null, "fecha_consulta": "2026-10-07"},
"moneda": "ARS",
"contribuyentes": [
{"contribuyente": {"id": 0, "razon": "EMPRESA S.A.", "cuit": "30-71234567-8",
"condicion_iva": "Responsable Inscripto"},
"periodos": [
{"mes": "2026-09", "parcial": false,
"debito_fiscal": {"ventas": 5120000.0, "notas_credito_compras": 330000.0, "total": 5450000.0},
"ventas_sin_debito": {"exentas": 0.0, "no_gravadas": 0.0},
"credito_fiscal": {"compras": 4360000.0, "notas_credito_ventas": 190000.0, "bancos": 5000.0,
"total": 4555000.0},
"saldo_tecnico_anterior": null, "saldo_tecnico": -895000.0,
"pagos_a_cuenta": {"percepciones_compras": 160000.0, "retenciones_cobros": 0.0,
"retenciones_bancos": 3500.0, "percepciones_bancos": 700.0, "total": 164200.0},
"saldo_libre_disponibilidad_anterior": null,
"determinacion": {"saldo_a_pagar": 730800.0, "saldo_tecnico_a_favor": 0.0,
"saldo_libre_disponibilidad": 0.0},
"liquidacion_cianbox": null},
{"mes": "2026-10", "parcial": true, "...": "...",
"proyeccion": {"metodo": "lineal", "dias_transcurridos": 7, "dias_del_mes": 31, "...": "..."},
"liquidacion_cianbox": null}
]}
],
"consolidado": null,
"contribuyentes_excluidos": []
}}
- Output VAT (
debito_fiscal): VAT on fiscal sales and on purchase credit notes. Input VAT (credito_fiscal): VAT on fiscal purchases (by accounting date), on sales credit notes and on VAT bank movements. Payments on account: perceptions on purchases, withholdings on receipts, and bank withholdings and perceptions. All in pesos at each document's exchange rate. - Determination, as in Cianbox: technical balance = input − output; if
in favor, it adds to the previous technical balance; otherwise the net
output first consumes the previous technical balance and then the freely
available one (previous plus payments on account); the rest is the
saldo_a_pagar. - Previous balances: from the previous month's settlement saved in
Cianbox. If there is none,
null(0 is used): the result may change. Each month bringsliquidacion_cianboxwhen a saved one exists, to compare. - Current month: the position up to today (
parcial: true) and a linearproyeccionto month end. Purchases are entered late: the projected input VAT tends to fall short. - Per taxpayer: the main one (
id0) and the account's others; without monotributo taxpayers (contribuyentes_excluidos). With more than one,consolidadoadds up all their months, for reference only: the tax return is per taxpayer. - It is an estimate with the loaded data: it does not replace the accountant's tax return.
| Parameter | What it does |
|---|---|
periodo |
YYYY-MM, the last month (today's by default; cannot be later). |
meses |
How many months up to periodo (2 by default, up to 12). |
id_contribuyente |
One id or several separated by commas (0 = the main taxpayer). |
Permissions: the ventas and compras resources. Billing: by the
rows it reads (taxpayers, sales per register and month, purchases,
withholdings and bank movements per month, and concepts of the saved
settlements). It shows as reporte:posicion_iva.
Gross income tax position
GET /v1/{cuenta}/reportes/posicion-iibb answers "how much did I sell in
each province and how much do I have on account of gross income tax
(ingresos brutos)?": per taxpayer, month and province, the tax base, the
payments on account (perceptions and withholdings suffered) and what was
collected as a withholding agent and has to be deposited. By default, the
current month and the previous one. The tax itself is only estimated if you
pass the rates (see estimacion).
# without an estimate
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/posicion-iibb"
# with an estimate: the JSON is URL-encoded (-G sends it as a query string)
curl -G -H "X-API-Key: YOUR_KEY" \
--data-urlencode 'periodo=2026-09' \
--data-urlencode 'meses=1' \
--data-urlencode 'estimacion={"regimen":"local","jurisdiccion":1,"alicuotas":{"12":3.0,"general":3.5}}' \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/posicion-iibb"
{"posicion_iibb": {
"parametros": {"periodo": "2026-09", "meses": 1, "id_contribuyente": null, "actividad_por": "producto",
"estimacion": {"regimen": "local", "jurisdiccion": 1, "alicuotas": {"12": 3.0, "general": 3.5}},
"fecha_consulta": "2026-10-07"},
"moneda": "ARS",
"contribuyentes": [
{"contribuyente": {"id": 0, "razon": "EMPRESA S.A.", "cuit": "30-71234567-8",
"condicion_iva": "Responsable Inscripto"},
"periodos": [
{"mes": "2026-09", "parcial": false,
"base_imponible": 8000000.0, "pagos_a_cuenta": 155000.0, "a_depositar_como_agente": 80000.0,
"por_provincia": [
{"provincia": {"id": 1, "nombre": "Buenos Aires"},
"base_imponible": {"neto": 5200000.0, "por_actividad": [
{"actividad": {"id": 12, "nombre": "Venta al por menor de artículos de ferretería", "codigo_afip": "475210"},
"neto": 3900000.0},
{"actividad": {"id": 15, "nombre": "Servicios de instalación", "codigo_afip": "439990"},
"neto": 1300000.0}]},
"pagos_a_cuenta": {
"percepciones_sufridas": {"ingresos_brutos": 85000.0, "convenio_multilateral": 0.0, "cantidad": 14},
"retenciones_sufridas": {"ingresos_brutos": 30000.0, "convenio_multilateral": 0.0, "cantidad": 3,
"de_liquidaciones_tarjetas": 12000.0},
"total": 115000.0},
"agente": {
"percepciones_aplicadas": {"ingresos_brutos": 62000.0, "convenio_multilateral": 0.0, "cantidad": 20},
"retenciones_aplicadas": {"ingresos_brutos": 18000.0, "convenio_multilateral": 0.0, "cantidad": 4},
"total": 80000.0}},
{"provincia": {"id": 4, "nombre": "Córdoba"},
"base_imponible": {"neto": 2300000.0, "por_actividad": [
{"actividad": {"id": 12, "nombre": "Venta al por menor de artículos de ferretería", "codigo_afip": "475210"},
"neto": 2300000.0}]},
"pagos_a_cuenta": {
"percepciones_sufridas": {"ingresos_brutos": 0.0, "convenio_multilateral": 40000.0, "cantidad": 5},
"retenciones_sufridas": {"ingresos_brutos": 0.0, "convenio_multilateral": 0.0, "cantidad": 0,
"de_liquidaciones_tarjetas": 0.0},
"total": 40000.0},
"agente": null},
{"provincia": null,
"base_imponible": {"neto": 500000.0, "por_actividad": [{"actividad": null, "neto": 500000.0}]},
"pagos_a_cuenta": null, "agente": null}
],
"impuesto_estimado": {
"regimen": "local",
"jurisdicciones": [
{"provincia": {"id": 1, "nombre": "Buenos Aires"}, "coeficiente": 1.0, "base_imponible": 8000000.0,
"impuesto": 249000.0, "pagos_a_cuenta": 115000.0, "saldo": 134000.0}],
"impuesto": 249000.0, "pagos_a_cuenta": 115000.0, "saldo": 134000.0,
"actividades_sin_alicuota": [],
"pagos_a_cuenta_de_otras_provincias": [
{"provincia": {"id": 4, "nombre": "Córdoba"}, "pagos_a_cuenta": 40000.0}]}}
]}
]
}}
This is the response of the second call. Without estimacion,
parametros.estimacion and impuesto_estimado are null.
- Tax base: the month's fiscal sales, the same ones the VAT position
counts. It is the net without VAT, in pesos at each document's
exchange rate; credit notes subtract. It is broken down by the province
of the customer's tax address: sales to customers with no province go in
a separate entry, with
provinciaasnull. Within each province,por_actividadbreaks it down by economic activity (largest first), withactividadasnullif there is none. The activity comes from the product sold (actividad_por=producto, the default) or from the sales register (actividad_por=talonario). - Payments on account: the perceptions suffered on purchases and the
withholdings suffered on collections and on card settlements (what the
card company deducts when it settles), of gross income tax and of the
Convenio Multilateral, by the province of the perception or withholding
type. They are subtracted from that province's tax.
cantidadis how many there are;retenciones_sufridas.de_liquidaciones_tarjetas, how much of what was withheld came from cards (already included above).nullif the province had none. - Bank withholdings: SIRCREB and SIRTAC (gross income tax withheld on
bank accounts) have no province: they go in the entry with
provincianull, inpagos_a_cuenta.retenciones_bancarias_sufridas(sircreb,sirtacandcantidad; only if there were any). Since 2026-10-09 the payments on account include cards and banks: before they were missing, and the same month may now show more. The detail, one by one, is in the perceptions and withholdings list. - As a withholding agent: the perceptions applied on your sales and
the withholdings applied on your payments, to be deposited (
agente). For the month,pagos_a_cuentaanda_depositar_como_agenteadd up all the provinces. - It does not calculate the tax, unless you pass
estimacion: Cianbox does not store rates or coefficients. With it, each month bringsimpuesto_estimado(otherwisenull): local: the whole base (from all the customers' provinces) times the rate of each activity (or thegeneralone), in the taxpayer'sjurisdiccion.convenio_multilateral: the base of each activity is split by thecoeficientes(not by the customer's province) and each province's rate is applied.- Each jurisdiction has its payments on account subtracted (those suffered
in that province): a positive
saldois payable, a negative one is in your favor. An activity with no rate (and nogeneral) is not calculated and is listed inactividades_sin_alicuota. Payments on account from provinces that are not in the estimate are not subtracted from any: they go inpagos_a_cuenta_de_otras_provincias(so do the SIRCREB and SIRTAC bank withholdings, withprovincianull). - Left out: previous balances, minimums, deductions and special regimes. It is an estimate, not the tax return.
- With several taxpayers, the same estimate applies to all of them:
request it with
id_contribuyente. estimacionformat: a JSON in the query string (URL-encoded). Local regime:{"regimen":"local","jurisdiccion":<province id>,"alicuotas":{"<activity id>":<percentage>,"general":<percentage>}}. Convenio Multilateral:{"regimen":"convenio_multilateral","coeficientes":{"<province id>":<0 to 1>},"alicuotas":{"<province id>":<percentage> or {"<activity id>":<percentage>,"general":<percentage>}}}. Province and activity ids come frompor_provinciaandpor_actividad.- Validations (
400with the reason):estimacionmust be an object withregimen(localorconvenio_multilateral) andalicuotas; each rate, a percentage from 0 to 100; in the local regime,jurisdiccionis required; in the Convenio, at least one coefficient is needed, from 0 to 1, adding up to no more than 1, and rates only for provinces that have a coefficient.
| Parameter | What it does |
|---|---|
periodo |
YYYY-MM, the last month (today's by default; cannot be later). |
meses |
How many months up to periodo (2 by default, up to 12). |
id_contribuyente |
One id or several separated by commas (0 = the main taxpayer). |
actividad_por |
Where the economic activity comes from: producto (default, the sold item's) or talonario. |
estimacion |
JSON with the rates (and the Convenio coefficients) to estimate the tax. Optional. |
Permissions: the ventas and compras resources. Billing: by the
rows it reads (sales grouped by register, month, province and activity;
grouped perceptions and withholdings; taxpayers). It shows as
reporte:posicion_iibb.
Sales and purchases VAT books
GET /v1/{cuenta}/reportes/libro-iva-ventas and
GET /v1/{cuenta}/reportes/libro-iva-compras: Cianbox's VAT book
("Libro I.V.A. Ventas" and "Libro I.V.A. Compras"), broken down by rate.
One document per row, with its amounts in pesos and its breakdown by rate,
and the period totals. It is for the accountant and for integrations (API
only); for "how much VAT do I pay?", see the VAT position.
# the September sales book, 500 documents per page
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/libro-iva-ventas?periodo=2026-09&limite=500"
Each row has id, fecha, tipo, comprobante, letra, punto_venta,
numero, numero_completo, id_contribuyente, tercero (id, nombre,
documento, condicion_iva, provincia), anulado, moneda,
cotizacion, the amounts in pesos (gravado, no_gravado, exento,
iva, percepcion_iva, percepcion_iibb, percepcion_otras,
impuestos_internos, total) and alicuotas (iva_alicuota, gravado,
iva). Purchases also bring fecha_comprobante and
fecha_contabilizacion.
- Which documents, like Cianbox's book: current sales, without
Adjustments or Debit Notices; current purchases, without payment-plan
installments, without those excluded from VAT and without partners'
contributions and loans. Without provisional documents by default (sales:
fiscal sales point, letter and document type, and printed fiscal printer,
electronic with CAE or manual; purchases: fiscal letter and document
type);
incluir_provisorios=trueadds them. - Amounts in pesos, at each document's exchange rate. Credit notes
are positive with their
tipo: subtract them when adding up (thetotalesalready do). A voided document comes with amounts in 0 andanulado: true. A C invoice, all exempt and without rates. alicuotas: on sales, with a single rate, the header amounts; with several, the sum of the items. On purchases, always the items (like Cianbox: it may differ from the header by cents). Exempt, non-taxed and 0 % add up under 0.totales(documents, voided, each amount andpor_alicuota) for the whole period, only on the first page. Walk the next ones with?cursor=equal topaginacion.siguiente_cursor(sorted by date and id).
| Parameter | What it does |
|---|---|
periodo |
YYYY-MM (defaults to the previous month, like Cianbox's form). |
fecha_desde / fecha_hasta |
Instead of periodo (both; up to 366 days). |
tipo_fecha |
Purchases only: the book's date, contabilizacion (default, Cianbox's fiscal period), comprobante or carga. |
id_contribuyente |
One or several (0 = the main one): on sales, the sales point's; on purchases, the purchase's. |
incluir_provisorios |
true adds non-fiscal documents or those without CAE (default false). |
limite / cursor |
Documents per page (200 by default, up to 1000) and the next page. |
Permissions: sales, the ventas resource; purchases, compras. No
sensitive fields. Billing: the documents on the page plus, on the
first one, the totals and their rates. It shows up as
reporte:libro_iva_ventas or reporte:libro_iva_compras.
Perceptions and withholdings list
GET /v1/{cuenta}/reportes/listado-percepciones-retenciones: one row per
perception or withholding, suffered or applied, of any tax, to
reconcile with ARCA and the provinces. The VAT and gross income tax
positions give totals; this list gives the detail. It gathers:
- perceptions on purchases (suffered) and on sales (applied);
- withholdings on collections (suffered), on card settlements (suffered: what the card company deducts when it settles) and on payments (applied);
- bank ones (suffered): SIRCREB and SIRTAC (gross income tax), income tax (Ganancias), VAT and the VAT perception.
# what cards and banks withheld in July
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/listado-percepciones-retenciones?fecha_desde=2026-07-01&fecha_hasta=2026-07-31&origen=liquidacion_tarjeta,banco"
- Each row:
fecha,tipo(percepcionorretencion),lado(sufridaoraplicada),origen(compra,venta,cobro,liquidacion_tarjeta,pagoorbanco),impuesto(idandnombre; bank income tax comes withoutid),provincia,regimen,base_imponibleandalicuota(nullif they were not loaded: almost no purchase perception stores them),montoin pesos (perceptions, at the document's exchange rate), the withholding'scertificado(nullfor perceptions and bank ones), the sourcedocumento(recursoandid, to open its detail; card settlements are in the card vouchers) andtercero(customer, supplier, card, bank or bank account). - Dates: purchases, by their accounting date; the rest, by their date. Defaults to the previous month (the one being filed); up to 366 days.
totales(first page only): by type and side (percepcion_sufridas,retencion_aplicadas…), withcantidad,montoandpor_impuesto(tax and province, largest amount first). For "how much was perceived from me?", read the totals: no need to add up rows.- Pagination: by date, source and id; cursor
fecha:fuente:id.
| Parameter | What it does |
|---|---|
fecha_desde / fecha_hasta |
YYYY-MM-DD (both; defaults to the previous month). |
tipo |
percepcion or retencion. |
lado |
sufrida (charged to the company) or aplicada (charged by it as an agent). |
origen |
One or several, comma-separated (see above). An empty element (banco,) is a 400 (change on 2026-10-13: it used to be taken as compra). |
id_impuesto |
One or several: 2 VAT, 3 gross income tax, 4 Convenio Multilateral (the rest change from account to account). |
id_provincia / id_contribuyente |
One or several (taxpayer 0 = the main one). |
limite / cursor |
Rows per page (200 by default, up to 1000) and the next page. |
Permissions, by source (its document's category): purchases, the
compras resource; sales, ventas; collections and card settlements, the
Caja category (cobros and pagos); payments, pagos, proveedores and
compras (like the payments list); bank ones, movimientos_bancarios. At
least one is required. Without origen, the list only brings the ones your
key can read (parametros.origen says which); asking for one it cannot read
is 403. Billing: the rows on the page plus, on the first one, the
totals rows. It shows up as reporte:listado_percepciones_retenciones.
Subscription evolution
GET /v1/{cuenta}/reportes/evolucion-abonos answers "how many subscriptions
(abonos) do I have and how much do they bring in per month?": per month, the
active subscriptions, the new ones and the cancelled ones, the recurring
revenue without VAT and how it changed compared to the previous month. By
default, the last 12 months.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/evolucion-abonos?meses=2"
{"evolucion_abonos": {
"parametros": {"periodo": "2026-10", "meses": 2, "fecha_consulta": "2026-10-07",
"id_cliente": null, "id_contribuyente": null},
"moneda": "ARS",
"meses": [
{"mes": "2026-09", "parcial": false,
"abonos": {"activos_inicio": 118, "altas": 6, "bajas": 3, "activos_final": 121, "cierra": true},
"ingreso_recurrente": {"prorrateado": 4850000.0, "facturado_en_mes": 5210000.0,
"promedio_por_abono": 40083.33},
"variacion": {"anterior": 4620000.0, "nuevos": 190000.0, "reactivados": 30000.0, "aumentos": 120000.0,
"disminuciones": 15000.0, "cancelados": 95000.0},
"anomalias": {"activos_sin_facturar": 4, "facturados_fuera_de_vigencia": 1}},
{"mes": "2026-10", "parcial": true,
"abonos": {"activos_inicio": 121, "altas": 2, "bajas": 0, "activos_final": 123, "cierra": true},
"ingreso_recurrente": {"prorrateado": 4720000.0, "facturado_en_mes": 1380000.0,
"promedio_por_abono": 41052.17},
"variacion": {"anterior": 4850000.0, "...": "..."},
"anomalias": {"activos_sin_facturar": 31, "facturados_fuera_de_vigencia": 0}}
],
"abonos_fechas_inconsistentes": 1
}}
- New and cancelled: the start is the subscription's
fecha_alta(if missing, the beginning of its first invoiced period); the end, itsvigente_hasta(empty means no end). A deleted subscription ends with its last invoiced period. If the end is earlier than the start, it was never active: it is not counted in any month and is reported inabonos_fechas_inconsistentes.activos_final=activos_inicio+altas−bajas;cierrachecks it. - Recurring revenue, net without VAT in pesos.
prorrateado: each invoice split into equal parts among the months of the period it covers (an annual subscription, 1/12 per month).facturado_en_mes: what was invoiced in the month by the sale date (an annual one enters whole in the month of its invoice).promedio_por_abonois the prorated amount over the subscriptions with revenue in the month. - Variation: the month's prorated amount closes with the previous
month's (
anterior) plusnuevos(started in the month or the previous one),reactivados(invoiced again),aumentos, minusdisminucionesandcancelados, subscription by subscription. Increases are usually price updates, not new customers. - Sales that invoice several subscriptions: each line goes to the subscription that has that product and the rest is split in proportion to each subscription's defined amount; then it is brought to the sale header's net.
- Anomalies:
activos_sin_facturar(subscriptions active in the month with no invoiced period) andfacturados_fuera_de_vigencia. The current month isparcial: its unbilled active ones may be subscriptions that have not been invoiced yet.
| Parameter | What it does |
|---|---|
periodo |
YYYY-MM, the last month (today's by default, which is partial; cannot be later). |
meses |
How many months up to periodo (12 by default, up to 24). |
id_cliente |
One id or several separated by commas. |
id_contribuyente |
The taxpayer of the subscription's register. One id or several separated by commas (0 = the main one). |
Permissions: the abonos resource. Billing: by the rows it reads
(subscriptions, invoicings and, for grouped sales, their lines and the
subscriptions' products). It shows as reporte:evolucion_abonos.
In the current month, anomalias adds sin_facturar_por_estado: the
unbilled active subscriptions split with the classification of the report
below (pendiente, postergado, nunca_facturado, con_hueco,
en_curso), so it ties out with it. In the other months it is null (the
subscription only stores its current dates); if there are none, it comes as
an empty list.
Subscriptions pending invoicing
GET /v1/{cuenta}/reportes/abonos-pendientes-facturar answers "which
subscriptions are still to be invoiced, why and since when?": the
subscriptions active at a date (today by default) with their invoicing
status, using the same criterion as Cianbox's pending-subscriptions screen
(the next invoicing date). By default it lists all but the ones up to date,
the overdue ones first.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/abonos-pendientes-facturar?estado=pendiente,postergado&limite=1"
{"abonos_pendientes_facturar": {
"parametros": {"fecha": "2026-11-02", "id_cliente": null, "id_forma_pago": null, "id_contribuyente": null,
"periodicidad": null, "estado": ["pendiente", "postergado"], "tramo": null,
"limite": 1, "cursor": null},
"moneda": "ARS",
"criterios": {"pendiente": "Su fecha de próxima facturación ya llegó: ...", "postergado": "...", "...": "..."},
"totales": {
"cantidad": 207, "con_facturas_sin_cae": 3,
"por_estado": [{"estado": "pendiente", "cantidad": 170, "importe_pendiente": 41250000.0, "impacto_mensual": 27800000.0},
{"estado": "postergado", "cantidad": 37, "importe_pendiente": 9800000.0, "impacto_mensual": 3100000.0}],
"por_tramo": [{"tramo": "1", "cantidad": 165, "importe_pendiente": 30100000.0, "impacto_mensual": 24900000.0},
{"tramo": "2", "cantidad": 14, "...": "..."},
{"tramo": "3_o_mas", "cantidad": 28, "...": "..."}]
},
"abonos": [
{"id": 812, "nombre": "Mantenimiento mensual",
"cliente": {"id": 1543, "nombre": "ACME SA", "cuit": "30-71111111-2", "condicion_iva": "Responsable Inscripto"},
"forma_pago": {"id": 1, "nombre": "Cuenta corriente"},
"periodicidad": "mensual", "modo": "fijo_siguiente",
"fecha_alta": "2024-03-01", "vigente_hasta": null,
"ultimo_periodo": "2026-01-01", "proximo_periodo": "2026-02-01",
"ultima_facturacion": "2026-01-02", "proxima_facturacion": "2026-02-01",
"estado": "pendiente", "cianbox_lo_factura": true,
"periodos_sin_facturar": 10, "atrasado_desde": "2026-02-01", "dias_de_atraso": 274, "tramo": "3_o_mas",
"huecos": [], "facturas_sin_cae": [],
"importe_por_periodo": 60500.0, "neto_por_periodo": 50000.0,
"importe_pendiente": 605000.0, "impacto_mensual": 50000.0}
],
"paginacion": {"limite": 1, "siguiente_cursor": "1", "hay_mas": true}
}}
- Statuses (mutually exclusive, in this order;
criteriosexplains them in the response, in Spanish): pendiente: the next invoicing date has arrived. It is what Cianbox's subscription invoicing picks up (cianbox_lo_factura: true).postergado(deferred): the date is further ahead, but there are already finished periods without an invoice (the date was moved, e.g. by hand). It is not a delay of Cianbox's invoicing: it is shown apart. A subscription is deferred with more than one started period unbilled; in the modes that invoice after the period ends (fijo_anterior,despues_fin), with more than two, because there having two until the invoicing date is normal.nunca_facturado: active since it was created, with no invoice at all.en_curso: the current period unbilled because its date has not arrived yet. This is normal, not a delay.con_hueco: up to date, but with skipped periods between the invoiced ones (huecos, with their dates).al_dia: invoiced up to the current period or the next. Only withestado=al_dia(or by asking for it in the list).- What the subscription stores:
proximo_periodois the start of the next period to invoice (the day after the end of the last invoiced one),ultimo_periodothe start of the last invoiced one andultima_facturacionthe date of its sale.proxima_facturacioncan be before or after the period depending on themodo(fijo_siguienteinvoices in advance;fijo_anterior, after the period ends) and because it can be edited by hand. - Delay:
periodos_sin_facturarare the periods that already started since the next one to invoice (nullif the periodicity is not one of the known ones);atrasado_desdeis the invoicing date for a pending one, the start of the first period that is no longer normal for a deferred one and the creation date for a never-invoiced one;dias_de_atrasocounts from there;tramo(1,2or3_o_masperiods) only for the overdue ones. - Amounts, in the main currency:
importe_por_periodo(the total stored in the subscription, VAT included if the register is fiscal),neto_por_periodo,importe_pendiente(the started, unbilled periods at the current price) andimpacto_mensual(the net brought to one month: an annual one, 1/12; its weight in the recurring revenue ofevolucion-abonos). facturas_sin_cae: periods invoiced with an electronic sale without CAE ({id_venta, desde, hasta}). They count as invoiced, because Cianbox already moved the next invoicing, but the invoice is not authorized: it has to be re-invoiced or voided.totales.con_facturas_sin_caecounts the subscriptions with any.- Totals by status and by range, over everything filtered (not the
page): for "how many" or "how much is left to invoice", read them.
cantidadis the number of filtered subscriptions.
| Parameter | What it does |
|---|---|
fecha |
YYYY-MM-DD, the query date (today by default). It changes which periods have started and which invoicing dates have arrived. |
estado |
One or several separated by commas: pendiente, postergado, nunca_facturado, con_hueco, en_curso, al_dia. By default, all but al_dia. |
tramo |
1, 2 or 3_o_mas unbilled periods, one or several (only the overdue ones: pending, deferred and never invoiced). |
periodicidad |
One or several: semanal, quincenal, mensual, bimestral, trimestral, cuatrimestral, semestral, anual, bianual. |
id_cliente, id_forma_pago |
One id or several separated by commas. |
id_contribuyente |
The taxpayer of the subscription's register. One id or several (0 = the main one). |
limite |
Subscriptions per page (50 by default, up to 200). |
cursor |
paginacion.siguiente_cursor from the previous page. |
A filter not in this list, a status, range or periodicity that does not
exist, or a malformed date is a 400 filtro_invalido.
Permissions: the abonos resource. Billing: by the rows it reads
(the subscriptions active at the date and their invoiced periods), with the
abonos weight; the page only trims what is returned. It shows as
reporte:abonos_pendientes_facturar.
The GET /v1/{cuenta}/abonos listing filters by facturacion=pendiente
(Cianbox's same criterion) and by periodicidad, and brings
total_por_periodo in its totals: see
abonos.
Accounting
Cianbox's accounting stores journal entries: the trial balance, the
general ledger, the journal and the financial statements are views of their
lines, like Cianbox's own reports. Always over current entries and lines and
for one taxpayer (books are per taxpayer; id_contribuyente, 0 the main
one, by default). Amounts in the main currency, as stored in the entries.
- Default period: the current fiscal year. Accounting runs by one-year
fiscal years, ending on the closing day and month configured in Cianbox
(the taxpayer's own, if it has one; otherwise the configuration's). With no
dates, from the day after the last closing until today: with a 30/06
closing, on 2026-10-09 it takes 2026-07-01 to 2026-10-09.
parametros.ejerciciobrings the fiscal year that containsfecha_hasta(inicio,cierreandcierre_configurado;nullif the account has no valid closing) andparametros.cruza_cierreistrueif the range starts in a previous fiscal year (it mixes two). Without a configured closing, the taxpayer's last opening entry if it is from the last year and, otherwise, January 1st.parametros.fecha_desde_porsays which one was used (inicio_del_ejercicio,ultima_apertura,inicio_del_anioorfiltro). The range allows up to 731 days (two fiscal years). To compare, ask for whole fiscal years: the previous one ends the day beforeejercicio.inicio. - Closing loaded in another format. The closing is read as day and
month, as Cianbox does: also with a year (
31/12/2025,30/12/26), spaces or a hyphen (30-06). If what is loaded cannot be read as day and month (for example,31 maror a name), the last opening entry or January 1st is used andparametros.cierre_no_reconocidobrings that text (nullif there is no closing loaded or it was read): the closing should be fixed in the Cianbox configuration.
Change on 2026-10-13: the default period follows the configured closing. It used to start at the last opening entry loaded: if the current year's opening had not been loaded yet, it also took the previous year (and with an opening older than 731 days it returned
400). For those accounts, the trial balance, the ledger, the journal and the income statement without dates now bring only the current fiscal year, and in the balance sheet the result of a closed year that was never transferred moves tode_ejercicios_anteriores. The response addsparametros.ejercicioandparametros.cruza_cierre(the balance sheet,parametros.ejercicio). - Lines without an account: a line whose account does not exist in the chart of accounts (or has none) is an anomaly and is not shown, as in Cianbox; totals andbalanceadocome from the lines with an account. - Section (rubro) of each account:activo,pasivo,patrimonio_neto,resultados_negativosorresultados_positivos(nullif the account has no known one). - Permissions: theasientosresource (accounting category), in all five.
Trial balance
GET /v1/{cuenta}/reportes/balance-sumas-saldos: per account of the chart,
the previous balance, the period's debit and credit and the balance, like
Cianbox's "Sumas y Saldos".
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/balance-sumas-saldos?nivel_maximo=1&fecha_desde=2025-07-01&fecha_hasta=2026-06-30"
{"balance_sumas_saldos": {
"parametros": {"fecha_desde": "2025-07-01", "fecha_hasta": "2026-06-30", "fecha_desde_por": "filtro",
"id_contribuyente": 0,
"ejercicio": {"inicio": "2025-07-01", "cierre": "2026-06-30", "cierre_configurado": "30/06"},
"cruza_cierre": false, "cierre_no_reconocido": null,
"separar_apertura": false, "incluir_sin_movimientos": false,
"nivel_maximo": 1},
"cuentas": [
{"cuenta": {"id": 1, "codigo": "10000000", "nombre": "ACTIVO"}, "nivel": 1, "rubro": "activo",
"imputable": false, "id_cuenta_madre": null, "vigente": true,
"saldo_anterior": 0.0, "debe": 18250000.0, "haber": 11400000.0, "saldo": 6850000.0,
"deudor": 6850000.0, "acreedor": 0.0}
],
"totales": {"saldo_anterior": 0.0, "debe": 41200000.0, "haber": 41200000.0, "saldo": 0.0,
"deudor": 9300000.0, "acreedor": 9300000.0, "balanceado": true},
"avisos": null
}}
saldo_anterioris debit minus credit of everything beforefecha_desde;saldo= previous balance + debit − credit (positive, debit balance; negative, credit balance).- Parent accounts accumulate all their descendants, by each account's
parent (not by level, which some charts have wrong). A postable account
with children (fixed assets with their depreciation) accumulates too and
brings its own amounts in
propio. totalesadds each account's own amounts (parents are not counted twice);balanceadosays whether debit equals credit.avisos(nullwhen there is nothing):asientos_desbalanceadosin the period (count, difference and up to 50 entries),cuentas_imputables_con_hijasandmovimientos_en_cuentas_no_imputables. With unbalanced entries the trial balance does not add up.
| Parameter | What it does |
|---|---|
fecha_desde, fecha_hasta |
YYYY-MM-DD. See the default period above; up to 731 days. |
id_contribuyente |
Only one (0, the main one, by default). |
separar_apertura |
true/false (false): the period's opening entry becomes the previous balance. |
nivel_maximo |
Only accounts up to that level (1: the sections). |
incluir_sin_movimientos |
true/false (false): also accounts with no balance or movements. |
Billing: by the per-account sums, the unbalanced entries and the chart
of accounts it reads. Shown as reporte:balance_sumas_saldos.
General ledger
GET /v1/{cuenta}/reportes/libro-mayor?id_cuenta=…: an account's lines in the
period, by date and entry number, with the running balance, like Cianbox's
"Mayores". Cursor-paginated.
{"libro_mayor": {
"parametros": {"fecha_desde": "2025-07-01", "fecha_hasta": "2026-06-30", "fecha_desde_por": "filtro",
"id_contribuyente": 0,
"ejercicio": {"inicio": "2025-07-01", "cierre": "2026-06-30", "cierre_configurado": "30/06"},
"cruza_cierre": false, "cierre_no_reconocido": null,
"id_cuenta": 12},
"cuenta": {"id": 12, "codigo": "11101001", "nombre": "Caja", "nivel": 4, "imputable": true, "id_moneda": 1},
"saldo_anterior": 150000.0,
"cantidad_anterior": null,
"totales": {"renglones": 493, "debe": 9200000.0, "haber": 8900000.0, "saldo_final": 450000.0},
"renglones": [
{"id": 88001, "fecha": "2025-07-01",
"asiento": {"id": 6001, "numero": 1, "titulo": "Asiento de apertura", "tipo": "apertura"},
"concepto": null, "debe": 150000.0, "haber": 0.0, "saldo": 300000.0}
],
"paginacion": {"limite": 2, "siguiente_cursor": "2025-07-03:4:6004:88017", "hay_mas": true}
}}
saldo_anterior: debit minus credit of everything beforefecha_desde. Each line brings the runningsaldo; withcursor, it continues from the previous page.- If the account is not postable (a parent), it brings the lines of all
its descendants, each with its
cuenta. - In an account in another currency, each line brings
cantidadandcantidad_acumulada(the amount in the account's currency), andcantidad_anteriorstops beingnull. totales(lines, debit, credit andsaldo_final) only on the first page.
| Parameter | What it does |
|---|---|
id_cuenta |
Required: an account of the chart (plan_cuentas of GET /v1/{cuenta}/catalogos, or the trial balance rows). If it does not exist, 400. |
fecha_desde, fecha_hasta, id_contribuyente |
As in the trial balance. |
limite |
Lines per page: 200 by default, up to 1000. |
cursor |
The previous page's paginacion.siguiente_cursor. |
Billing: by the chart of accounts and the page's lines. Shown as
reporte:libro_mayor.
Journal
GET /v1/{cuenta}/reportes/libro-diario: the period's entries, each with its
lines, like Cianbox's "Libro Diario". API only (in the MCP, the entries
listing and document). Cursor-paginated.
{"libro_diario": {
"parametros": {"fecha_desde": "2025-07-01", "fecha_hasta": "2026-06-30", "fecha_desde_por": "filtro",
"id_contribuyente": 0,
"ejercicio": {"inicio": "2025-07-01", "cierre": "2026-06-30", "cierre_configurado": "30/06"},
"cruza_cierre": false, "cierre_no_reconocido": null,
"numero_desde": null, "numero_hasta": null},
"totales": {"asientos": 412, "renglones": 3950, "debe": 41200000.0, "haber": 41200000.0,
"asientos_desbalanceados": 0, "numeros_repetidos": 0, "numeros_fuera_de_orden": 3},
"asientos": [
{"id": 6012, "numero": 12, "fecha": "2025-08-01", "ejercicio_desde": "2025-07-01",
"titulo": "Ventas de julio", "observaciones": null,
"tipo": {"codigo": "ventas", "descripcion": "Ventas"},
"periodo": {"desde": "2025-07-01", "hasta": "2025-07-31"},
"renglones": [
{"id": 88101, "cuenta": {"id": 12, "codigo": "11101001", "nombre": "Caja"}, "concepto": null,
"debe": 121000.0, "haber": 0.0},
{"id": 88102, "cuenta": {"id": 301, "codigo": "51100000", "nombre": "Ventas"}, "concepto": "Neto",
"debe": 0.0, "haber": 100000.0}
],
"totales": {"debe": 121000.0, "haber": 121000.0, "balanceado": true}}
],
"paginacion": {"limite": 100, "siguiente_cursor": "2:12:2025-08-01:6012", "hay_mas": true}
}}
- Order: entry numbering restarts in each fiscal year, so entries go by
fiscal year (from each opening;
ejercicio_desde,nullbefore the first) and, within it, by number. In each entry, debit lines first and then credit lines, by account code. totales(first page only): entries, lines, debit, credit,asientos_desbalanceados,numeros_repetidos(within a fiscal year) andnumeros_fuera_de_orden(entries with a lower number than the previous one by date; Cianbox fixes them with "Ordenar Asientos").
| Parameter | What it does |
|---|---|
fecha_desde, fecha_hasta, id_contribuyente |
As in the trial balance. |
numero_desde, numero_hasta |
A range of entry numbers (they go together). |
limite |
Entries per page: 100 by default, up to 500. |
cursor |
The previous page's paginacion.siguiente_cursor. |
Billing: by the page's entries and lines. Shown as reporte:libro_diario.
Income statement
GET /v1/{cuenta}/reportes/estado-resultados: the income accounts (sections
resultados_negativos and resultados_positivos) with credit minus debit
for the period, without the entry that closes the year's result into
equity. Parents accumulate.
{"estado_resultados": {
"parametros": {"fecha_desde": "2025-07-01", "fecha_hasta": "2026-06-30", "fecha_desde_por": "filtro",
"id_contribuyente": 0,
"ejercicio": {"inicio": "2025-07-01", "cierre": "2026-06-30", "cierre_configurado": "30/06"},
"cruza_cierre": false, "cierre_no_reconocido": null,
"nivel_maximo": 1},
"cuentas": [
{"cuenta": {"id": 500, "codigo": "50000000", "nombre": "RESULTADOS POSITIVOS"}, "nivel": 1,
"rubro": "resultados_positivos", "imputable": false, "id_cuenta_madre": null, "importe": 9800000.0}
],
"totales": {"resultados_positivos": 9800000.0, "resultados_negativos": 8200000.0, "resultado": 1600000.0},
"avisos": null
}}
importe: credit minus debit (positive, gain or income; negative, loss or expense). A positiveresultadois a profit.avisos.rubros_con_saldo_contrario: a section with the balance on the other side (charts with the section names swapped). Theresultadodoes not change; the per-section totals do.- Parameters:
fecha_desde,fecha_hasta,id_contribuyente(as in the trial balance) andnivel_maximo. Shown asreporte:estado_resultados.
Balance sheet
GET /v1/{cuenta}/reportes/situacion-patrimonial: at a fecha (today by
default), assets, liabilities and equity, each with its total and its
accounts, with the balance of all history up to that date.
{"situacion_patrimonial": {
"parametros": {"fecha": "2026-06-30", "id_contribuyente": 0, "nivel_maximo": 1,
"ejercicio": {"inicio": "2025-07-01", "cierre": "2026-06-30", "cierre_configurado": "30/06"}},
"activo": {"total": 6850000.0, "cuentas": ["..."]},
"pasivo": {"total": 2400000.0, "cuentas": ["..."]},
"patrimonio_neto": {"total": 2850000.0, "cuentas": ["..."]},
"resultado_no_asignado": {"total": 1600000.0, "del_ejercicio": 1600000.0, "ejercicio_desde": "2025-07-01",
"de_ejercicios_anteriores": 0.0},
"control": {"activo": 6850000.0, "pasivo_patrimonio_neto_resultado": 6850000.0, "diferencia": 0.0},
"avisos": null
}}
- Assets as debit balances (debit − credit); liabilities and equity as credit balances (credit − debit): in their normal form, all positive.
- Without the closing entry of that same date (which takes accounts to 0): the picture on the closing day shows the balance before closing.
resultado_no_asignado: results not yet transferred to equity, from the fiscal year of the date (since its start,ejercicio_desde; 0 after its result entry) and from previous years that were never closed.parametros.ejerciciois the fiscal year of the date according to the configured closing (nullwithout one).control: assets against liabilities + equity + unassigned result. If it does not add up,avisos.no_cierrawith the difference (unbalanced entries: see the trial balance).avisos.cuentas_sin_rubro: accounts with a balance and no known section, which fall in no group.- Parameters:
fecha(YYYY-MM-DD),id_contribuyenteandnivel_maximo. Shown asreporte:situacion_patrimonial.
Pending installments list
GET /v1/{account}/reportes/listado-cuotas-clientes and
GET /v1/{account}/reportes/listado-cuotas-proveedores answer "which
installments are due this week, and whose?", "which overdue invoices do I
have to collect?" or "what do I pay to whom on Monday?": the pending
installments of every customer or every supplier, one per row, sorted by
due date. They are the installments behind the aged balances and the supplier
payables reports; for the total per customer or supplier use those reports,
and for everything about a single one, its current account.
# customer installments due this week
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/listado-cuotas-clientes?vencimiento_desde=2026-10-01&vencimiento_hasta=2026-10-07"
{"listado_cuotas_clientes": {
"parametros": {"fecha_consulta": "2026-10-01", "id_cliente": null, "id_vendedor": null, "id_zona": null,
"id_categoria_cliente": null, "id_sucursal": null, "estado": null,
"vencimiento_desde": "2026-10-01", "vencimiento_hasta": "2026-10-07",
"limite": 200, "cursor": null},
"totales": [
{"moneda": "ARS", "cantidad": 37, "clientes": 29, "saldo": 4210000.0, "vencido": 0.0,
"por_vencer": 4210000.0, "sin_vencimiento": 0.0, "vencimiento_mas_antiguo": "2026-10-01"}
],
"cuotas": [
{"cliente": {"id": 42, "nombre": "Ferretería Sur", "cuit": "30-71234567-8",
"condicion_iva": "Responsable Inscripto"},
"vendedor": {"id": 5, "nombre": "Juan"},
"id_ctacte": 501, "origen": "venta", "id_origen": 9001,
"comprobante": {"tipo": "Factura", "letra": "A", "punto_venta": 3, "numero": 1234,
"numero_completo": "Factura A 0003-00001234", "contribuyente": {"...": "..."}},
"cuota": {"numero": 2, "cantidad": 3},
"fecha": "2026-08-20", "fecha_vencimiento": "2026-10-01", "dias_vencida": 0, "moneda": "ARS",
"debe": 1000.0, "haber": 600.0, "saldo": 400.0, "cotizacion_al_momento": null,
"estado": "por_vencer"}
],
"paginacion": {"siguiente_cursor": null, "hay_mas": false}
}}
- Each installment carries the customer (and the sales rep assigned
to the customer, for collections) or the supplier, the document (an
installment of a payment plan with a supplier has no document:
plan_pagocomes with its id and title instead), the installment (numeroofcantidad), dates,dias_vencida(negative if not due yet),debe,haber(what was already collected or paid),saldoandestado:vencida(before today),por_vencer(today or later) orsin_vencimiento. Request the full document withid_origen(/ventas/{id},/compras/{id}). - Order: by due date, oldest first, with the ones without a due date at
the end; paginated by cursor (
siguiente_cursorof the previous page,due_date:id). totales(first page only,nullon the following ones), per currency and unconverted:cantidadof installments,clientesorproveedores,saldo, split intovencido,por_vencerandsin_vencimiento, and thevencimiento_mas_antiguo. You don't need to walk the pages to count.- Unapplied credits are not included (credit notes, unapplied receipts and payments): see the aged balances and supplier payables reports.
- It is today's debt: sending
fechais a400.
| Parameter | What it does |
|---|---|
estado |
vencida, por_vencer or sin_vencimiento (all by default). |
vencimiento_desde / vencimiento_hasta |
YYYY-MM-DD. They leave out installments without a due date. |
id_cliente, id_vendedor, id_zona, id_categoria_cliente |
Customers: customer filters, one id or several separated by commas. |
id_sucursal |
Customers: the branch of the sale. |
id_proveedor, id_categoria_compra |
Suppliers: supplier filters. |
limite |
Installments per page (200 by default, up to 1000). |
cursor |
The siguiente_cursor of the previous page. |
Permissions: those of each side's current account: customers, the
ctacte_clientes resource; suppliers, proveedores and compras; both,
and the ctacte scope (without it, 403 scope_ctacte_requerido, no
partial version).
Billing: the page's installments plus the totales rows, at the weight of
the most expensive of its resources. Shows up as
reporte:listado_cuotas_clientes and reporte:listado_cuotas_proveedores.
GET /v1/{account}/ctacte_clientes(the raw installments table, without the customer's name or due-date order) was retired on 2026-10-01: this list replaces it.ctacte_clientesis still the permission you sign up for.
Delivery notes and purchase orders
Delivery notes and purchase orders open one at a time at GET
/v1/{account}/documentos/{type}/{id}; these four lists walk through them and
answer "which delivery notes haven't been invoiced?", "what did I order that
hasn't arrived?" or "what goods are in transit between branches?":
| Route | List | Document of each row |
|---|---|---|
GET /v1/{account}/reportes/listado-remitos-ventas |
remitos |
remito_venta (sales delivery note) |
GET /v1/{account}/reportes/listado-remitos-compras |
remitos |
remito_compra (purchase delivery note) |
GET /v1/{account}/reportes/listado-remitos-internos |
remitos |
remito_interno (transfer between branches) |
GET /v1/{account}/reportes/listado-ordenes-compra |
ordenes |
orden_compra (purchase order) |
# this month's sales delivery notes not yet invoiced
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/listado-remitos-ventas?pendiente_de_facturar=si"
{"listado_remitos_ventas": {
"parametros": {"fecha_desde": "2026-10-01", "fecha_hasta": "2026-10-31", "fecha_consulta": "2026-10-05",
"id_cliente": null, "id_sucursal": null, "id_vendedor": null,
"pendiente_de_facturar": "si", "incluir_anulados": false, "limite": 200, "cursor": null},
"totales": [{"cantidad": 12, "cantidad_pendientes_de_facturar": 12}],
"remitos": [
{"id": 501, "comprobante": {"tipo": "Remito", "letra": "R", "punto_venta": 1, "numero": 501,
"numero_completo": "Remito R 0001-00000501", "contribuyente": {"...": "..."}},
"fecha": "2026-10-03", "fecha_carga": "2026-10-03 10:12:00",
"usuario_carga": {"id": 7, "nombre": "Juan"}, "vendedor": {"id": 3, "nombre": "Ana"},
"estado": "vigente",
"cliente": {"id": 42, "nombre": "Ferretería Sur", "cuit": "30-12345678-9",
"condicion_iva": "Responsable Inscripto"},
"sucursal": {"id": 1, "nombre": "Central"}, "pendiente_de_facturar": true,
"ventas_asociadas": [], "observaciones": "",
"resumen": {"cantidad_items": 3, "cantidad_unidades": 14.0}}
],
"paginacion": {"limite": 200, "siguiente_cursor": null, "hay_mas": false}
}}
- Each row is the document's header, with the same fields and values,
without the line items or the origin/destination documents (you see them
when you open it). It does carry the
resumenand the statuses that depend on the items:pendiente_de_facturar(sales and purchase delivery notes),recepcion(transfers) and, on purchase orders,resumen.total,resumen.esta_cumplidaandresumen.pendiente_de_recibir(the order is open and some item still has a pending quantity). A closed order with a balance isn't fulfilled, but nothing is expected either: it isn't pending. - Purchase delivery note pending invoicing, the way Cianbox shows it:
some item still has a quantity not yet invoiced (goods, fixed assets or
expenses). It does not depend on linked purchases: a partly invoiced note
is still pending, and one marked as invoiced in Cianbox no longer is, even
without a purchase. On a return to the supplier, what is pending is the
credit note. When you open the note, each item carries
cantidad_pendiente_de_facturar(negative on a return). Stock adjustments are never pending. - Order and dates: by document date, newest first, with a cursor
(
date:id). Without dates, the current month; up to 12 months per query; withid_cliente(sales notes) orid_proveedor(purchase notes and orders), the whole history. Documents with no date loaded go last; their cursor is0000-00-00:id. totales(first page only,nullon the next ones), with no amounts (a delivery note has no total):cantidadand the count of each status (cantidad_pendientes_de_facturar,cantidad_ajustes_stock,cantidad_pendientes_de_recepcion,cantidad_pendientes_de_recibir), as integers.- Sales delivery notes include those without a point of sale (letter I)
and those without a valid customer. Purchase delivery notes include
stock adjustments (notes with no supplier):
es_ajuste_stockseparates them.
| Parameter | List | What it does |
|---|---|---|
fecha_desde / fecha_hasta |
all | YYYY-MM-DD, the document date. |
id_cliente, id_vendedor |
sales notes | One id or several, comma separated. |
id_proveedor |
purchase notes, orders | One id or several, comma separated. |
id_sucursal |
delivery notes | On transfers, the origin or the destination branch. |
id_sucursal_origen, id_sucursal_destino |
transfers | One id or several. |
id_estado, id_contribuyente |
orders | Order status; taxpayer (0, the main one). |
pendiente_de_facturar |
sales and purchase notes | si or no. |
es_ajuste_stock |
purchase notes | si or no. |
recepcion |
transfers | pendiente (in transit) or recibido. |
pendiente_de_recibir |
orders | si or no. |
incluir_anulados |
sales notes and transfers | true to include voided ones. |
limite |
all | Rows per page (200 by default, up to 1000). |
cursor |
all | The previous page's siguiente_cursor. |
A filter the list doesn't have is 400 filtro_invalido (for instance,
incluir_anulados on purchase delivery notes, which can't be voided).
Permissions: the same as each row's document: sales notes, ventas and
stock; purchase notes, compras and stock; transfers, stock; purchase
orders, compras. Rows carry no costs (line items don't come).
Billing: the page's rows plus the totales rows, at the weight of the
most expensive of its resources. They show up as
reporte:listado_remitos_ventas, reporte:listado_remitos_compras,
reporte:listado_remitos_internos and reporte:listado_ordenes_compra.
Stock movements
GET /v1/{account}/reportes/listado-movimientos-stock is the stock ledger:
one row per entry or exit of a product at a branch. It answers "why did the
stock of X go down?" or "which stock adjustments were made?". With a product
it's the kardex: each movement carries the stock left after it.
# a product's kardex (its whole history)
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/listado-movimientos-stock?id_producto=55"
{"listado_movimientos_stock": {
"parametros": {"fecha_desde": null, "fecha_hasta": null, "fecha_consulta": "2026-10-05",
"id_producto": [55], "id_sucursal": null, "id_marca": null, "id_categoria": null,
"tipo": null, "sentido": null, "limite": 200, "cursor": null},
"totales": {"cantidad": 48, "unidades_ingresadas": 120.0, "unidades_egresadas": 108.0,
"saldo_inicial": 0.0, "saldo_final": 12.0},
"movimientos": [
{"id": 1000, "fecha": "2026-10-03", "fecha_carga": "2026-10-03 10:00:00",
"tipo": "remito_venta", "sentido": "egreso", "cantidad": -3.0, "devolucion": false,
"producto": {"id": 55, "codigo": "MC-180", "nombre": "Mesa Capri"},
"descripcion": "Mesa Capri", "sucursal": {"id": 1, "nombre": "Central"}, "costo": 1500.0,
"documento": {"tipo": "remito_venta", "id": 501, "numero_completo": "Remito R 0001-00000501",
"numero": 501, "fecha": "2026-10-03"},
"cliente": {"id": 42, "nombre": "Ferretería Sur", "cuit": "30-12345678-9",
"condicion_iva": "Responsable Inscripto"},
"proveedor": null, "transferencia": null, "saldo": 12.0}
],
"paginacion": {"limite": 200, "siguiente_cursor": "2026-09-28:990", "hay_mas": true}
}}
tipo:remito_venta,remito_compra,ajuste(a stock adjustment, which Cianbox stores as a purchase delivery note),transferencia(a transfer: the exit at the origin branch and, when received, the entry at the destination) orsin_documento(old movements without a delivery note).cantidadwith sign (entry minus exit) andsentido(ingresooregreso). A customer return comes in through a sales delivery note and a return to a supplier goes out through a purchase delivery note: both come withdevolucion: true.documento: the delivery note that generated the movement (open it with/documentos/{type}/{id}; an adjustment's is its purchase delivery note);clienteon sales notes,proveedoron purchase notes andtransferenciawith both branches.costo: the movement's unit cost,nullif not loaded.saldo(kardex): withid_producto(the product or, if it's a parent, its variants) and withouttipoorsentido, each movement carries the product's stock at the filtered branches after it, andtotalesadds the period'ssaldo_inicialandsaldo_final. Withtipoorsentidosome movements would be left out and the balance couldn't be followed: it comes asnull.- Order and dates: by movement date, newest first, with a cursor
(
date:id). Without dates, the current month; up to 12 months per query; withid_producto, the whole history. Movements with no date loaded go last. totales(first page only), in units:cantidadof movements,unidades_ingresadasandunidades_egresadas.
| Parameter | What it does |
|---|---|
fecha_desde / fecha_hasta |
YYYY-MM-DD, the movement date. |
id_producto |
The product or, if it's a parent, its variants. One id or several. |
id_sucursal, id_marca, id_categoria |
One id or several, comma separated. |
tipo |
remito_venta, remito_compra, ajuste, transferencia or sin_documento. |
sentido |
ingreso or egreso. |
limite |
Movements per page (200 by default, up to 1000). |
cursor |
The previous page's siguiente_cursor. |
Permissions: the productos and stock resources, like the other stock
reports. costo only with the costs permission; cliente only with the
ventas resource and proveedor only with the compras resource (without
them, the field doesn't come).
Billing: the page's movements plus 1 for totales, at the weight of the
most expensive of its resources. Shows up as
reporte:listado_movimientos_stock.
Purchase payment plans
GET /v1/{cuenta}/reportes/listado-planes-pago answers "which card
installments do I have left?", "how much do I owe in payment plans?" or
"what did I pay supplier X's purchase with?". A payment plan is a
financing: a supplier that finances (a card, a bank, a person) takes on
debts with other suppliers and you repay it in installments. Each
installment starts without an invoice and, when the statement arrives, is
invoiced with a purchase from the financing supplier: one principal line and
the rest, fees and interest.
# the card's ongoing plans (supplier 171), full history
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/listado-planes-pago?id_proveedor=171&estado_plan=en_curso"
- Each row is the plan (the document
GET /v1/{cuenta}/documentos/plan_pago/{id}without the installment list):titulo,fecha, the financing supplier (proveedor),capital,cantidad_cuotas,primer_vencimiento,deudas_canceladas(the purchase from another supplier, or another plan's installment for a refinancing),estado_plan(pagado,en_cursoorvencido: some installment overdue and unpaid) andresumen: installments paid, pending, overdue and not yet invoiced;total(principal plus the fees of the invoiced ones),gastos,pagado,saldo,saldo_vencidoandproximo_vencimiento. The installments, one by one (with their invoice, principal, fees and payments), come in the document. - Order: by plan date, newest first, with a cursor.
totales(first page only):cantidad,cantidad_con_saldo,capitalandsaldo, in the installments' currency.- Installment invoices are not purchases in the purchase reports (see
origenin/compras): they repeat the debt the plan cancelled.
| Parameter | What it does |
|---|---|
fecha_desde / fecha_hasta |
Plan date, YYYY-MM-DD. Without dates, the current month (up to 12 months). |
id_proveedor |
The financing supplier: the card, the bank. With it, full history. |
id_proveedor_deuda |
The supplier of the debts the plan cancelled. With it, full history. |
estado_plan |
pagado, en_curso or vencido. |
limite |
Plans per page (200 by default, up to 1000). |
cursor |
The previous page's siguiente_cursor. |
Permissions: the proveedores and compras resources and the
ctacte scope (without it, 403 scope_ctacte_requerido, no partial
version). The plan document requires the same resources; without ctacte
it has no statuses, balances, payments or cancelled debts.
Billing: by the plans on the page plus the totales rows. It shows up
as reporte:listado_planes_pago.
Checks on hand
GET /v1/{cuenta}/reportes/cartera-cheques answers "which checks do I have
on hand?", "how much do I have in checks?" and "which checks did I have on
7/31?": the checks that are in a cash register on a date, regardless of
their issue or payment dates. For "which checks are due this week?" use
the checks listing (/valores), which filters by payment date.
curl -H "X-API-Key: YOUR_KEY" "https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/cartera-cheques?limite=1"
{"cartera_cheques": {
"parametros": {"fecha": "2026-09-30", "criterio": "foto", "id_caja": null, "id_sucursal": null,
"id_banco": null, "tipo": null, "limite": 1, "cursor": null},
"totales": [{"moneda": "ARS", "cantidad": 3,
"terceros": {"cantidad": 2, "monto": 1300200.0},
"terceros_rechazados": {"cantidad": 0, "monto": 0.0},
"propios": {"cantidad": 1, "monto": 500.0}, "fecha_pago_mas_antigua": "2026-08-20",
"tramos": {"en_fecha_de_pago": {"cantidad": 1, "monto": 1300000.0},
"proximos_7_dias": {"cantidad": 1, "monto": 200.0},
"de_8_a_30_dias": {"cantidad": 0, "monto": 0.0},
"mas_de_30_dias": {"cantidad": 0, "monto": 0.0}}}],
"por_caja": [{"caja": {"id": 2, "nombre": "Caja Tesoreria", "numero": 2,
"sucursal": {"id": 6, "nombre": "Deposito Central"}},
"moneda": "ARS", "cantidad": 2, "terceros": {"cantidad": 1, "monto": 1300000.0},
"terceros_rechazados": {"cantidad": 0, "monto": 0.0}, "propios": {"cantidad": 1, "monto": 500.0}}],
"cheques": [
{"id": 2596, "documento": {"tipo": "valor", "id": 2596}, "tipo": "terceros", "electronico": false,
"numero": "12345678", "banco": {"id": 57, "nombre": "HSBC BANK ARGENTINA S.A."},
"emisor": "EMISOR EJEMPLO S.A.", "cuit_emisor": "30-12345678-9",
"fecha_emision": "2023-11-17", "fecha_pago": "2026-08-20", "monto": 1300000.0, "moneda": "ARS",
"rechazado": false,
"caja": {"id": 2, "nombre": "Caja Tesoreria", "numero": 2, "sucursal": {"id": 6, "nombre": "Deposito Central"}},
"en_transito": false,
"ultimo_movimiento": {"fecha": "2026-08-01 00:00:00", "movimiento": {"id": 7, "nombre": "Cobro"},
"comprobante": "REC [X] 0001-00004410", "documento": {"tipo": "cobro", "id": 4410}}}
],
"paginacion": {"limite": 1, "siguiente_cursor": "2026-08-20:2596", "hay_mas": true}
}}
- Today and a past date: today is the snapshot (
criterio: foto, the check's "available" flag); with an earlierfechait is rebuilt from each check's movements (criterio: recompuesta): a check is on hand if its last movement up to that day put it in a cash register or moved it from one register to another. The register is the one on that date. - Only third-party checks are money: the totals (and each
por_cajarow) split three groups, with no amount that mixes them:terceros(customers' checks, not rejected: what gets deposited or cashed),terceros_rechazados(came back to the register: a claim against the customer, not money) andpropios(the company's own checks in the register, rejected or not: once handed over they are debited from the bank).cantidadis the total number of checks. Show them apart, never added up.rechazadois today's flag, also for a past date.tipofilters. - Own checks entered from the checkbook: Cianbox does not record a check
movement for them, only the entry into the register (movement 29). That
entry counts as their arrival on hand, also for a past date, and it is
their
ultimo_movimientountil they have another one. - Buckets by payment date (and the oldest payment date), only for
third-party checks that are not rejected, relative to the requested date:
en_fecha_de_pago(can already be deposited or cashed; checks without a payment date also go here), next 7 days, 8 to 30 and more than 30. A very old check "en fecha de pago" is usually one that was deposited or handed over and nobody recorded it. en_transito: moved from one register to another and not yet received at the destination (the register reported is the destination). If the transfer was rejected (document "TRANSFERENCIA RECHAZADA"), the check went back to the source register and is not in transit.ultimo_movimiento: the one that left it in that register, with the document you can request (cobro, pago, venta or compra);nullif the check has no active movements. The full check, with its whole history:GET /v1/{cuenta}/valores/{id}.totalesandpor_cajacover the whole set (all pages), per currency and not converted. Checks are sorted by payment date (those without one first) and id,limiteat a time; the next page, withcursor=paginacion.siguiente_cursor.
| Parameter | What it does |
|---|---|
fecha |
YYYY-MM-DD, up to today (today by default). |
id_caja, id_sucursal |
One id or several, comma-separated: the register (or its branch) where the check was on that date. |
id_banco |
The check's bank. One id or several. |
tipo |
terceros or propio (both by default). |
limite |
Checks per page: 200 by default, up to 1000. |
cursor |
siguiente_cursor from the previous page (fecha_pago:id). |
Permissions: the valores resource (bancos category), the same as the
check's record; without it, 403. There is no partial version.
Billing: per check on the page plus the rows of totales and
por_caja, with the weight of valores. Shows up as
reporte:cartera_cheques.
Card vouchers and settlements
Three reports on what was collected by card: what the card issuer has not
paid yet, the vouchers one by one, and the settlements (what the issuer
paid, with its fees and withholdings). Each collection or cash sale paid by
card creates a voucher (cupón); the issuer pays it later in a
settlement (liquidación), which is recorded in Cianbox and marks the
vouchers it includes.
Vouchers pending credit
GET /v1/{cuenta}/reportes/cupones-a-acreditar answers "how much do I
still have to collect from cards?": the vouchers the issuer has not settled
yet, per currency (credit, debit and brackets by voucher age) and per card.
curl -H "X-API-Key: YOUR_KEY" "https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/cupones-a-acreditar"
{"cupones_a_acreditar": {
"parametros": {"fecha": "2026-09-30", "criterio": "foto", "id_tarjeta": null, "id_entidad": null,
"id_caja": null, "tipo": null},
"uso_liquidaciones": {"usa": true, "dias": 90, "cupones": 1213, "liquidados": 1091, "porcentaje": 89.9,
"ultima_liquidacion": "2026-09-30"},
"totales": [{"moneda": "ARS", "cantidad": 4, "monto": 950.0, "credito": 1000.0, "debito": -50.0,
"cupon_mas_antiguo": "2021-09-21",
"tramos": {"hasta_7_dias": {"cantidad": 2, "monto": 600.0},
"de_8_a_30_dias": {"cantidad": 1, "monto": 400.0},
"de_31_a_60_dias": {"cantidad": 0, "monto": 0.0},
"mas_de_60_dias": {"cantidad": 1, "monto": -50.0}}}],
"por_tarjeta": [
{"tarjeta": {"id": 25, "nombre": "Visa"}, "tipo": "credito", "moneda": "ARS", "cantidad": 3,
"monto": 1000.0, "cupon_mas_antiguo": "2026-09-01"},
{"tarjeta": {"id": 25, "nombre": "Visa"}, "tipo": "debito", "moneda": "ARS", "cantidad": 1,
"monto": -50.0, "cupon_mas_antiguo": "2021-09-21"}
]
}}
- Today (
criterio: foto) each voucher's mark applies: pending while it has no settlement. At a past date (fecha,criterio: recompuesta), a voucher is pending if its settlement did not exist yet or is later than that date. - If the account does not record settlements in Cianbox (less than half
of the vouchers of the last 90 days were settled),
uso_liquidaciones.usaisfalseandtotalesandpor_tarjetaarenull: they would be every voucher collected, not what is pending.ultima_liquidacionsays since when nothing was settled. With no vouchers in the period,usaisnulland whatever exists is reported. - Refunds (credit notes) subtract. Pending vouchers older than 60 days are usually vouchers nobody settled, not delays of the issuer.
totalesper currency, not converted. The detail is in the voucher list withestado=a_acreditar.
| Parameter | What it does |
|---|---|
fecha |
YYYY-MM-DD, up to today (today by default). |
id_tarjeta, id_entidad, id_caja |
One id or several, comma-separated. |
tipo |
credito or debito. |
Voucher list
GET /v1/{cuenta}/reportes/listado-cupones: each voucher, newest first,
paginated by cursor.
{"listado_cupones": {
"parametros": {"fecha_desde": "2026-09-01", "fecha_hasta": "2026-09-30", "fecha_consulta": "2026-09-30",
"id_tarjeta": null, "id_entidad": null, "id_cliente": null, "id_caja": null,
"id_liquidacion": null, "tipo": null, "estado": "a_acreditar", "limite": 200, "cursor": null},
"totales": [{"moneda": "ARS", "cantidad": 1, "importe": 320000.0, "a_acreditar": 320000.0}],
"cupones": [
{"id": 20177, "fecha": "2026-09-27", "tipo": "credito", "tarjeta": {"id": 28, "nombre": "MERCADO PAGO"},
"entidad": null, "cupon": "7053", "lote": null, "fecha_cierre_lote": null, "cuotas": 3,
"importe": 320000.0, "moneda": "ARS", "cliente": {"id": 13504, "nombre": "Laura Fernández"},
"comprobante": "FAC [B] 0001-00008636", "documento": {"tipo": "venta", "id": 35495},
"caja": {"id": 8, "nombre": "CAJA TIENDA ONLINE", "numero": 2,
"sucursal": {"id": 4, "nombre": "Sucursal Norte"}},
"estado": "a_acreditar", "liquidacion": null}
],
"paginacion": {"limite": 200, "siguiente_cursor": null, "hay_mas": false}
}}
- Negative
importe: a refund. documento: the collection or cash sale where the voucher was received, to fetch it in full (for exampleGET /v1/{cuenta}/ventas/35495).estadois today's:a_acreditarorliquidado(with theliquidacion: id, number and date).totales(first page only): count, amount and pending amount, per currency.
| Parameter | What it does |
|---|---|
fecha_desde / fecha_hasta |
Voucher date, YYYY-MM-DD. Without dates, the current month; up to 12 months. With id_cliente or id_liquidacion, the whole history. |
id_tarjeta, id_entidad, id_cliente, id_caja, id_liquidacion |
One id or several, comma-separated. id_liquidacion: the vouchers of one settlement. |
tipo |
credito or debito. |
estado |
liquidado or a_acreditar (today's). |
limite / cursor |
Up to 1000 per page (200 by default). |
Settlement list
GET /v1/{cuenta}/reportes/listado-liquidaciones-tarjetas answers "what
did Visa settle this month?" and "how much did the card charge me in
fees?": each settlement, newest first.
{"listado_liquidaciones_tarjetas": {
"parametros": {"fecha_desde": "2026-09-01", "fecha_hasta": "2026-09-30", "fecha_consulta": "2026-09-30",
"id_tarjeta": null, "id_entidad": null, "limite": 200, "cursor": null},
"totales": [{"cantidad": 1, "cupones": 1000.0, "gastos": 30.0, "retenciones": 20.0, "efectivo": 0.0,
"cheques": 0.0, "bancos": 950.0}],
"liquidaciones": [
{"id": 4722, "numero": 4663, "fecha": "2026-09-30", "tarjeta": {"id": 28, "nombre": "MERCADO PAGO"},
"entidad": null, "tipo": null, "periodo": {"desde": "2026-08-23", "hasta": "2026-09-23"}, "cupones": 2,
"importes": {"cupones": 1000.0, "gastos": 30.0, "retenciones": 20.0, "neto": 950.0,
"efectivo": 0.0, "cheques": 0.0, "bancos": 950.0},
"compra_gastos": {"documento": {"tipo": "compra", "id": 5501},
"proveedor": {"id": 77, "nombre": "Mercado Libre SRL"}},
"acreditaciones": [
{"fecha": "2026-09-30", "importe": 950.0,
"cuenta": {"id": 13, "banco": "Mercado Pago", "alias": "TIENDA MERCADO PAGO", "moneda": "ARS"},
"documento": {"tipo": "movimiento_bancario", "id": 25799}}],
"usuario": {"id": 8, "nombre": "Administración"}, "observaciones": null}
],
"paginacion": {"limite": 200, "siguiente_cursor": null, "hay_mas": false}
}}
importes.neto= vouchers − fees − withholdings: what should be received. How it was received:efectivo,chequesandbancos(with theacreditacionesin each account and the bank movement to fetch it). In some settlements what was received is not equal to the net: they come as recorded.compra_gastos: the fees are recorded as a purchase from the supplier (the card issuer or the processor).tipo:credito,debitoornullif it covers both.- In pesos: settlements have no currency.
Parameters: fecha_desde / fecha_hasta (settlement date; without dates,
the current month; up to 12 months), id_tarjeta, id_entidad, limite
and cursor. tipo is not a filter of this list (400).
Permissions: pending vouchers and the voucher list require the caja
category (the cobros and pagos resources); the settlement list also
requires the bancos category (movimientos_bancarios and valores),
because it shows the bank accounts that were credited. Without them, 403;
there is no partial version. Billing: pending vouchers, per row of
por_tarjeta; the lists, per row of the page plus the rows of totales.
They show up as reporte:cupones_a_acreditar, reporte:listado_cupones
and reporte:listado_liquidaciones_tarjetas.
Treasury position
GET /v1/{account}/reportes/posicion-tesoreria answers "how much money do I
have?" and "can I cover what I have to pay this week?" in a single call:
today's money (cash in registers, banks, checks on hand and card
vouchers pending credit) against commitments (own checks the bank has
not debited yet and debt with suppliers) by term, per currency. It gathers
the totals of five reports on this page —cash register balances, bank
account balances, checks on hand, vouchers pending credit and supplier
payables— with their same rules; the detail of each part is in them.
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/posicion-tesoreria"
{"posicion_tesoreria": {
"parametros": {"fecha": "2026-09-30"},
"monedas": [
{"moneda": "ARS",
"disponible": {"efectivo_en_caja": 1250000.0, "bancos": 8400000.0, "cheques_en_cartera": 5800000.0,
"cupones_a_acreditar": 2100000.0, "total": 17550000.0},
"no_disponible": {"cheques_rechazados_en_cartera": 900000.0, "cheques_propios_en_caja": 350000.0,
"cheques_de_terceros_caducados": 120000.0, "cupones_de_mas_de_30_dias": 400000.0},
"compromisos": {
"cheques_propios_por_debitar": {"caducados": 150000.0, "vencidos": 0.0, "proximos_7_dias": 1200000.0,
"de_8_a_30_dias": 3100000.0, "mas_de_30_dias": 500000.0, "total": 4950000.0},
"proveedores": {"vencido_mas_30_dias": 1800000.0, "vencido": 1100000.0, "vence_7_dias": 2300000.0,
"vence_8_30_dias": 5400000.0, "vence_mas_30_dias": 1300000.0, "sin_vencimiento": 0.0,
"total": 11900000.0, "creditos_sin_imputar": 260000.0}},
"a_7_dias": 12950000.0,
"a_30_dias": 4450000.0}
],
"avisos": [
{"codigo": "cheques_rechazados", "moneda": "ARS",
"detalle": "Hay cheques rechazados en cartera: no se suman a lo disponible."},
{"codigo": "proveedores_creditos_sin_imputar", "moneda": "ARS",
"detalle": "Hay deuda vencida con proveedores y pagos o notas de crédito sin imputar: parte de lo vencido puede estar pagado."},
{"codigo": "datos_desactualizados", "moneda": "ARS",
"detalle": "Hay datos que parecen viejos o sin actualizar y no se suman: probablemente pagos, cobros, débitos o liquidaciones que no se cargaron en Cianbox. El análisis es tan bueno como los datos cargados: conviene revisarlos y cargar lo que falte.",
"items": [
{"concepto": "deuda_proveedores_vencida", "cantidad": 14, "monto": 1800000.0, "desde": "2025-03-10",
"que": "Cuotas a proveedores vencidas hace más de 30 días",
"revisar": "vencimientos_proveedores, con estado vencido",
"accion": "Cargar o imputar los pagos que falten, o anular las compras que no corresponden."},
{"concepto": "cheques_propios_caducados", "cantidad": 2, "monto": 150000.0, "desde": "2026-07-15",
"que": "Cheques propios entregados con fecha de pago de hace más de 30 días, sin debitar",
"revisar": "saldos_bancos (cheques_pendientes) y el listado de cheques",
"accion": "Marcar como debitados los que el banco ya pagó."},
{"concepto": "cheques_terceros_caducados", "cantidad": 1, "monto": 120000.0, "desde": "2026-08-05",
"que": "Cheques de terceros en cartera con fecha de pago de hace más de 30 días",
"revisar": "cartera_cheques",
"accion": "Registrar el depósito, la entrega o el rechazo de cada cheque."},
{"concepto": "cupones_sin_liquidar", "cantidad": 37, "monto": 400000.0, "desde": "2026-06-02",
"que": "Cupones de tarjeta de más de 30 días sin liquidar (la tarjeta ya los pagó)",
"revisar": "listado_cupones, con estado a_acreditar",
"accion": "Cargar las liquidaciones de tarjetas."}]}
]
}}
- Available: cash in registers (cash only, not the registers' check
balance), balance of active bank accounts, third-party checks on hand
without bounced ones nor those with a payment date more than 30 days
ago, and vouchers pending credit.
totalis the sum. Apart, inno_disponible: bounced third-party checks that came back to a register (cheques_rechazados_en_cartera), the company's own checks in a register (cheques_propios_en_caja: once handed over they are debited from the bank, they are not money) and third-party checks with a payment date more than 30 days ago or with no payment date (cheques_de_terceros_caducados: they can no longer be presented or endorsed, or the data is wrong). - Vouchers: only those up to 30 days old add to available. Cards
settle within 48 business hours (installments) or 20 business days (single
payment): an older voucher was already collected and its settlement was
not loaded, so it goes apart, in
no_disponible.cupones_de_mas_de_30_dias. If the account does not record card settlements in Cianbox,cupones_a_acreditarandcupones_de_mas_de_30_diasarenulland do not add up (there is no way to know what is pending); thecupones_sin_liquidacioneswarning says so. - Commitments: own checks pending debit by payment date (
caducados: more than 30 days ago or with no date, they can no longer be presented and are usually debited without being recorded;vencidos: within the last 30 days; next 7 days, 8 to 30, over 30) and supplier debt by due date (vencido_mas_30_dias: overdue by more than 30 days;vencido: 1 to 30 days; due within 7 days, 8 to 30, over 30 and with no due date). Suppliers' unapplied credits are reported but not deducted. a_7_diasanda_30_dias: available minus the commitments overdue by up to 30 days and those due within that term:caducadoschecks andvencido_mas_30_diasdebt are not deducted (the same criteria as the cash flow). They do not add what will be collected (customer installments, checks on hand by payment date): this is not a projected cash flow.avisos(code, currency and detail, in Spanish):cupones_sin_liquidaciones,efectivo_negativo(listing the negative registers),bancos_negativo(listing the negative accounts: an overdraft, or an account where only outflows are recorded),cheques_rechazados,proveedores_creditos_sin_imputarand, last,datos_desactualizados(one per currency). They change how the number reads.datos_desactualizados: what is not added because it is stale, initems, one per concept:deuda_proveedores_vencida(overdue by more than 30 days),deuda_proveedores_sin_vencimiento,cheques_propios_caducados,cheques_terceros_caducadosandcupones_sin_liquidar(older than 30 days). Each item hascantidad,monto,desde(the date of the oldest one;nullif it has none), andque,revisar(the report to check) andaccion(what to load in Cianbox), in Spanish. They are usually payments, collections, debits or settlements that were not loaded: the result is only as good as the data.- Per currency, not converted, sorted by available amount (absolute value), largest first.
- It is today's position, for the whole company: no date and no
filters; any parameter is
400. For a past date or a specific register, account or supplier, use that part's report.
Permissions: all or nothing, those of the five reports together: the
cobros, pagos, movimientos_bancarios, valores, proveedores and
compras resources and the ctacte scope. Missing any of them: 403
(no partial version).
Billing: by the rows read by the five reports it gathers, with the weight
of its most expensive resource. It shows up as reporte:posicion_tesoreria.
Projected cash flow
GET /v1/{account}/reportes/flujo-fondos answers "when do I run short?" and
"what comes in and goes out in the next few weeks?": per currency and per
week (Monday to Sunday) or month, what is expected to be collected and paid
according to due dates —it is not a forecast: it does not count future
sales or purchases—, starting from what there is today, with the balance
of each period. What has no firm due date but can be foreseen (purchase
orders, salaries, taxes, card fees and subscriptions) is added apart, as
an estimate. It complements the treasury position, which does not count
what will be collected. It gathers cash registers, banks, checks on hand,
vouchers pending credit, receivables aging and supplier payables, with their
same rules.
# the next 8 weeks (default)
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/flujo-fondos"
# the next 6 months
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/flujo-fondos?periodo=mes"
# only what is firm, no estimates
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/reportes/flujo-fondos?estimados=false"
{"flujo_fondos": {
"parametros": {"fecha": "2026-10-07", "periodo": "semana", "periodos": 2, "estimados": true,
"vencimiento_iva": 20, "vencimiento_iibb": 15},
"demora_cupones": {"cuenta": 4, "por_tarjeta": [
{"id_tarjeta": 1, "tarjeta": "Visa", "cupones": 812, "dias": 2},
{"id_tarjeta": 3, "tarjeta": "Naranja", "cupones": 140, "dias": 9}]},
"monedas": [
{"moneda": "ARS",
"saldo_inicial": {"efectivo_en_caja": 1250000.0, "bancos": 8400000.0, "cheques_de_terceros": 3200000.0,
"total": 12850000.0},
"cheques_de_terceros": {"en_fecha_de_pago": {"cantidad": 3, "monto": 800000.0},
"proximos_7_dias": {"cantidad": 2, "monto": 600000.0},
"de_8_a_30_dias": {"cantidad": 4, "monto": 1200000.0},
"de_31_a_60_dias": {"cantidad": 1, "monto": 400000.0},
"mas_de_60_dias": {"cantidad": 1, "monto": 200000.0}},
"periodos": [
{"periodo": 0, "tipo": "atrasado", "desde": null, "hasta": "2026-10-06",
"entradas": {"cuotas_clientes": 450000.0, "cupones": 120000.0, "total": 570000.0},
"salidas": {"cuotas_proveedores": 900000.0, "cheques_propios": 300000.0, "total": 1200000.0},
"neto": -630000.0, "neto_acumulado": -630000.0, "saldo": 12220000.0},
{"periodo": 1, "tipo": "semana", "desde": "2026-10-07", "hasta": "2026-10-11",
"entradas": {"cuotas_clientes": 700000.0, "cupones": 950000.0, "total": 1650000.0},
"salidas": {"cuotas_proveedores": 2300000.0, "cheques_propios": 1200000.0, "total": 3500000.0},
"neto": -1850000.0, "neto_acumulado": -2480000.0, "saldo": 10370000.0,
"estimadas": {"entradas": {"abonos": 380000.0, "total": 380000.0},
"salidas": {"comisiones_tarjetas": 38000.0, "ordenes_compra": 450000.0, "sueldos": 0.0,
"aguinaldo": 0.0, "iva": 0.0, "iibb_agente": 0.0, "total": 488000.0},
"neto": -108000.0},
"saldo_con_estimados": 10262000.0},
{"periodo": 2, "tipo": "semana", "desde": "2026-10-12", "hasta": "2026-10-18",
"entradas": {"cuotas_clientes": 900000.0, "cupones": 600000.0, "total": 1500000.0},
"salidas": {"cuotas_proveedores": 5400000.0, "cheques_propios": 6800000.0, "total": 12200000.0},
"neto": -10700000.0, "neto_acumulado": -13180000.0, "saldo": -330000.0,
"estimadas": "...", "saldo_con_estimados": "..."},
{"periodo": null, "tipo": "posterior", "desde": "2026-10-19", "hasta": null,
"entradas": {"cuotas_clientes": 1800000.0, "cupones": 0.0, "total": 1800000.0},
"salidas": {"cuotas_proveedores": 1300000.0, "cheques_propios": 500000.0, "total": 1800000.0},
"neto": 0.0, "neto_acumulado": -13180000.0, "saldo": -330000.0,
"estimadas": "...", "saldo_con_estimados": "..."}
],
"primer_saldo_negativo": {"periodo": 2, "tipo": "semana", "desde": "2026-10-12", "hasta": "2026-10-18",
"saldo": -330000.0},
"primer_saldo_negativo_con_estimados": {"periodo": 2, "tipo": "semana", "desde": "2026-10-12",
"hasta": "2026-10-18", "saldo": -1980000.0},
"limite_descubierto": 300000.0,
"primer_saldo_fuera_del_descubierto": {"periodo": 2, "tipo": "semana", "desde": "2026-10-12",
"hasta": "2026-10-18", "saldo": -330000.0},
"sin_fecha_cierta": {
"entradas": {"cuotas_clientes": 380000.0, "cheques_de_terceros": 150000.0, "cupones": 60000.0,
"total": 590000.0},
"salidas": {"cuotas_proveedores": 2100000.0, "cheques_propios": 0.0, "total": 2100000.0}},
"creditos_sin_imputar": {"clientes": 410000.0, "proveedores": 260000.0}}
],
"estimados": {
"ordenes_compra": {"ordenes": 7, "dias_entrega_cuenta": 12.5, "dias_pago_cuenta": 21.0,
"criterio": "fecha de la orden + plazo de entrega promedio del proveedor + días de pago promedio del proveedor (12 meses; sin datos, los de la cuenta)"},
"sueldos": {"base_mensual": 3200000.0, "meses_promediados": ["2026-07", "2026-08", "2026-09"],
"dia_de_pago": 5,
"criterio": "promedio de los últimos 3 meses de liquidaciones generales (sin S.A.C. ni finales); aguinaldo, 50 % extra a fin de junio y de diciembre"},
"impuestos": {"dia_vencimiento_iva": 20, "dia_vencimiento_iibb": 15,
"iva_mes_anterior": 730800.0, "iva_mes_en_curso_proyectado": 810000.0,
"iibb_agente_mes_anterior": 80000.0, "iibb_agente_mes_en_curso_proyectado": 95000.0,
"criterio": "IVA: saldo a pagar de la posición de IVA (el del mes en curso, proyectado); ingresos brutos: solo lo percibido y retenido como agente. Un vencimiento ya pasado se da por pagado"},
"abonos": {"abonos_activos": 121, "dias_cobro_cuenta_corriente": 18,
"criterio": "importe actual del abono (con IVA) en cada facturación esperada; en cuenta corriente, a los días promedio de cobro de la cuenta"},
"tarjetas": {"porcentaje_cuenta": 4.3,
"por_tarjeta": [{"id_tarjeta": 1, "tarjeta": "Visa", "porcentaje": 3.8},
{"id_tarjeta": 3, "tarjeta": "Naranja", "porcentaje": 6.1}],
"criterio": "estimación: los cupones se liquidan con un descuento del 4,30 % (gastos y retenciones de los últimos 90 días; cada tarjeta, el suyo)"}
},
"avisos": [
{"codigo": "datos_desactualizados", "moneda": "ARS",
"detalle": "Hay datos que parecen viejos o sin actualizar y no se suman: probablemente pagos, cobros, débitos o liquidaciones que no se cargaron en Cianbox. El análisis es tan bueno como los datos cargados: conviene revisarlos y cargar lo que falte.",
"items": [
{"concepto": "deuda_clientes_vencida", "cantidad": 12, "monto": 360000.0, "desde": "2025-11-04",
"que": "Cuotas de clientes vencidas hace más de 30 días",
"revisar": "antiguedad_saldos, con estado vencido",
"accion": "Cargar o imputar los cobros que falten, o anular las ventas que no corresponden."},
{"concepto": "deuda_clientes_sin_vencimiento", "cantidad": 1, "monto": 20000.0, "desde": null,
"que": "Cuotas de clientes sin vencimiento",
"revisar": "antiguedad_saldos (sin_vencimiento)",
"accion": "Cargar el vencimiento de las cuotas."},
{"concepto": "deuda_proveedores_vencida", "cantidad": 9, "monto": 2100000.0, "desde": "2025-08-20",
"que": "Cuotas a proveedores vencidas hace más de 30 días",
"revisar": "vencimientos_proveedores, con estado vencido",
"accion": "Cargar o imputar los pagos que falten, o anular las compras que no corresponden."},
{"concepto": "cheques_terceros_caducados", "cantidad": 1, "monto": 150000.0, "desde": "2026-08-05",
"que": "Cheques de terceros en cartera con fecha de pago de hace más de 30 días",
"revisar": "cartera_cheques",
"accion": "Registrar el depósito, la entrega o el rechazo de cada cheque."},
{"concepto": "cupones_sin_liquidar", "cantidad": 6, "monto": 60000.0, "desde": "2026-07-28",
"que": "Cupones de tarjeta de más de 30 días sin liquidar (la tarjeta ya los pagó)",
"revisar": "listado_cupones, con estado a_acreditar",
"accion": "Cargar las liquidaciones de tarjetas."}]},
{"codigo": "creditos_sin_imputar", "moneda": "ARS",
"detalle": "Hay notas de crédito, cobros o pagos sin imputar: no se descuentan de las cuotas, así que parte de lo que entra o sale puede estar ya cobrado o pagado."}
]
}}
Parameters (the only ones it accepts):
| Parameter | Values |
|---|---|
periodo |
semana (week, default, Monday to Sunday) or mes (calendar month). The first one runs from today to Sunday or to the end of the month |
periodos |
how many, counting the one starting today: 8 weeks or 6 months by default, up to 26 or 12 |
estimados |
true by default (also when empty, ?estimados=); false = only what is firm, the report as it was before. Accepts true/false, 1/0, on/off, yes/no |
vencimiento_iva |
day of the month the VAT is paid: 20 by default, 1 to 31 (in a shorter month, the last day) |
vencimiento_iibb |
day of the month the gross income tax collected as a withholding agent is deposited: 15 by default, 1 to 31 (same) |
- Opening balance: cash in registers, bank balance and third-party
checks on hand without bounced ones, whatever their payment date (they
can be deposited or endorsed to pay) except those more than 30 days old or
with no payment date, broken down in
cheques_de_tercerosby payment-date bracket. Card vouchers are not balance: they come in on the date their settlement is expected. - Inflows: customer installments by due date (those of the receivables
aging) and vouchers pending credit on their expected date: the voucher
date plus how long its card takes to settle (
demora_cupones: the average days of the vouchers settled in the last 90 days; a card with no settlements uses the account's). If the account does not record card settlements in Cianbox, vouchers arenull, do not add up, and thecupones_sin_liquidacioneswarning says so. - Outflows: supplier installments by due date (those of the supplier payables) and own checks delivered that the bank has not debited yet, by payment date.
- Periods: before the first one comes
atrasado(period 0): what came due up to 30 days ago and is still expected to be collected or paid; it adds to the balance. After the last one,posterior(everything after, no limit). sin_fecha_cierta: installments overdue by more than 30 days or with no due date, checks (own or third-party) with a payment date more than 30 days ago or with no payment date, and vouchers older than 30 days. They are reported and not added: they are usually stale data. Thedatos_desactualizadoswarning breaks them down by concept (as in the treasury position, plusdeuda_clientes_vencidaanddeuda_clientes_sin_vencimiento), with count, amount, since when, which report to check and what to load; its items add up exactly tosin_fecha_cierta.- Per period:
neto(inflows − outflows),neto_acumulado(from today, without the opening balance) andsaldo(opening balance + accumulated net).primer_saldo_negativois the first period (fromatrasadoon) with a negative balance, ornull. - Overdraft:
limite_descubiertois the sum of the limits of the bank accounts with overdraft enabled (nullif none), andprimer_saldo_fuera_del_descubierto, the first period whose balance is below minus that limit (nullif it never goes past it or there is no overdraft): it tells "I go into overdraft" (primer_saldo_negativo) from "I go past the limit". creditos_sin_imputar(credit notes and unapplied receipts or payments of customers and suppliers with debt): apart, not deducted.avisos(code, currency and detail, in Spanish):cupones_sin_liquidaciones,efectivo_negativo(listing the negative registers),bancos_negativo(listing the negative accounts),datos_desactualizadosandcreditos_sin_imputar. With a negative opening balance,saldocarries it:neto_acumuladoshows the flow without it.- Estimates (with
estimadosset totrue): what has no firm due date but can be foreseen. What is firm does not change: the estimates go apart, in each period'sestimadas(entradas,salidasandneto), andsaldo_con_estimadosis the firmsaldoplus the accumulated estimated net.primer_saldo_negativo_con_estimadosis the first period where that balance turns negative (nullif never). Each concept and its assumption, in the rootestimados, with itscriterio: ordenes_compra(outflows): what is still to be received on open purchase orders, on the order date plus the supplier's average delivery time plus the days it takes to pay them (last 12 months; with no data on the supplier, the account's:dias_entrega_cuentaanddias_pago_cuenta). A date already past goes to today.sueldosandaguinaldo(outflows): the average of the last 3 months of general payrolls (without S.A.C. or final ones), paid each month on the usual day (base_mensual,meses_promediados,dia_de_pago); the aguinaldo (mid-year and year-end bonus), 50 % of that base at the end of June and December.nullif the account does not run payroll in Cianbox (no payroll in the last 90 days).ivaandiibb_agente(outflows): the balance payable of the VAT position and what was perceived and withheld as a gross income tax agent, for the previous month and the current month (brought to the whole month), on the day ofvencimiento_ivaandvencimiento_iibb(20 and 15 by default). A due date already past is assumed paid. The company's own gross income tax is not included: Cianbox has no rates.abonos(inflows): each expected invoicing of the active subscriptions, from their next invoicing and according to their periodicity, for their current amount with VAT, until their validity ends; collected the same day or, on account, after the account's average collection days (dias_cobro_cuenta_corriente).comisiones_tarjetas(outflows): vouchers are counted with the discount cards apply on settlement (fees and withholdings of the last 90 days), each card's own or, if it has none, the account's (tarjetas). With no settlements, vouchers go gross.- Not included: loans, future sales or purchases.
- Per currency, not converted, sorted by opening balance (absolute value), largest first.
- It is today's cash flow, for the whole company: no date and no filters
(installments and the marks on checks and vouchers are the current ones).
Any other parameter, an unknown
periodo,periodosout of range, anestimadosthat is not true or false or a due day outside 1 to 31 is400.
Permissions: all or nothing, those of the reports it gathers together:
the cobros, pagos, movimientos_bancarios, valores, proveedores,
compras and ctacte_clientes resources and the ctacte scope.
Missing any of them: 403 (no partial version). Each estimated concept also
asks for the resource of its source: purchase orders, compras; VAT and
gross income tax, ventas and compras; subscriptions, abonos; salaries
and the aguinaldo, the Sueldos (salaries) category (resource
sueldos_estimados; salaries are sensitive information that does not come
from what the flow already shows, and no account has it until it enables
it); card fees, just the flow's permissions. Without that permission, the
concept is 0 and its assumption is null: it is not a 403.
Billing: by the rows read by the reports and queries it gathers, with
the weight of its most expensive resource. It shows up as
reporte:flujo_fondos.
MercadoLibre and Tienda Nube listings
Three listings answer "which listings do I have paused?", "where does the published price or stock not match Cianbox?" and "which products haven't I listed?":
GET /v1/{account}/publicaciones/mercadolibre: one row per MercadoLibre listing, with its variants.GET /v1/{account}/publicaciones/tiendanube: one row per store product, with its variants.GET /v1/{account}/productos/sin-publicar?canal=mercadolibre(ortiendanube): the products that are not in any listing of the channel, with their stock.
All three are a snapshot of today (no dates), go by id with
cursor (the last id; up to 1000 per page, 200 by default) and bring
cantidad and totales on the first page only (null on the next
ones). To export everything, follow siguiente_cursor until it is null.
Each listing brings its nested variants and products, so a page weighs more
than in other listings.
# what is paused on MercadoLibre, with the reason
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/publicaciones/mercadolibre?estado_publicacion=pausada&limite=1"
{"listado_publicaciones_mercadolibre": {
"parametros": {"id_cuenta": null, "id_tipo": null, "id_producto": null, "id_marca": null,
"id_categoria": null, "estado_publicacion": ["pausada"], "motivo_pausa": null,
"productos_vinculados": null, "diferencia": null, "con_ventas": false,
"con_preguntas_pendientes": false, "full": false, "catalogo": false, "texto": null,
"hoy": "2026-10-01", "limite": 1, "cursor": null},
"moneda": "ARS",
"cuentas": [
{"id": 1, "nombre": "MYSTORE", "conectada": true, "estado_integracion": "al_dia",
"ultima_actualizacion": "2026-10-01 09:12:40", "publicaciones": 812,
"sincroniza_precios": true, "sincroniza_stock": true}
],
"cantidad": 174,
"totales": {
"por_estado": {"activa": 0, "pausada": 174, "bajo_revision": 0, "inactiva": 0,
"pago_requerido": 0, "finalizada": 0},
"pausadas_por_motivo": {"sin_stock": 49, "vendedor": 88, "otro": 37},
"diferencias": {"precio": 12, "stock": 9, "stock_pendiente_de_envio": 4,
"sin_productos_vinculados": 21, "con_unidades_sin_vincular": 23},
"de_cuentas_desactualizadas": 0
},
"publicaciones": [
{"id": 399, "id_externo": "MLA1000000001", "titulo": "Wooden coffee table", "url": "https://...",
"cuenta": {"id": 1, "nombre": "MYSTORE"}, "tipo": {"id": 2, "nombre": "Clásica"},
"estado_publicacion": "pausada", "motivo_pausa": "sin_stock", "subestados": ["out_of_stock"],
"fecha_publicacion": "2023-05-11", "fecha_finalizacion": "2046-01-17",
"ventas": 6, "preguntas_pendientes": 1, "full": false, "flex": true, "catalogo": false,
"lista_precio": {"id": 2, "nombre": "Wholesale", "de_la_cuenta": false},
"precio": {"publicado": 1000.0, "cianbox": 1050.0, "diferencia": true, "sincroniza": true},
"stock": {"publicado": 0, "cianbox": 0, "diferencia": false, "pendiente_envio": false,
"sincroniza": true},
"productos_vinculados": "todos", "diferencia": "precio",
"productos": [{"id": 2381, "nombre": "Coffee table", "codigo_interno": "MR-01", "cantidad": 1.0}],
"variantes": []}
],
"datos_desactualizados": null,
"paginacion": {"limite": 1, "siguiente_cursor": "399", "hay_mas": true}
}}
MercadoLibre status: estado_publicacion is activa, pausada,
bajo_revision, inactiva, pago_requerido or finalizada. By
default the listing brings all but the finished ones; to export them all,
pass the six values separated by commas. A paused listing brings
motivo_pausa: sin_stock (MercadoLibre paused it for lack of stock and
it comes back when stock is loaded), vendedor (the seller paused it;
loading stock does not reactivate it) or otro, plus the subestados as
MercadoLibre reports them. On Tienda Nube, publicada or no_publicada.
Comparison with Cianbox: each listing (and each variant) brings what is
published and what Cianbox has, and diferencia sums it up: ninguna,
precio, stock, precio_y_stock or sin_productos_vinculados (null
for finished listings, which are not compared). Prices are compared with a
one-cent tolerance.
sincroniza(on Tienda Nube,sincroniza_precioandsincroniza_stock): whether the listing and the account sync with Cianbox. Iffalse, the difference is expected.- MercadoLibre stock: the one Cianbox has to send (the available stock
of the account's branches, per kit).
pendiente_envio: Cianbox already has a newer value it has not sent yet (queued or with sync errors). Not compared for Full listings (MercadoLibre handles that stock). - Price: the one Cianbox computes with the listing's price list (or the
account's), the exchange rate and the rounding; with variants, the
highest.
nullif a linked product has no price in that list. - Tienda Nube: Cianbox's price and stock are computed as Cianbox shows
them (stock without decimals, 0 if negative). The
precio_promocional(the store's sale price) goes apart; a variant without stock control (maneja_stock: false) is not compared. - Linked products:
productos_vinculadosistodos,alguno_sin_vincularorninguno. A listing without linked products cannot be compared: link products to it in Cianbox. Each product brings thecantidadper published unit (a kit has more than one).
Stale data: the integration cuentas come first, with their
estado_integracion: al_dia, desconectada or sin_actualizar (no
changes to its listings for more than 30 days). Their listings are still
included, but they do not add up in totales.diferencias (they go in
de_cuentas_desactualizadas), and the datos_desactualizados notice says
how many, since when and what to do: what is published may not be what
Cianbox shows.
| Parameter | What it does |
|---|---|
estado_publicacion |
MercadoLibre: one or more of the six statuses (all but finalizada by default). Tienda Nube: publicada and/or no_publicada. |
motivo_pausa |
MercadoLibre only: sin_stock, vendedor and/or otro. |
diferencia |
precio, stock or cualquiera. |
productos_vinculados |
todos, alguno_sin_vincular (includes ninguno) or ninguno. |
id_cuenta |
The MercadoLibre account or the store. One id or several separated by commas. |
id_producto, id_marca, id_categoria |
Of the linked products (id_producto includes a parent's variants). |
id_tipo |
MercadoLibre only: the listing type. |
con_ventas |
true: only those with sales. |
con_preguntas_pendientes, full, catalogo |
MercadoLibre only: true filters. |
envio_gratis |
Tienda Nube only: true filters. |
texto |
In the title (or name), the channel code or the SKU; searched literally. |
limite / cursor |
Listings per page (200, up to 1000) and the previous page's siguiente_cursor. |
MercadoLibre prices are in the main currency (moneda); Tienda Nube's, in
each listing's currency.
Products not listed
GET /v1/{account}/productos/sin-publicar?canal=mercadolibre lists the
active products that move stock and are not in any listing of the
channel (finished ones aside). Parents do not show up: their variants are
listed. With alcance=sin_publicacion_activa it adds those that are only
in paused listings (or unpublished, on Tienda Nube); each row says in how
many (publicaciones_no_activas).
# what I can sell and is not on MercadoLibre
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/productos/sin-publicar?canal=mercadolibre&con_stock=true"
{"listado_productos_sin_publicar": {
"parametros": {"canal": "mercadolibre", "alcance": "sin_publicacion", "id_cuenta": null,
"id_marca": null, "id_categoria": null, "id_proveedor": null,
"tipo": ["simple", "variante", "combo"], "con_stock": true, "limite": 200, "cursor": null},
"cantidad": 312,
"totales": {"cantidad": 312, "con_stock": 312},
"productos": [
{"id": 10, "nombre": "Plain T-shirt M", "codigo_interno": "R1-M", "codigo_barras": "",
"tipo": "variante", "producto_padre": {"id": 9, "nombre": "Plain T-shirt"},
"marca": {"id": 3, "nombre": "Sample Brand"}, "categoria": null,
"stock": 5.0, "reservado": 2.0, "disponible": 3.0, "publicaciones_no_activas": 0}
],
"paginacion": {"limite": 200, "siguiente_cursor": "10", "hay_mas": true}
}}
| Parameter | What it does |
|---|---|
canal |
mercadolibre or tiendanube. Required. |
alcance |
sin_publicacion (default) or sin_publicacion_activa. |
id_cuenta |
Only the listings of those channel accounts count. |
id_marca, id_categoria, id_proveedor |
Of the product (the usual supplier). |
tipo |
simple, variante and/or combo (all by default). |
con_stock |
true: only those with available stock (stock − reserved) above 0. |
limite / cursor |
Products per page (200, up to 1000) and the previous page's siguiente_cursor. |
Permissions: MercadoLibre listings, the MercadoLibre category
(ml_publicaciones resource); Tienda Nube listings, the Tienda Nube
category (tn_publicaciones resource). Products not listed needs the
productos resource and the listings resource of the requested
channel; stock, reservado, disponible and totales.con_stock only
come with the stock resource, and filtering con_stock=true without it
is 403.
Billing: by the page rows plus one for the totals (on the first page),
with the weight of its resource. They show up as
reporte:listado_publicaciones_mercadolibre,
reporte:listado_publicaciones_tiendanube and
reporte:listado_productos_sin_publicar.
Incremental sync: modified since a date
To keep a copy of your data (a BI tool, an e-commerce site, another system)
without downloading everything each time, the listings accept
modificado_desde and modificado_hasta: they return only what
changed in that range, including what was deleted, so your copy learns
about removals.
# first time: everything (1000 at a time, following siguiente_cursor)
.../ventas?modificado_desde=2000-01-01&limite=1000
# then: from the highest fecha_modificacion you stored
.../ventas?modificado_desde=2026-10-07%2009:15:00&limite=1000
- Format:
YYYY-MM-DDorYYYY-MM-DD HH:MM:SS, in Cianbox time.modificado_desdeincludes that instant; a bare date inmodificado_hastaincludes the whole day. A malformed date, or adesdelater thanhasta, returns400. fecha_modificacionon every row (date and time;nullif your account does not record it yet). Store the highest one you saw and ask for the next sync from there: a record modified in that same second comes back again, but none is lost.- No default range: with these filters and without
fecha_desde/fecha_hasta, the current month is not applied — an old document modified today shows up. If you send dates, they are honored. - Deleted records: the row comes with
"estado": "eliminado"and amounts at 0 (no payment status, conversion or due date). Identify it byidand delete your copy. Without these filters, deleted records never show up. - Voided records: with these filters they are included by default
(voiding is also a change);
incluir_anulados=falseleaves them out. - Totals: still count only what is current, so a page may bring more rows
than
totales.cantidad. Keep going untilsiguiente_cursorisnull. - The first time, everything: records older than the moment Cianbox began recording the date carry that day; the first sync must be a full one.
- Rows without visible changes may appear: any internal update in Cianbox moves the date (for example, a customer's balance).
| Listing | Details |
|---|---|
/ventas, /cobros, /pagos, /pedidos |
With deleted and voided records |
/compras, /presupuestos |
With deleted records (they cannot be voided) |
/valores (checks), /reportes/listado-remitos-ventas, /reportes/listado-remitos-internos |
With deleted and voided records |
/movimientos_bancarios, /asientos, /abonos, /ml_ventas, /reportes/listado-remitos-compras, /reportes/listado-ordenes-compra, /reportes/listado-planes-pago |
With deleted records |
/ventas/items, /compras/items, /presupuestos/items, /pedidos/items |
The items of documents modified or with a modified item: replace all items of every document that shows up |
/reportes/listado-cupones, /reportes/listado-liquidaciones-tarjetas |
A voucher from a deleted or voided sale or receipt comes as eliminado; every settlement carries estado |
/reportes/listado-cuotas-clientes, /reportes/listado-cuotas-proveedores |
Also the installments that stopped being pending: "estado": "saldada" or "eliminada" (the latter with amounts at 0). Identify them by id_ctacte. Totals are still the pending debt |
/clientes, /proveedores, /marcas, /categorias |
With these filters, inactive records are included by default ("estado": "no_vigente"); incluir_no_vigentes=false leaves them out |
/productos |
The same, and a product is included if its card, its stock (or a variant's) or any of its prices changed. Not available yet: it turns on by itself once Cianbox records the date of the stock per branch; until then these filters return 400 and fecha_modificacion is null |
Delivery notes also come back when their invoicing changed (they were
invoiced, or the sale or purchase that invoiced them was deleted), with the
most recent date. Service orders do not record the date yet: /services
with these filters returns 400. If an account does not record the date of
a table yet, the listing works as usual (with fecha_modificacion as
null) and both filters return 400 with the reason.
What does not move the date (Cianbox stores it elsewhere): delivering a sale with a later delivery note, marking a delivery note as invoiced or not pending, and order reservations. If your copy shows those statuses, refresh them with another query.