Banking

Change an uploaded statement

Changes the month or replaces the file on an adopted uploaded statement. File replacement queues fresh OCR. change_period also files an upload waiting for review (see /statement-intakes): it is adopted in the chosen month and coverage is checked again. A review upload with no account needs bankAccountId or chartAccountId; only review uploads may change account. The chosen month stands over the printed closing month. One statement is kept per account and month; an occupied month returns 409.

patch/bank-statements/{statementId}

Request

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

Path parameters

statementIdstring uuid required

Bank statement UUID

Request body

OR

Response

Statement changed

Changes

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