calc_claim
Calculate statutory late-payment interest (per half-year period), the fixed compensation for recovery costs and the total for an unpaid EU B2B invoice. Each number comes with its legal reference.
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>",
"invoiceDate": "<invoiceDate>",
"creditorCountry": "<creditorCountry>",
"debtorCountry": "<debtorCountry>"
},
"name": "calc_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | No | ||
| iban | No | ||
| amount | Yes | Invoice amount (principal) in EUR | |
| dueDate | No | YYYY-MM-DD, or null/"none" if no payment term was agreed (then 30 days after receipt) | |
| calcDate | No | YYYY-MM-DD, default today | |
| currency | No | EUR | |
| debtorVat | No | ||
| debtorName | No | ||
| debtorType | No | company | |
| eurPlnRate | No | Only for Polish law: NBP EUR/PLN average rate (last working day of the month before the due month) | |
| lawCountry | No | Country whose late-payment law applies (default: creditorCountry) | |
| senderName | No | ||
| creditorVat | No | ||
| debtorEmail | No | ||
| invoiceDate | Yes | YYYY-MM-DD | |
| receiptDate | No | YYYY-MM-DD, date the debtor received the invoice (only used when there is no due date) | |
| creditorName | No | ||
| accountHolder | No | ||
| debtorAddress | No | ||
| debtorCountry | Yes | EU country code, e.g. DE | |
| invoiceNumber | No | ||
| creditorAddress | No | ||
| creditorCountry | Yes | EU country code, e.g. EE | |
| paymentReference | No |