Llistat de moviments d'un compte bancari
accounting:banks.readhttps://api.holded.com/api/v2/treasury/accounts/{id}/bank-movementsLlistat de moviments d'un compte bancari
Paràmetres
Paràmetres de ruta
stringobligatoriIdentificador del compte de tresoreria
Paràmetres de consulta
stringopcionalCursor opac retornat per la pàgina anterior
integeropcional= 50Nombre màxim de moviments per pàgina. Per defecte 50, màxim 200
string<date>opcionalLímit inferior inclusiu de la data valor del moviment (ISO 8601)
string<date>opcionalLímit superior inclusiu de la data valor del moviment (ISO 8601)
string[]opcionalLlista separada per comes d'estats de conciliació a filtrar: 'pending', 'reconciled', 'partial', 'forced_reconciled'
Petició
import requests
url = "https://api.holded.com/api/v2/treasury/accounts/507f1f77bcf86cd799439011/bank-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())Respostes
Resposta
{
"items": [
{
"id": "507f1f77bcf86cd799439011",
"banking_account_id": "507f1f77bcf86cd799439012",
"description": "string",
"note": "string",
"amount": "1500.00",
"currency": "EUR",
"balance": "12345.67",
"accounting_amount": "1500.00",
"accounting_currency": "EUR",
"booking_date": "2024-01-15T10:30:00Z",
"value_date": "2024-01-15T10:30:00Z",
"status": "reconciled",
"reconciled_amount": "1500.00",
"origin": "manual",
"flagged_at": "2024-01-15T10:30:00Z"
}
],
"cursor": "string",
"has_more": false
}Respostes exitoses
200Llistat de moviments bancarisapplication/jsonUnique identifier of the bank movement
Identifier of the banking account this movement belongs to
Description of the movement as reported by the bank
Manual annotation added by the user
Movement amount in the banking account currency. Decimal as string; precision matches the currency (e.g. 2 decimals for EUR/USD, 3 for BHD/KWD).
ISO 4217 currency code of the banking account
Bank balance after the movement, in the banking account currency. Null if the bank did not report a balance
Movement amount converted to the company accounting currency. Null when the movement has no accounting money assigned (e.g. unreconciled foreign-currency entries).
ISO 4217 currency code of the company accounting currency. Null when the movement has no accounting money assigned.
Booking date — when the bank recorded the movement. ISO 8601 timestamp
Value date as ISO 8601 timestamp
Reconciliation status: 'pending' for not yet reconciled, 'reconciled' for fully matched against documents, 'partial' for partially matched, 'forced_reconciled' when manually marked as reconciled.
pendingreconciledpartialforced_reconciledAmount of the movement already reconciled against documents/transactions, in the banking account currency
Source of the movement (e.g. stripe, paypal, manual, holded).
ISO 8601 timestamp when the user manually flagged the movement. Null when not flagged.
Respostes d'error
401API key no vàlida o no proporcionadaapplication/json403Permisos insuficientsapplication/json404Compte bancari no trobatapplication/json429Límit de sol·licituds exceditapplication/json