Calculate statutory late payment interest
calculate_late_interestCalculates the statutory minimum interest on a late business payment. Euro area: ECB main refinancing rate on 1 January / 1 July of each half-year plus 8 percentage points, split by half-year, plus a fixed 40 EUR compensation (Directive 2011/7/EU); the ECB rate is loaded live. Sweden (SEK), Denmark (DKK), Poland (PLN) and Czechia (CZK): the national reference rate plus 8 points (Poland: 10) and the national fixed compensation (SEK 450, DKK 310, EUR 40/70/100 in PLN, at least CZK 1,200); in Czechia one rate for the whole delay. Switzerland: 5 % per year (Art. 104 OR). Hungary and Romania are not supported. Returns the formula, the rate for each period and the amounts. Contracts and national laws can differ.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount": "<amount>",
"due_date": "<due_date>",
"country": "<country>"
},
"name": "calculate_late_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The overdue amount in the national currency: EUR (euro area), SEK, DKK, PLN, CZK or CHF. | |
| country | Yes | Two-letter code of the country whose law applies, e.g. DE, SK, CH. | |
| currency | No | Optional currency code; default the national currency (EUR in the euro area, SEK, DKK, PLN, CZK, CHF). | |
| due_date | Yes | Due date of the invoice, YYYY-MM-DD. Interest runs from the next day. | |
| payment_date | No | Date of payment, YYYY-MM-DD. Default: today. | |
| with_receipt | No | Optional, default false. Set true only when the user asks for a signed receipt of this check for their files. |