POST
Create one or multiple manual bank movements
Scope:
accounting:banks.writehttps://api.holded.com/api/v2/treasury/accounts/{bankingAccountId}/bank-movementsCreates one or multiple manual bank movements on a banking account. Pass a single JSON object to create one movement, or a JSON array (up to 100 items) to create movements in bulk. All items are validated upfront; if any fails validation, nothing is created. Movements are created with `origin: manual` and a `pending` reconciliation status, ready to be matched against documents via the `/match` endpoint. Holded Wallet accounts are not supported by this endpoint.
Parameters
Path parameters
bankingAccountId
stringrequiredBanking account identifier
Request body
object
Request
python
import requests
url = "https://api.holded.com/api/v2/treasury/accounts/507f1f77bcf86cd799439011/bank-movements"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
payload = {}
response = requests.post(url, headers=headers, json=payload)
print(response.json())Responses
Response
json
{
"id": "507f1f77bcf86cd799439011"
}Success responses
201Bank movement(s) created. Returns {"id":"..."} for a single movement and {"ids":["...",...]} for bulk.application/jsonobject
idstring
Error responses
400Bad requestapplication/json401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Banking account not foundapplication/json422Validation errorapplication/json429Rate limit exceededapplication/json