Cianbox API Castellano Request an API key

Pagos (Supplier payments)

Payment orders to suppliers: who got paid, when, how much and through which means. The other half of reconciliation: what left the cash register or the bank.

GET /v1/{cuenta}/pagos is Cianbox's listing: payment orders from most recent to oldest, with the same names and values as the full document, paginated by cursor — the same contract as customer receipts. The full content —which purchases or payment plans it settled, each check, transfer or withholding, and the supplier's balance— is fetched by id: GET /pagos/{id} returns exactly the same as GET /documentos/pago/{id}.

Example

curl -H "X-API-Key: YOUR_KEY" \
  "https://api.cianbox.uno/v1/YOUR_ACCOUNT/pagos?fecha_desde=2026-08-01&fecha_hasta=2026-08-31&limite=1"
{
  "status": "ok", "module": "reporte:listado_pagos", "count": 2, "units_charged": 3,
  "body": {
    "listado_pagos": {
      "parametros": {"fecha_desde": "2026-08-01", "fecha_hasta": "2026-08-31",
                     "separar_por_moneda": false, "limite": 1},
      "conversion": {"moneda": "ARS", "criterio": "cotizacion_de_cada_comprobante",
                     "comprobantes_convertidos": 0, "comprobantes_sin_cotizacion": 0},
      "totales": [{"moneda": "ARS", "cantidad": 97, "total_pagado": 30572759.05}],
      "pagos": [
        {
          "id": 10456,
          "comprobante": {"tipo": "Orden de Pago", "letra": "X", "punto_venta": 1, "numero": 3491,
                          "numero_completo": "Orden de Pago X 0001-00003491",
                          "contribuyente": {"id": 0, "razon_social": "My Company S.A.",
                                            "cuit": "30-71234567-8", "condicion_iva": "Responsable Inscripto"}},
          "fecha": "2026-08-24",
          "usuario_carga": {"id": 20, "nombre": "Pablo"},
          "proveedor": {"id": 1135, "nombre": "Insumos del Centro S.R.L.",
                        "cuit": "30-87654321-9", "condicion_iva": "Responsable Inscripto"},
          "sucursal": {"id": 6, "nombre": "Warehouse"},
          "moneda": "ARS",
          "total_pagado": 2800000.0,
          "total_no_imputado": 0.0,
          "medios_pago": {"totales": {"efectivo": 0.0, "cheques": 0.0, "tarjetas": 0.0,
                                      "transferencias": 2800000.0, "retenciones": 0.0, "total": 2800000.0}},
          "tipo": "pago_imputado",
          "observaciones": "Invoice 45170",
          "estado": "vigente"
        }
      ],
      "paginacion": {"limite": 1, "siguiente_cursor": "2026-08-24:10456", "hay_mas": true}
    }
  }
}

What each row brings

Field What it is
id The payment's id, to request GET /pagos/{id}
comprobante Payment order type, letter, point of sale and number, already assembled, plus the contribuyente
fecha The payment date
usuario_carga Who entered the payment ({id, nombre}): a payment has no salesperson
proveedor The same object as in the document: {id, nombre, cuit, condicion_iva}
sucursal {id, nombre} or null
moneda ISO code
total_pagado Amount paid, in that currency; 0 if voided
total_no_imputado What remained on account with the supplier — only with the accounts-payable permission
medios_pago.totales Cash, checks, cards, transfers, withholdings and total, positive (the cash register stores them negative); null without a cash movement, 0 if voided
tipo "anticipo", "pago_parcialmente_imputado", "pago_imputado" or "devolucion" (a negative payment: money the supplier returned); null if voided — only with the accounts-payable permission
observaciones The text entered on the payment order
estado "vigente" or "anulado"

Filters

Filter What it does
fecha_desde, fecha_hasta YYYY-MM-DD. With neither: the current month
id_proveedor, id_sucursal, id_usuario, id_punto_venta, id_contribuyente An id or a comma-separated list (id_usuario is who entered it)
numero The payment order number, from any point of sale
importe_desde, importe_hasta On the amount paid; dot or comma decimal
moneda ISO code, as loaded
tipo_pago anticipo, pago_parcialmente_imputado, pago_imputado or devolucion — requires the accounts-payable permission, otherwise 403
incluir_anulados true to list voided ones (amounts 0, never added up)
limite Rows per page: 50 by default, up to 1000
separar_por_moneda true for totales per currency, unconverted

Up to 12 months per query, unless you filter by id_proveedor or numero (no dates: the whole history). Any other filter returns 400 filtro_invalido. Paginate with ?cursor=.

Permissions

The listing requires reading pagos (category Cash, receipts and payments) and, like the payment document, proveedores and compras: so every payment in the listing can be opened by id. tipo, total_no_imputado and the tipo_pago filter also require the accounts-payable permission (ctacte): without it, rows come without those two fields and filtering by tipo_pago returns 403 scope_ctacte_proveedores_requerido.

How it's billed

By the payments on the page plus the totales of the filtered set; count is that figure.

Full document

.../pagos/10456

All document types, their permissions and how they're billed: Full documents.

Incremental sync

modificado_desde and modificado_hasta (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS) return only what changed in that range, without the default date range and including deleted records: the payment comes with "estado": "eliminado" and amounts at 0 when deleted, so you can remove your copy, and voided ones are included unless incluir_anulados=false. Every row carries fecha_modificacion; totales count only current records. Step by step: Reports → incremental sync.

.../pagos?modificado_desde=2026-10-07%2009:15:00&limite=1000

Reference

Generated from the API's own schema, so it always reflects the real state.

Available fields

comprobanteestadofechaidmedios_pagomonedaobservacionesproveedorsucursaltipototal_no_imputadototal_pagadousuario_carga

Can be filtered by

fecha_desdefecha_hastaid_contribuyenteid_proveedorid_punto_ventaid_sucursalid_usuarioimporte_desdeimporte_hastaincluir_anuladosmodificado_desdemodificado_hastamonedanumerotipo_pago

Can be sorted by

—

Use a hyphen and a direction: orden=fecha-desc, orden=id-asc. An orden the resource does not recognise — including the field:desc form, which belongs to raw tables — raises no error: you get the default order back. If the order matters, check the first row.

Text search looks at

—

Date field (for desde/hasta)

fecha

Limits

Own rate limit300 req/min
Max range per query366 days
Max pagination depth50,000 skipped rows
Rows per pageup to 200

Code examples

curl -H "X-API-Key: TU_KEY" \
  "https://api.cianbox.uno/v1/TU_CUENTA/pagos?limit=50"
import requests

r = requests.get(
    "https://api.cianbox.uno/v1/TU_CUENTA/pagos",
    headers={"X-API-Key": "TU_KEY"},
    params={"limit": 50},
    timeout=30,
)
r.raise_for_status()
for fila in r.json()["body"]:
    print(fila)
const r = await fetch(
  "https://api.cianbox.uno/v1/TU_CUENTA/pagos?limit=50",
  { headers: { "X-API-Key": "TU_KEY" } }
);
if (!r.ok) throw new Error(`HTTP ${r.status}`);
const { body } = await r.json();
console.log(body);