Calculate MSMED late-payment interest
calculate_msmed_interestCalculate the interest a buyer owes a micro or small enterprise (Udyam-registered supplier) for paying late, under Section 16 of India's MSMED Act: three times the RBI Bank Rate (17.25% a year as of 7 Oct 2026), compounded monthly, from the day after the payment deadline (the agreed credit period, at most 45 days). Exact to the paisa.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Unpaid invoice amount in rupees. | |
| paid_on | No | Payment date, YYYY-MM-DD. Leave out to count up to today. | |
| credit_days | No | Agreed credit period in days (default 45; the Act caps it at 45). | |
| invoice_date | Yes | Date the goods or services were accepted, YYYY-MM-DD (use the invoice date if unsure). |