Banking

Create an uploaded bank statement

Stores an already-uploaded statement file for one account and ending month. A duplicate account/month returns HTTP 409 with code statement_period_conflict.

post/bank-statements

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/bank-statements
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Request body

fileKeystring required
fileSizeinteger required
mimeTypestring required
bankAccountIdstring uuid required
periodYearinteger required
periodMonthinteger required

Response

Statement created and OCR queued

Changes

No recorded changes to this operation across all 5 revisions of this API.