Retrieve a bank statement with its balances
apiKeyAuthorizationBearer <token>API key: gb_test_… or gb_live_…
id*stringGetbeel-Company?stringAct on one of the account's client companies (its id from GET /companies) instead of the key's own account. 404 company_not_found when the key cannot act on it.
uuidOK
application/json- response
object*stringid*stringfile_name*stringmime_type*stringsource*stringupload: a file you uploaded. open_banking: synced from a bank connection (one statement per bank account and month, no file; new transactions are appended on each sync).
"upload""open_banking"file_size*|nullstatus*stringpending → processing → parsed → matching → review (parsed and matched; matches wait for review) → completed (marked done in the app). failed: see error_message.
"pending""processing""parsed""matching""review""completed""failed"error_message*string|nullbank_name*string|nullaccount_number_last4*string|nullcurrency*stringperiod_start*|nullperiod_end*|nulltransactions*balances?Only on GET /bank-statements/{id}. Derived from the running balances on the statement; null when the statement shows none or they do not add up.
created_at*string^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$date-timeprocessed_at*|nullcompleted_at*|nullcurl -X GET 'https://www.getbeel.com/api/v1/bank-statements/string'{ "object": "bank_statement", "id": "stmt_1761800000000_ab12cd3", "file_name": "string", "mime_type": "text/csv", "source": "upload", "file_size": -9007199254740991, "status": "pending", "error_message": "string", "bank_name": "string", "account_number_last4": "string", "currency": "EUR", "period_start": "2026-10-29", "period_end": "2026-10-29", "transactions": { "total": -9007199254740991, "debits": -9007199254740991, "matched": -9007199254740991, "unmatched": -9007199254740991 }, "balances": { "opening": "122.00", "closing": "122.00" }, "created_at": "2019-08-24T14:15:22Z", "processed_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z"}Upload a bank statement and reconcile it POST
Multipart `file` (PDF, CSV or TXT, or a bank file: CBI (Italian RH flat file), CAMT.053 (ISO 20022 XML) or MT940; up to 50 MB; export spreadsheets as CSV) with optional `currency`, or JSON `{ file_url }` for a public https file. Starts reading the statement and matching its payments to received invoices, like an upload in the app: CBI, CAMT.053 and MT940 files are recognised by their content and read exactly (no AI); PDF and CSV are read with AI. Answers 202 with status pending, then parsed (webhook bank_statement.parsed) and review (webhook reconciliation.completed). A movement already imported for the same bank account (the same file again, an overlapping period) is not saved again, and a movement already imported is not charged again: transactions.total counts the new movements this statement saved, and a file with nothing new ends with 0, not an error. A statement whose bank account is not recognised (no bank name or last 4 digits) saves every movement. Idempotency-Key is honoured (multipart uploads are identified by the file's SHA-256, name and currency). Request bodies are limited to about 4 MB by the hosting platform: send larger files with file_url. Live keys only (403 livemode_required with a test key): bank and connection data is real, there is no sandbox for it.
List bank transactions, newest first GET
Filter by statement, date range and reconciliation state (status).