Recovery of Debt in the Past Period by the Current Date
Recovery of Debt in the Past Period.
The "Recovery" operation is performed to return payment amounts from the past period.
The procedure is described using the example of a contract where the borrower pays regularly, but suddenly some penalties are mistakenly charged, and in the next monthly payment, the payment amount is distributed to cover the penalty first, then to interest, and there is not enough left for the principal, consequently overdue debt arises. The client knows nothing about this. The month ends, you close the period, pay taxes, and suddenly it turns out that there was an error in the already closed period that needs to be corrected. In a closed period, you cannot delete an operation or correct anything, since there has already been an export to 1C. This is what the recovery adjustment is for. It is performed on the current date, or you can roll back to the 1st day of the month following the closure.
1.Adjustments => "Recovery".
Select the date range from 01.06.2018 to 20.05.2018
Click the "Recover" button. For this period, repayment operations, prepayments, and prepayment offsets are rolled back (everything that reduces the debt).

This process rolls back all repayments to the date you specify, that is, to the date of the payment that was incorrectly distributed. In automatic mode, the system restores the debt that existed on the payment date.
Then you can, for example, write off or reverse penalties, i.e., adjust the balance as needed.
2. Adjustments => "Write-off" Operation
Set
Date - 01.06.2018
Amount Type - penalty on principal
Payment - empty
Amount - 18.09
By clicking the recalculate button, the required tranche from which this penalty can be written off is automatically pulled up. Click the "Create Operation" button. Write off penalties both on-balance and off-balance (if any).

If necessary, repeat the same for the off-balance penalty. In this case, you need to check the box in the "Off-balance" field.
3. Adjustments => "Repayment Reaccept" Operation.
The repayment reaccept operation processes repayment of principal and interest separately, i.e., without deleting the cash flow, we distribute the amount as needed, but on the current date.
Set
Date - 01.06.2016
Amount Type - interest
Payment - empty
Amount - 123.30
By clicking the "Recalculate" button, the required tranche is automatically pulled up. Click the "Create Operation" button.

And after that, we perform the repayment reaccept operation for the principal amount:
Set
Date - 01.06.2016
Amount Type - principal
Payment - empty
Amount - 361.78 (the principal debt amount on the payment date)

We have restored the debt and repaid it as it should have been done.
When recovering, it is mandatory to perform the repayment reaccept operation for the payment amount, not less and not more.
After all the actions performed, the following information can be seen in the detailed breakdown by operations:
