Mehrieh at today's value (مهریه به نرخ روز)
calculate_mehriehValue a mehrieh at today's prices: a sum in ریال indexed from the year of the marriage to the year of the claim, or a number of gold coins at their current price. Call it for any question about what a mehrieh is worth now, and never work the figure out yourself. 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 ریال. |