Mehrieh at today's value (مهریه به نرخ روز)
calculate_mehriehValue a mehrieh (مهریه) at today's prices: a sum in rial indexed by the Central Bank's annual price index from the year of the marriage to the year of the claim (note to article 1082 of the Civil Code), or a number of gold coins at their latest recorded price. Use it when the question is what a mehrieh is worth now; for damages on an ordinary debt use calculate_late_payment, and for the coin price alone get_reference_rates. Returns the figure, its breakdown, the index or price used with its date, and the legal basis. Amounts in rial; dates in the Jalali calendar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | «وجه رایج» — a sum of money — or «سکه». Coins are not indexed; they are valued at the day's price. | |
| coin_type | No | sekee is سکهٔ تمام امامی and is what courts usually take; sekeb is سکهٔ تمام بهار آزادی. | |
| claim_year | No | Jalali year of the claim; this year when they do not say. Where the mehrieh is paid out of a deceased husband's estate, the year of the death instead. | |
| coin_count | No | How many full coins the عقدنامه names. | |
| marriage_year | No | Jalali year the marriage was contracted. | |
| already_paid_rial | No | What has already been paid, in ریال. | |
| contract_amount_rial | No | The sum written in the عقدنامه, in ریال. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The result, in Persian, as it should be quoted. | |
| links | Yes | The dadrasai.com pages the result cites, in order. |