GetbeelDocs
Riferimento APIBank reconciliation

Retrieve a bank statement with its balances

GET
/bank-statements/{id}

Autorizzazione

apiKey
headerAuthorizationBearer <token>

API key: gb_test_… or gb_live_…

id*string
Getbeel-Company?string

Act 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.

Formatuuid

Corpo della risposta

OK

application/json
  1. response
object*string
id*string
file_name*string
mime_type*string
source*string

upload: 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).

Value in"upload""open_banking"
file_size*|null
status*string

pending → processing → parsed → matching → review (parsed and matched; matches wait for review) → completed (marked done in the app). failed: see error_message.

Value in"pending""processing""parsed""matching""review""completed""failed"
error_message*string|null
bank_name*string|null
account_number_last4*string|null
currency*string
period_start*|null
period_end*|null
transactions*
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
Match^(?:(?:\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))$
Formatdate-time
processed_at*|null
completed_at*|null
Esempio di richiesta
curl -X GET 'https://www.getbeel.com/api/v1/bank-statements/string'
Esempio di risposta
{  "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"}