Api Delete Bank Statement
Delete a statement and its movements (child-first).
This is what makes the file-hash idempotency safe: without a way to remove a statement, a file imported by mistake — or under the wrong account — could never be re-imported.
The gate is conditional rather than a blanket admin dependency. A statement with no invoice links is fully recoverable by re-importing the file, so anyone who may import may also delete one — the previous admin-only rule left ordinary users stuck with their own mistake. A statement WITH links is bulk-destructive (deleting it frees invoices that were matched), so it needs a company admin who passed force after being shown the affected invoices.
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/bank_statements/{statement_id}
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Path parameters
Query parameters
Headers
Response
Successful Response
Changes
No recorded changes to this operation across all 21 revisions of this API.