oblicz_odsetki
Calculate statutory or commercial (B2B) late-payment interest, broken down by NBP reference-rate periods.
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": {
"kwota": "<kwota>",
"dataOd": "<dataOd>",
"dataDo": "<dataDo>",
"typ": "<typ>"
},
"name": "oblicz_odsetki"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typ | Yes | kc = statutory late-payment interest (Civil Code art. 481, NBP reference rate + 5.5 pp); h10 = commercial B2B transactions, non-public debtor (NBP reference rate on 1 Jan / 1 Jul + 10 pp); h8 = commercial transactions, public healthcare debtor (NBP reference rate on 1 Jan / 1 Jul + 8 pp). | |
| kwota | Yes | Overdue amount in PLN. | |
| dataDo | Yes | Actual payment date, format YYYY-MM-DD. | |
| dataOd | Yes | Payment due date, format YYYY-MM-DD. |