Calculation of the "Storno" operation
When using kernel methods to reverse a transaction, you must:
1.initialize the Storno operation.
-> 2. perform calculating the "Storno" operation .
Insert the result obtained in the previous step into the request body. To calculate the "Reverse" operation, the value 101026 (Reverse) must be passed in the "actionTypeId" parameter, the value 101173 (Empty) in the paymentTypeId, and in the totalAmount field, a value equal to the amount to be reversed (see also the description of the parameters). p>
- and then save the "Reverse" operation calculated in the previous step
Request Body
Operations ledger movements (common fields for display and storage)
Transaction amount
Tranche start date in YYYY-MM-DD format
"date"Tranche end date in YYYY-MM-DD format
"date"Action sign (0, +, Receipt (Credit)) / (1, -, Expense (Debit))
"int32"Id of the Contract
"int64"Date of operation in unix timestamp format in milliseconds
"date-time"id
"int64"Behind the balance
Id Storage locations
"int64"Amount
Calculated interest in foreign currency
"double"Calculated interest in national currency
"double"Responses
OK
Id Type of movement
"int64"Movement
An indication that the operation was created by DDS auto-acceptance
Id of the type of movement of the deposit
"int64"Pledge Id
"int64"Id of the Contract
"int64"date
"date-time"Document id
"int64"Document type
DDSa Id (for accepting transactions)
"int64"Id
"int64"Behind the balance
Id of the type of payment
"int64"Actual creation date of the operation
"date-time"Pledge movements
Id Storage locations
"int64"Time in milliseconds
"int64"Amount
Id of the user who created the operation
"int32""error""ok""int64"