Perform
[POST] .../v1/docaccountmovement/perform
Posts an account transfer document. Post an account transfer document so it affects account movement state. The request requires the account movement perform permission and the finance account movement tariff option; id is required, the document must exist, must not already be posted, must not be marked for deletion and must not be deleted. If overdraft is disabled by ACCOUNTS_ALLOW_OVERDRAFT, the method checks the sender account balance for the document firm and date before setting performed = true. Errors such as missing body, invalid id, denied access, disabled tariff option, document not found, already posted state, deletion mark, insufficient sender balance, 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
}
}