محاسبهٔ خسارت تأخیر تأدیه — Calculate late-payment damages
calculate_delay_penaltyCalculate خسارت تأخیر تأدیه under art. 522 ق.آ.د.م using the Central Bank price index. The index series is official data — never approximate it. Dates are Jalali.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_year | Yes | Jalali year of calculation/payment. | |
| end_month | No | Jalali end month 1–12 (optional). | |
| principal | Yes | Principal debt amount. | |
| start_year | Yes | Jalali year the debt fell due. | |
| start_month | No | Jalali start month 1–12 (optional). | |
| principal_unit | No | Unit of the principal (default Toman). |