Create a new item in the directory "Repayment order"
The method creates a new item in the directory "Repayment order".
Two repayment orders are marked as System (respectively, they cannot be edited or deleted):
Penalty, Interest, Principal (101201) - as it is used in the Repayment document (Penalties, Interest, Fixed Assets) All penalties, all interest, all principal (101207) - used as the default order for cases where the order is not specified ( for example, to pay off fees on deposit / share contracts) All other repayment orders can be edited / deleted.
Possible mistakes:
-
NO_REPAYMENT_SEQUENCE_RULES_ERROR - The rules for the redemption order are not filled
-
NO_REPAYMENT_SEQUENCE_TYPE_ERROR - The type of the redemption order rule is not specified
-
NO_REPAYMENT_SEQUENCE_RULE_STEPS_ERROR - Redemption order rule steps not completed
-
NO_STEP_AMOUNT_TYPE_ERROR - The amount type for the step is not specified
Request Body
Active
Name
Repayment rules
For overdue tranches only
Redemption rule identifier
"int64"Sequence number
"int32"Steps of repayment
"HORIZONTAL""VERTICAL"Responses
OK
The identifier of the created item of the "Invoices" lookup
"int64"If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned
"error""ok"Returns the date + time (kernel) in unix timestamp format in milliseconds
"int64"