Skip to main content

Delete a bank statement

DELETE 

/api/v1/bank_statements/:id

Deletes the statement and its stored file. Allowed only BEFORE commit, and committed is where that boundary sits - NOT reconciliation. committed turns true as soon as the extraction persists operations - the LINES, which land before operations_count is written - so read it before calling: a statement reporting committed: true is refused whatever its state. In practice this endpoint cancels an import that produced nothing - a statement still at committed: false, in any state. An archived statement is refused too. The body is the statement as it stood when you asked for it to go - serialized before the delete, because afterwards its file no longer exists to describe.

Request​

Responses​

The statement was deleted, and is returned as it last stood.