Delete

[POST] .../v1/docaccountmovement/delete

Deletes an account transfer document. Final-delete an account transfer document after it has already been marked for deletion with DocAccountMovement/DeleteMark. The request requires the account movement delete permission and the finance account movement tariff option; id is required, the document must exist, must not be posted, must not already be deleted and must have deleted_mark = true. The method sets the internal deleted flag and webhook; callers should use DocAccountMovement/Get to verify performed and deleted_mark state before deletion. Errors such as missing body, invalid id, denied access, disabled tariff option, document not found, already posted document, missing deletion mark, no affected row, storage errors are returned as HTTP 200 ErrorResult.

Request Parameters

Name Type Required Description
id Int64 Required Required account movement document ID.

Request Example

{
  "id": 31
}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result Update Update operation result.

Response Example

{
  "ok": true,
  "result": {
    "row_affected": 1
  }
}