Skip to main content
POST
Revert a completed operation (contraasiento)

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

id
integer
required

Completed operation ID to revert

Body

application/json
description
string

Optional extra text appended to each contraasiento description

Response

Operation reverted with counterpart transactions

operation_id
integer

Original operation ID (unchanged)

counterpart_operation_id
integer

Operation that holds the inverse legs. Dashboard contraasiento posts those legs on the same operation, so this equals operation_id.

counterpart_transaction_ids
integer[]

IDs of the newly inserted inverse transactions

adjusted_transaction_ids
integer[]

Original transaction IDs now marked adjusted

adjusted_transactions
integer

Number of original transactions marked adjusted

message
string