Listado de movimientos de caja de una cuenta bancaria
accounting:banks.readhttps://api.holded.com/api/v2/treasury/accounts/{id}/cash-movementsListado de movimientos de caja de una cuenta bancaria
Parámetros
Parámetros de ruta
stringobligatorioIdentificador de la cuenta de tesorería
Parámetros de consulta
stringopcionalCursor opaco devuelto por la página anterior
integeropcional= 50Número máximo de movimientos por página. Por defecto 50, máximo 200
string<date>opcionalLímite inferior inclusivo de la fecha contable del movimiento (ISO 8601)
string<date>opcionalLímite superior inclusivo de la fecha contable del movimiento (ISO 8601)
Petición
import requests
url = "https://api.holded.com/api/v2/treasury/accounts/507f1f77bcf86cd799439011/cash-movements?cursor=value&limit=50&start_date=2026-01-01"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Respuestas
Respuesta
{
"items": [
{
"id": "507f1f77bcf86cd799439011",
"bankingAccountId": "507f1f77bcf86cd799439012",
"date": "2024-01-15T10:30:00Z",
"description": "string",
"amount": "150.00",
"currency": "EUR",
"accountingAccountNumber": 57000001,
"sign": "in",
"entryNumber": 42,
"entryType": "opening"
}
],
"cursor": "string",
"has_more": false
}Respuestas exitosas
200Listado de movimientos de cajaapplication/jsonUnique identifier of the ledger entry
Identifier of the cash banking account this movement belongs to
Accounting date of the ledger entry as an ISO 8601 timestamp
Description of the movement. Null when the entry has no description set (common for auto-generated movements such as payment-linked entries).
Movement amount (debit minus credit) in the cash account currency. Positive for cash-in, negative for cash-out. Decimal as string.
ISO 4217 currency code of the cash account
PGC accounting account number linked to the cash register (e.g. 570xxxxx for caja)
Direction of the movement: 'in' for cash received (positive amount), 'out' for cash paid (negative amount). Zero-amount entries (e.g. reclassifications) are reported as 'in' by convention.
inoutAccounting entry group number (asiento contable). Null for automatically generated entries.
Identifier of the source document or accounting operation that produced this ledger entry. 'opening' and 'closing' are special markers for the opening-balance and year-end closing entries; all other values name the originating document (invoice, payment, expense, salesreceipt, etc.).
amortizationregplopeningclosingentrysalesreceiptreceiptnotetransactioncollectpurchaseinvoiceexpensepaymentrecordpayrollpurchaserefundcreditnoteprorata_regularizationvat_regularizationpurchaseshipmentRespuestas de error
401API key inválida o no proporcionadaapplication/json403Permisos insuficientesapplication/json404Cuenta bancaria no encontradaapplication/json429Límite de solicitudes excedidoapplication/json